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
I am validating the request payload and header using the middleware. The validation is not happening when we have the required parameter as true for the header and query param.
For example, Header:
site: test
required: true queryparam:
filter: {}
required: false
In the above scenario, the validation happens if both are not present, Say if we have querparams the validation get bypassed
The text was updated successfully, but these errors were encountered:
Versions:
openapi-validator-middleware: 3.2.6
fastify: 3.28.0
node: 16.14.0
openapi: 3.0.1
Router: Fastify
I am validating the request payload and header using the middleware. The validation is not happening when we have the required parameter as true for the header and query param.
For example,
Header:
site: test
required: true
queryparam:
filter: {}
required: false
In the above scenario, the validation happens if both are not present, Say if we have querparams the validation get bypassed
The text was updated successfully, but these errors were encountered: