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
Copy file name to clipboardExpand all lines: README.md
+32
Original file line number
Diff line number
Diff line change
@@ -1148,6 +1148,38 @@ function routesV2(app) {
1148
1148
1149
1149
module.exports = app;
1150
1150
```
1151
+
## Use OpenAPIValidator AJV out of express usage
1152
+
1153
+
You can get an AJV module as OpenAPIValidator generates it for express.
1154
+
Then you can use it for other usages such as websocket request validation...
1155
+
Instead of initialize OpenApiValidator with middleware, you can get a configured AJV object with all OpenApiValidator mecanisms (serdes...) and loaded schemas.
0 commit comments