A PHP package to simplify the generation of OpenAPI 3.0.3 specification documents. This package used to generate swagger documents, before OpenAPI became "the standard".
The specification for OpenAPI 3.0.3, which this package adheres to, is available online.
You may wish to install the swagger-cli tool in order to perform validation. One can install the tool with:
npm install -g @apidevtools/swagger-cli
Once the tool is installed, validate your document with:
swagger-cli validate /path/to/swagger.json