Sign inSign up

mohamedelhabib/openapi-examples-validator

By mohamedelhabib

•Updated about 6 years ago

Image
0

358

mohamedelhabib/openapi-examples-validator repository overview

⁠openapi-examples-validator

This is docker image to wrap the npm module openapi-examples-validator⁠

$ docker run --rm -i \
    --user=$(id -u) \
    -v ${PWD}:/data \
    openapi-examples-validator:latest \
    /data/openapi-spec-file.yml

If examples included into the openapi spec file are valid, you should have an output like the following, otherwise you should have a list of errors in a JSON format.

Validating examples
Schemas with examples found: 6
Examples without schema found: 0
Total examples found: 40

No errors found.

Tag summary

Content type

Image

Digest

Size

41.8 MB

Last updated

about 6 years ago

docker pull mohamedelhabib/openapi-examples-validator