Docker image for Swagger CLI.
It allows you to validate Swagger files or bundle them into a combined file.
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
See https://github.com/APIDevTools/swagger-cli for further information.