Skip to content

[Prototype] Reuse override parameter groups in Java protocol methods - #11758

Draft
Weidong Xu (weidongxu-microsoft) wants to merge 2 commits into
microsoft:mainfrom
weidongxu-microsoft:fix/java-override-protocol-parameter-group
Draft

[Prototype] Reuse override parameter groups in Java protocol methods#11758
Weidong Xu (weidongxu-microsoft) wants to merge 2 commits into
microsoft:mainfrom
weidongxu-microsoft:fix/java-override-protocol-parameter-group

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Contributor

Related to #11757.

Summary

  • Reuse query/header-only @override parameter groups in Java protocol methods.
  • Preserve convenience enum/model types while transforming grouped values to the wire request.
  • Keep groups containing body parameters on the existing flattened protocol path.
  • Regenerate affected method-override, traits, and special-header test clients.

Validation

  • Generate.ps1
  • Java generator build and formatting
  • Java emitter build and lint
  • 799 E2E tests passed (32 skipped)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 7234aa71-1588-45aa-9153-87c85896e245
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 7234aa71-1588-45aa-9153-87c85896e245
@microsoft-github-policy-service microsoft-github-policy-service Bot added the emitter:client:java Issue for the Java client emitter: @typespec/http-client-java label Aug 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client-java
Show changes

@typespec/http-client-java - fix ✏️

Reuse override parameter groups containing query and header parameters in Java protocol methods.

@azure-sdk-automation

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

emitter:client:java Issue for the Java client emitter: @typespec/http-client-java

项目

None yet

Development

Successfully merging this pull request may close these issues.

1 participant