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

@microsoft-github-policy-service microsoft-github-policy-service Bot added the stale Mark a PR that hasn't been recently updated and will be closed. label Sep 9, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Hi @Weidong Xu (@weidongxu-microsoft). Your PR has had no update for 14 days and it is marked as a stale PR. If it is not updated within 14 additional days, the PR will automatically be closed. If you want to refresh the PR, please remove the stale label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:java Issue for the Java client emitter: @typespec/http-client-java stale Mark a PR that hasn't been recently updated and will be closed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant