A multi-platform Docker image for swagger-codegen-cli
(see repo).
See https://github.com/swagger-api/swagger-codegen#generators for a detailed description.
# assuming myschema.yml
# is located in /path/to/schema
docker run -it -v /path/to/schema:/app "parsertongue/swagger-codegen-cli:latest" generate -i /app/myschema.yml -l openapi
To build locally, ...
docker build -f Dockerfile -t "parsertongue/swagger-codegen-cli:latest" .