Skip to content
New issue

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

fix: return 422 for Avro/JSONSchema when payload does not match schema #853

Merged

Conversation

jjaakola-aiven
Copy link
Contributor

About this change - What it does

Karapace returned 500 error for JSON payload that did not match JSON schema when serialization format was jsonschema.
Added an integration test which tests also Avro schema and payload.

@jjaakola-aiven jjaakola-aiven requested review from a team as code owners April 29, 2024 16:55
@jjaakola-aiven jjaakola-aiven force-pushed the jjaakola-aiven-rest-proxy-return-422-for-invalid-payload branch from 78b5fea to 0b8660a Compare April 29, 2024 17:24
@jjaakola-aiven jjaakola-aiven force-pushed the jjaakola-aiven-rest-proxy-return-422-for-invalid-payload branch from 0b8660a to 76cab2d Compare April 29, 2024 17:25
@tvainika tvainika merged commit ffad746 into main Apr 30, 2024
8 checks passed
@tvainika tvainika deleted the jjaakola-aiven-rest-proxy-return-422-for-invalid-payload branch April 30, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants