Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.1 KB

OPENAPI3_SWAGGER.md

File metadata and controls

25 lines (18 loc) · 1.1 KB

OpenAPI 3 / Swagger

Tools

Swagger Codegen 3.X

For Go the types in pkg/openapi3/: oapi-codegen is used for generating them.

For other languages you may want to use: swaggerapi/swagger-codegen-cli-v3, for example for Ruby:

docker run --rm -v ${PWD}:/gen swaggerapi/swagger-codegen-cli-v3:3.0.25 generate \
  --verbose \
  --input-spec http://host.docker.internal:9234/openapi3.yaml \
  --lang ruby \
  --output /gen