Skip to content

Support optional path parameter for Modular #3152

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

Merged
merged 36 commits into from
Apr 28, 2025

Conversation

v-jiaodi
Copy link
Member

@v-jiaodi v-jiaodi commented Apr 3, 2025

fixes #3154

  • upgrade to tcgc dev.3
  • support optional path parameter

@MaryGao

This comment was marked as off-topic.

@@ -930,7 +930,7 @@
},
"Azure.Core.Foundations.InnerError": {
"type": "object",
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.",
"description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/microsoft/api-guidelines/blob/vNext/azure/Guidelines.md#handling-errors.",
Copy link
Member

Choose a reason for hiding this comment

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

@jiaodi could you help investigate why this appears?

Copy link
Member Author

Choose a reason for hiding this comment

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

@MaryGao MaryGao changed the title Monitor nightly CI Support optional path parameter for Modular Apr 27, 2025
@@ -25,6 +25,8 @@ enum Versions {
@useDependency(Azure.Core.Versions.v1_0_Preview_2)
`2022-08-30`,
}

op foo(): void;
Copy link
Member

@MaryGao MaryGao Apr 27, 2025

Choose a reason for hiding this comment

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

No operations would lead to no client and model only case. So we can't verify the client name change so add one op here. Could you create an issue to support empty model generation for modular I think we could verify once tcgc has the case?

Copy link
Member Author

Choose a reason for hiding this comment

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

@MaryGao MaryGao marked this pull request as ready for review April 28, 2025 03:34
@@ -41,6 +41,7 @@ describe("Azure Core Page Rest Client", () => {
.post({
body: validBody,
queryParameters: {
"api-version": "2022-12-01-preview",
Copy link
Member

Choose a reason for hiding this comment

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

new change?

This is tsp definition.

```tsp
op read(@path param?: string): OkResponse;
Copy link
Member

Choose a reason for hiding this comment

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

does optional path params work in RLC?

Copy link
Member

Choose a reason for hiding this comment

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

issue tracked #3178

@MaryGao MaryGao merged commit 3d01423 into Azure:main Apr 28, 2025
17 checks passed
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
3 participants