Public Repository

Last pushed: 4 months ago
Short Description
The swagger validator web service
Full Description

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=...

Docker Pull Command
Owner
swaggerapi

Comments (0)