Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 584 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 584 Bytes

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.