cebe / php-openapi

Read and write OpenAPI yaml/json files and make the content accessible in PHP objects.
MIT License
466 stars 88 forks source link

implement cli tool for validating against OpenAPI schema v3 #20

Closed cebe closed 5 years ago

cebe commented 5 years ago

OpenAPI v3 got a JSON Schema for validating OpenAPI 3 documents.

See https://github.com/OAI/OpenAPI-Specification/pull/1270 which is going to be merged into master soon via https://github.com/OAI/OpenAPI-Specification/pull/1897.

This adds a CLI tool for validating OpenAPI 3 documents against the JSON schema.

Bildschirmfoto von »2019-04-19 15-46-13«

This also improves handling of default values #19 and enables modifying and writing the schema #18.