-
Notifications
You must be signed in to change notification settings - Fork 343
Closed
Labels
emitter:client:pythonIssue for the Python client emitter: @typespec/http-client-pythonIssue for the Python client emitter: @typespec/http-client-python
Description
- For swagger https://github.com/Azure/azure-rest-api-specs/blob/3d25fefc22d4b7835a8e572ae3097edc68dd23ad/specification/keyvault/resource-manager/Microsoft.KeyVault/stable/2015-06-01/keyvault.json#L195-L207, generated SDK is https://github.com/Azure/azure-sdk-for-python/blob/6362cb62a6294432dcc9c181d41a3d65caf3542e/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/operations/_vaults_operations.py#L1389-L1403
- After migrate to Typespec https://github.com/Azure/azure-rest-api-specs/blob/3d25fefc22d4b7835a8e572ae3097edc68dd23ad/specification/keyvault/KeyVault.Management/routes.tsp#L37-L64, generated SDK is https://github.com/Azure/azure-sdk-for-python/blob/237c7e2b9f5a13d6a14afa0c81f35033e51397f1/sdk/keyvault/azure-mgmt-keyvault/azure/mgmt/keyvault/operations/_operations.py#L2667-L2681.
We can see the generated SDK from Typespec lose default value for query filter which will break existing SDK users:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
emitter:client:pythonIssue for the Python client emitter: @typespec/http-client-pythonIssue for the Python client emitter: @typespec/http-client-python