Sign inSign up

vidra/swagger-validator

By vidra

•Updated over 10 years ago

Validate your swagger spec with Docker

Image
0

432

vidra/swagger-validator repository overview

⁠Docker Swagger/OpenAPI validator

Validate your Swagger/OpenAPI spec file with docker

⁠Usage

docker run -it --rm -v /your/file/dir:/apis  vidra/swagger-validator:1.0.0 api.yaml
⁠Parameters
  • Replace /your/file/dir with your local directory where the api spec file is. If the file is in the current directory use ``-v $PWD:/apis`.
  • Replace API spec filename api.yaml with yours (optional).

⁠Why

Because you should enforce API consistency during tests/build.

⁠License

GPL v3

Tag summary

Content type

Image

Digest

Size

178.2 MB

Last updated

over 10 years ago

docker pull vidra/swagger-validator:1.0.0