forked from loafle/openapi-generator-original
* Revert "v7.11.0 release (#20508)" This reverts commit a7240eeefeedeefe7fc80ef22747dfc67e126324. * prepare 7.12.0 snapshot version * update samples * update readme
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());