You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Middlewares are an optional bit of logic to transform the given data at various lifecycle points.
4
+
5
+
### Path
6
+
7
+
To add a path middleware create a class that implements `\Vyuldashev\LaravelOpenApi\Contracts\PathMiddleware` then register it by referencing it in the `openapi.collections.default.middlewares.paths` config array like `MyPathMiddleware::class`
8
+
9
+
Available lifecycle points are:
10
+
-`before` - after collecting all `RouteInformation` but before processing them.
0 commit comments