schema validation abort directly
See original GitHub issueschema validation abort directly
try: jsonschema.validate(data, main_def) except ValidationError as e: abort(Response(str(e), status=400))
should add option to only raise an exception and let the caller to handle it
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Schema Validation on Confluent Server
Schema Validation enables the broker to verify that data produced to a Kafka topic is using a valid schema ID in Schema Registry...
Read more >Unexpected schema validation error received using ... - IBM
When sending a request to a DataPower service that is defined with the XML or Non-XML request type, an unexpected schema validation error...
Read more >JOI validation is not returning all the errors despite setting ...
validate : { payload: Schema.NamePayload, },. I want postman to show all the error message not only the first error message. And I...
Read more >How to Fix Schema Validation Errors
The most common schema validation error is "either "offers", "review", or "aggregate rating" should be specified." Here's how to fix it.
Read more >Understanding schema errors | HESA
Schema errors prevent the validation being run in full because the file cannot be read. This means that errors cannot be traced to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@pint12 Yes, I originally planned for a minor 0.7.0 release but it will no longer be necessary I think. So 0.6.7 patch will be.
There is, though, a design flaw in @swag_from that I want to fix before releasing 0.6.7:
The same happens if you set a custom default validation_function to Swagger.
0.6.7 ?