-
Notifications
You must be signed in to change notification settings - Fork 431
Open
Description
Background
Nakadi, our Zalando-internal event bus, recently started to reject event schemas using x-extensible-enum
. (As part of introducing a stricter schema validation.)
The team suggests to replace that by either enum
or examples
.
This leaves us with rule 112 being not supported anymore by our main event bus.
We discussed this today in the API guild meeting.
Planned Change
We'll deprecate the x-extensible-enum
schema property.
- Rule 112 will be changed to recommend using
examples
together with "Extensible enum" in the description, but we keep the definition here of whatx-extensible-enum
means, as a reference for people who find it in existing APIs. We also mention that it doesn't work in Nakadi. - Rules 107/108 will be adjusted, as well as 240, 209.
- Examples which use x-extensible-enum need to be adjusted.
Afterwards, Zally's rules also need to be adjusted.