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

tsp-openapi3 - fixes query decorator arg generation #4873

Merged
merged 4 commits into from
Oct 31, 2024

Conversation

chrisradek
Copy link
Member

Fixes #4298

Added tests for all the OpenAPI permutations of query params explode/style. This also updates tsp generation to be compatible with the change introduced in @typespec/http v0.59.1 where @query without params sets explode: false (previously it was not set - which assumed explode: true.)

@azure-sdk
Copy link
Collaborator

azure-sdk commented Oct 25, 2024

All changed packages have been documented.

  • @typespec/openapi3
Show changes

@typespec/openapi3 - fix ✏️

Updates tsp-openapi3 query decorator generation to use the value arguments.

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

@chrisradek chrisradek added this pull request to the merge queue Oct 31, 2024
Merged via the queue into microsoft:main with commit 012ec81 Oct 31, 2024
22 checks passed
@chrisradek chrisradek deleted the tsp-openapi3-fix-query-params branch October 31, 2024 19:49
swatkatz pushed a commit to swatkatz/typespec that referenced this pull request Nov 5, 2024
Fixes microsoft#4298 

Added tests for all the OpenAPI permutations of query params
explode/style. This also updates tsp generation to be compatible with
the change introduced in `@typespec/http` v0.59.1 where `@query` without
params sets `explode: false` (previously it was not set - which assumed
`explode: true`.)

---------

Co-authored-by: Christopher Radek <Christopher.Radek@microsoft.com>
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.

tsp-openapi3 - update query parameter transformations to support typespec 0.59 changes
3 participants