Skip to content

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

@erosb

Description

@erosb

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.

Metadata

Metadata

Assignees

Labels

Status: AvailableNo one has claimed responsibility for resolving this issue.📝 DocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions