laravel-openapi
laravel-openapi copied to clipboard
Let's bring OpenAPI-driven routing, request and response validation to Laravel!
``` catch (ReflectionException $e) { throw OpenApiException::wrapPrevious($e->getMessage(), $e); } ``` WrapPrevious no longer exits.
The composer installed package still has `Reader::readFromYamlFile(config('openapi.spec'))` Which is somewhat behind and that key does not exist in the openapi.php In composer lock: ``` "name": "mdwheele/laravel-openapi", "version": "0.1.0", "source": {...
Currently, we hard-code the API prefix to be `/api`. This means that any specified Paths Object is prefixed with `/api` when registered with the framework. I kinda see 3 ways...
Currently, the library only supports exact matches of media-type for request body and response validation. To work as expected, we need to match an incoming request or outgoing response to...