You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clin creates a valid json-schema from the yaml specs. In case the json-schema is not correct, fail fast and notify the user before (trying) to create/update an event-type in Nakadi.
This also allows for better error messages that hint the user to the actual error in the json-schema.
Actual Behavior
If the EventTypeSchema.schema is no valid json-schema, clin still posts to Nakadi and receives a 422 error.
Steps to Reproduce the Problem
define yaml schema for an event-type that requires another yaml (e.g. Location: "@@@./definitions/location.yaml")
remove the sub-schema linking
generate json with clin and post to Nakadi (clin apply -X -e production -t $(token) wrong.yaml )
Specifications
Version: 1.0.0
Platform: Mac OS 10.15.x
Subsystem: Python 3.7.7
The text was updated successfully, but these errors were encountered:
Expected Behavior
clin creates a valid json-schema from the yaml specs. In case the json-schema is not correct, fail fast and notify the user before (trying) to create/update an event-type in Nakadi.
This also allows for better error messages that hint the user to the actual error in the json-schema.
Actual Behavior
If the
EventTypeSchema.schema
is no valid json-schema, clin still posts to Nakadi and receives a422
error.Steps to Reproduce the Problem
Location: "@@@./definitions/location.yaml"
)clin apply -X -e production -t $(token) wrong.yaml
)Specifications
The text was updated successfully, but these errors were encountered: