Skip to content

Jean-Beru/docker-swagger-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swagger/OpenAPI CLI image

Docker image for Swagger CLI.

It allows you to validate Swagger files or bundle them into a combined file.

Use it

See help.

docker run --rm jeanberu/swagger-cli 

Validate schema from URL or a file.

docker run --rm jeanberu/swagger-cli swagger-cli validate YOUR_URL
docker run --rm -v $PWD/YOUR_FILE.yaml:/swagger.yaml jeanberu/swagger-cli swagger-cli validate swagger.yaml

More help ?

See https://github.com/APIDevTools/swagger-cli for further information.