This is an implementation of the OpenAPI specification using PHP attributes.
Currently, this implementation is compatible with OpenAPI 3.0.2 and requires PHP >= 8.1.
Install the library using Composer: composer require djairhogeuens/openapi-php
.
Find the full specification on the wiki of this repository including references to the PHP docs.
See the example
folder for an example on how to use the attributes in your project.