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 · 2 comments
Open

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

erosb opened this issue Aug 22, 2024 · 2 comments
Assignees
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
@inclinedadarsh
Copy link

Hey @erosb
This seems to be like a good issue to start with.

I'd like to attempt it, please assign this to me.

Moreover, can you please share the link to the message from slack? I could continue the conversation there and ask for help as well.

Thank you!

@erosb
Copy link
Collaborator Author

erosb commented Dec 20, 2024

Hello @inclinedadarsh , assigned to you, good luck!
Looking forward for your PR!

The original slack message was this one: https://json-schema.slack.com/archives/C01UAR49N0M/p1724272634271699?thread_ts=1723650625.579489&cid=C01UAR49N0M

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

3 participants