mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 00:13:50 +00:00
* Revert "v7.16.0 release" This reverts commit 31299af0fcaafe6c3ab848320e230a00ce8ea9e5. * prepare 7.17.0-SNAPSHOT * update doc, samples
Requirements
PHP 8.1 and later
Installation & Usage
- Set up flight as usual - see Flight documentation
- Generate using the OpenAPI generator
- Subclass some/all generated
Abstract*Api
and overwrite the methods you'd like handled. When implementing the*Stream
methods, make sure to stream the response and not implement the non-stream method. - Register routes for your subclassed apis:
RegisterRoutes::registerRoutes(new MyApiHandler());