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

implement apiversion parameter #4527

Merged
merged 19 commits into from
Oct 10, 2024
Merged

Conversation

chunyu3
Copy link
Contributor

@chunyu3 chunyu3 commented Sep 25, 2024

Fix #4206

  • When the service is versioned, the client will has apiVersion field.
  • Each operation which has apiVersion parameter should use the client apiVersion parameter directly and the operation signature should not include the apiVersion parameter.

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp label Sep 25, 2024
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

Copy link
Member

@ArcturusZhang ArcturusZhang left a comment

Choose a reason for hiding this comment

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

Please add some unit tests to verify the api-version related features, using the input types as a starting point.
As you may know, in this new project, we are not relying on test projects to verify the feature to work properly, instead, we rely on unit tests.

@chunyu3 chunyu3 added this pull request to the merge queue Oct 10, 2024
Merged via the queue into microsoft:main with commit bd95294 Oct 10, 2024
21 checks passed
@chunyu3 chunyu3 deleted the ApiVersionParameter branch October 10, 2024 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
emitter:client:csharp Issue for the C# client emitter: @typespec/http-client-csharp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature] implement client parameter apiversion
4 participants