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

Use allof when building nullable enum #4727

Merged

Conversation

timotheeguerin
Copy link
Member

@timotheeguerin timotheeguerin commented Oct 14, 2024

fix #4398

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:openapi3 Issues for @typespec/openapi3 emitter label Oct 14, 2024
@azure-sdk
Copy link
Collaborator

azure-sdk commented Oct 14, 2024

All changed packages have been documented.

  • @typespec/openapi3
Show changes

@typespec/openapi3 - fix ✏️

Nullable enum use allOf instead of oneOf

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@timotheeguerin timotheeguerin added this pull request to the merge queue Oct 31, 2024
Merged via the queue into microsoft:main with commit 151be7f Oct 31, 2024
22 checks passed
@timotheeguerin timotheeguerin deleted the fix/openapi3-nullable-enum-allof branch October 31, 2024 19:50
swatkatz pushed a commit to swatkatz/typespec that referenced this pull request Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:openapi3 Issues for @typespec/openapi3 emitter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Nullable Enums produce oneOf
4 participants