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
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,7 @@ This piece of middleware validates the parameters of incoming requests to make s
43
43
|optimistic_json| false | false | Will attempt to parse JSON in the request body even without a `Content-Type: application/json` before falling back to other options. |
44
44
|raise| false | false | Raise an exception on error instead of responding with a generic error body. |
45
45
|strict| false | false | Puts the middleware into strict mode, meaning that paths which are not defined in the schema will be responded to with a 404 instead of being run. |
46
+
|strict_query_params| not supported | false | Rejects requests with query parameters not defined in the schema. When enabled, any query parameter not explicitly defined in the OpenAPI specification will result in a 400 error. |
46
47
|strict_reference_validation| always false | false | Raises an exception (`OpenAPIParser::MissingReferenceError`) on middleware load if the provided schema file contains unresolvable references (`$ref:"#/something/not/here"`). Not supported on Hyper-schema parser. Defaults to `false` on OpenAPI3 but will default to `true` in next major version. |
47
48
|ignore_error| false | false | Validate and ignore result even if validation is error. So always return original data. |
0 commit comments