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

Add a task demonstrating substitution of enum with anyOf / oneOf #70

Open
erosb opened this issue Aug 22, 2024 · 0 comments
Open

Add a task demonstrating substitution of enum with anyOf / oneOf #70

erosb opened this issue Aug 22, 2024 · 0 comments
Labels
📝 Documentation Improvements or additions to documentation Status: Available No one has claimed responsibility for resolving this issue.

Comments

@erosb
Copy link
Collaborator

erosb commented Aug 22, 2024

Suggested by Sandrina Pereira on Slack:

You could show an alternative to enum in individual properties: the oneOf . It's useful when you want to describe each available option. Here's a demo.

@JeelRajodiya JeelRajodiya added the 📝 Documentation Improvements or additions to documentation label Aug 25, 2024
@JeelRajodiya JeelRajodiya added the Status: Available No one has claimed responsibility for resolving this issue. label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📝 Documentation Improvements or additions to documentation Status: Available No one has claimed responsibility for resolving this issue.
Projects
None yet
Development

No branches or pull requests

2 participants