Skip to content

Conversation

@timotheeguerin
Copy link
Member

fix #8781

@timotheeguerin timotheeguerin changed the title Openapi3 param default with $ref Fix Openapi3.0 param with $ref schema and default Jan 30, 2026
@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:openapi3 Issues for @typespec/openapi3 emitter label Jan 30, 2026
@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 30, 2026

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/openapi@9533
npm i https://pkg.pr.new/microsoft/typespec/@typespec/openapi3@9533

commit: e38a521

@github-actions
Copy link
Contributor

github-actions bot commented Jan 30, 2026

All changed packages have been documented.

  • @typespec/openapi3
Show changes

@typespec/openapi3 - fix ✏️

Fix parameters with default value resulting in $ref with default as sibling for OpenAPI 3.0

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jan 30, 2026

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

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]: Fix OpenAPI key/value generation for ENUMs with a default value

2 participants