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 oneOf to JSON Schema #3557

Merged
merged 5 commits into from
Jun 11, 2024
Merged

Conversation

bterlson
Copy link
Member

Fix #3544.

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jun 11, 2024

All changed packages have been documented.

  • @typespec/json-schema
Show changes

@typespec/json-schema - feature ✏️

Add support for @OneOf decorator.

@azure-sdk
Copy link
Collaborator

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3557/

Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3557/

@bterlson bterlson enabled auto-merge June 11, 2024 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:json-schema feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add @oneOf decorator to JSON Schema emitter
3 participants