programster / swagger
Package creating swagger documentation.
3.1.1
2024-01-22 17:28 UTC
Requires
- php: >=8.1.0
- ext-yaml: *
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
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.
Validation
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