Skip to content

clu-ling/docker-swagger-codegen-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Docker Pulls License

A multi-platform Docker image for swagger-codegen-cli (see repo).

Usage

See https://github.com/swagger-api/swagger-codegen#generators for a detailed description.

Convert OpenAPI YAML to OpenAPI JSON

# 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

Build

To build locally, ...

docker build -f Dockerfile -t "parsertongue/swagger-codegen-cli:latest" .

About

Multi-platform Docker image for swagger-codegen-cli

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published