We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to validate requests before sending to up-streams, for example:
header_data = { auth_header = {required, type = 'string'} } body_data = { payload_1 = {required, type = 'boolean'}, payload_2 = {optional} }
The text was updated successfully, but these errors were encountered:
@membphis can json-schema do this job?
Sorry, something went wrong.
json-schema is powerful enough for this feature.
json-schema
Thanks, I have created a request validator plugin using the JSON schema validator. Please do have a look.
Successfully merging a pull request may close this issue.
Issue description
I would like to validate requests before sending to up-streams, for example:
The text was updated successfully, but these errors were encountered: