| home | true | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| actionText | User Guide → | |||||||||||||||
| actionLink | /guide/ | |||||||||||||||
| features |
|
> composer require zircote/swagger-phpAdd swagger-php attributes (or legacy annotations) to your source code.
doctrine/annotations is going to be deprecated in the future, so wherever
possible attributes should be used.
<<< @/snippets/minimal_api_at.php
<<< @/snippets/minimal_api_an.php
> ./vendor/bin/openapi src -o openapi.yamlUse an OpenAPI tool like Swagger UI to explore and interact with your API.