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
Apache APISIX currently has a very high-performance jsonschema implementation that can be used to validate request parameters or request bodies.
When the verification succeeds or fails, the response specifies the response code to the requesting client.
Here is a mini case:
data_valitator = { var = "args_name", schema = { type = "string", minLength = 1, maxLength = 32, pattern = [[^[\w]+$]] }, fail_code = 400, } data_valitator = { var = "args_name", schema = { type = "string", minLength = 1, maxLength = 32, pattern = [[^[\w]+$]] }, succ_code = 200 }
The text was updated successfully, but these errors were encountered:
Is it support json schema v4 or v5?
Sorry, something went wrong.
succ_code = 200
I think we don't need succ_code
succ_code
support draft4, draft6 and draft7.
related PR: #1709
No branches or pull requests
Apache APISIX currently has a very high-performance jsonschema implementation that can be used to validate request parameters or request bodies.
When the verification succeeds or fails, the response specifies the response code to the requesting client.
Here is a mini case:
The text was updated successfully, but these errors were encountered: