Skip to content

converter: handle nullable array schemas#8207

Merged
witemple-msft merged 5 commits intomicrosoft:mainfrom
witemple-msft:witemple-msft/openapi3-converter-nullable-array-schema
Aug 19, 2025
Merged

converter: handle nullable array schemas#8207
witemple-msft merged 5 commits intomicrosoft:mainfrom
witemple-msft:witemple-msft/openapi3-converter-nullable-array-schema

Conversation

@witemple-msft
Copy link
Copy Markdown
Member

possibly closes #8155

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Aug 15, 2025

All changed packages have been documented.

  • @typespec/openapi3
Show changes

@typespec/openapi3 - fix ✏️

Converter: fixed a bug that would cause nullable array schemas to generate as unions with only a null variant. These schemas now generate an array variant as well.

@azure-sdk
Copy link
Copy Markdown
Collaborator

azure-sdk commented Aug 15, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@witemple-msft witemple-msft added this pull request to the merge queue Aug 19, 2025
Merged via the queue into microsoft:main with commit 6538e55 Aug 19, 2025
26 checks passed
@witemple-msft witemple-msft deleted the witemple-msft/openapi3-converter-nullable-array-schema branch August 19, 2025 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: OpenAPI to TypeSpec conversion of arrays of inline enums lead to invalid TypeSpec

4 participants