mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 00:13:50 +00:00
* Revert "v7.15.0 release (#21792)" This reverts commit 2c816f89cbd6c4670aaf6e3387c88daadae6cbad. * prepare 7.15.0 release * update 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());