zalando / nakadi

A distributed event bus that implements a RESTful API abstraction on top of Kafka-like queues
https://nakadi.io
MIT License
957 stars 292 forks source link

Return client error on unknown meta schema #1544

Closed 1u0 closed 1 year ago

1u0 commented 1 year ago

Description

Change JSON event-type creation/validation to throw client error (422) instead of server error (5xx) on unsupported/unknown meta-schema URLs ("$schema": "..." in schema-JSON).

Review