OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
|
|
version: '3.6'
|
||
|
|
services:
|
||
|
|
service:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
target: service
|
||
|
|
ports:
|
||
|
|
- "8080:8080"
|
||
|
|
command: uvicorn openapi_server.main:app --host 0.0.0.0 --port 8080
|