Public Repository

Last pushed: a year ago
Short Description
Validate your swagger spec with Docker
Full Description

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

Docker Pull Command
Owner
vidra

Comments (0)