Generate interactive OpenAPI documentation for your RESTful API using doctrine annotations. Get Started → OpenAPI specification Compatible with the OpenAPI Specification version 3. formerly known as Swagger. Use @Annotations Write the documentation inside the php source files which helps to keep the documentation in sync.