forked from loafle/openapi-generator-original
* Revert "v7.7.0 release" This reverts commit f3dd32385e02065ad298801ca11b8871bcb3a92a. * prepare v7.8.0 * update readme * update doc * 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());