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

Support x-extensible-enum #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phfeustel
Copy link
Contributor

No description provided.

@nlohmann
Copy link
Owner

Sorry for not checking the PRs earlier. Do you have an example for this?

@phfeustel
Copy link
Contributor Author

x-extensible-enum is used just instead of a normal enum. The meaning is that you can extend the values in the enum without breaking the API contract. Therefore you show the API consumers that they have to deal with values popping up without notice.

The concept is borrowed from here: https://opensource.zalando.com/restful-api-guidelines/index.html#112

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