Skip to content

Conversation

@JiaqiZhang-Dev
Copy link
Member

@JiaqiZhang-Dev JiaqiZhang-Dev commented Apr 28, 2025

Only used for key vault for which Go uses post processing to support it. Not a priority for now. So, emitter should report error if spec uses this feature.

spec: https://github.com/gracewilcox/azure-rest-api-specs/blob/a7cc4073991257a7b68cb7062b5e5b504a787d12/specification/keyvault/Security.KeyVault.Secrets/routes.tsp#L101

resolve: #1575

@JiaqiZhang-Dev JiaqiZhang-Dev changed the title validate optional path Throw error for optional path parameter May 30, 2025
@JiaqiZhang-Dev JiaqiZhang-Dev marked this pull request as ready for review June 3, 2025 03:52
Copy link
Member

@jhendrixMSFT jhendrixMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will break our ability to generate KV SDKs. We need to add proper support for optional path params and should wait until the KV tsp files have been updated.

@tadelesh
Copy link
Member

close since we decided to add full support for optional path param.

@tadelesh tadelesh closed this Jun 10, 2025
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.

Support optional path parameter

4 participants