swaggerapi/swagger-validator

By swaggerapi

Updated over 6 years ago

The swagger validator web service

Image
33

1M+

swaggerapi/swagger-validator repository overview

Supported tags:
  • latest

For more information about this image and the functionality it provides, please see the swagger-codegen GitHub repository.

Usage

Expose port 8080 from the image and you can call the validator directly

You can override the mount point for the application like such:

SWAGGER_BASE_PATH=/validator
Example
docker pull swaggerapi/swagger-validator
docker run -d -p 80:8080 swaggerapi/swagger-validator

You can now access the validator on port 80:

http://localhost?url=http://petstore.swagger.io/v2/swagger.json

Note if you configure the SWAGGER_BASE_PATH, this path will change. For example, /validator will be accessible at http://localhost/validator?url=...

Tag summary

Content type

Image

Digest

Size

130.2 MB

Last updated

over 6 years ago

docker pull swaggerapi/swagger-validator:unstable