Skip to content

Conversation

v-jiaodi
Copy link
Member

@v-jiaodi v-jiaodi commented Jun 18, 2025

fixes #3304

const parameterName = getClientParameterName(apiVersionParam);
if (!apiVersionInEndpoint && apiVersionParam.clientDefaultValue) {
apiVersionPolicyStatement += `const ${parameterName} = options.${parameterName} ?? "${apiVersionParam.clientDefaultValue}";`;
apiVersionPolicyStatement += `const apiVersion = options.apiVersion ?? "${apiVersionParam.clientDefaultValue}";`;
Copy link
Member Author

Choose a reason for hiding this comment

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

Adding a version definition can make the code work properly.

@microsoft-github-policy-service microsoft-github-policy-service bot added the no-recent-activity There has been no recent activity on this issue. label Aug 29, 2025
Copy link
Contributor

Hi @@v-jiaodi. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

Copy link
Contributor

Hi @@v-jiaodi. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing "/reopen" if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the "no-recent-activity" label; otherwise, this is likely to be closed again with the next cleanup pass.

@v-jiaodi v-jiaodi reopened this Sep 5, 2025
@v-jiaodi v-jiaodi removed the no-recent-activity There has been no recent activity on this issue. label Sep 8, 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.

[Feature] Support client level header/path apiVersion

2 participants