[http-client-java] Document protocol response headers - #11610
Open
Weidong Xu (weidongxu-microsoft) wants to merge 7 commits into
Open
[http-client-java] Document protocol response headers#11610Weidong Xu (weidongxu-microsoft) wants to merge 7 commits into
Weidong Xu (weidongxu-microsoft) wants to merge 7 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
|
All changed packages have been documented.
Show changes
|
|
You can try these changes here
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot started reviewing on behalf of
Weidong Xu (weidongxu-microsoft)
August 10, 2026 11:10
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Adds response-header metadata to Java protocol API Javadocs, addressing Azure/autorest.java#2297.
Changes:
- Models response-header names, types, and descriptions on proxy methods.
- Generates response-header Javadoc tables for
RequestOptionsmethods. - Regenerates affected Java fixtures and adds a changelog entry.
Reviewed changes
Copilot reviewed 41 out of 41 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
type/file/implementation/BodiesImpl.java |
Regenerates file-operation header docs. |
type/file/FileClient.java |
Adds synchronous file response-header docs. |
type/file/FileAsyncClient.java |
Adds asynchronous file response-header docs. |
tsptest/specialheaders/RepeatabilityHeadersClient.java |
Documents repeatability headers. |
tsptest/specialheaders/RepeatabilityHeadersAsyncClient.java |
Documents async repeatability headers. |
tsptest/specialheaders/implementation/RepeatabilityHeadersImpl.java |
Regenerates implementation Javadocs. |
tsptest/specialheaders/implementation/EtagHeadersImpl.java |
Documents implementation ETag headers. |
tsptest/specialheaders/EtagHeadersClient.java |
Documents synchronous ETag headers. |
tsptest/specialheaders/EtagHeadersAsyncClient.java |
Documents asynchronous ETag headers. |
tsptest/responseheaders/ResponseHeadersClient.java |
Documents typed response headers. |
tsptest/responseheaders/ResponseHeadersAsyncClient.java |
Documents async typed headers. |
tsptest/responseheaders/implementation/ResponseHeaderOpsImpl.java |
Regenerates typed-header implementation docs. |
tsptest/response/ResponseClient.java |
Documents operation-location headers. |
tsptest/response/ResponseAsyncClient.java |
Documents async operation-location headers. |
tsptest/response/implementation/ResponseClientImpl.java |
Regenerates response implementation docs. |
tsptest/optional/OptionalClient.java |
Documents optional response headers. |
tsptest/optional/OptionalAsyncClient.java |
Documents async optional headers. |
tsptest/optional/implementation/OptionalOpsImpl.java |
Regenerates optional-operation docs. |
tsptest/longrunning/LongRunningClient.java |
Documents LRO retry headers. |
tsptest/longrunning/LongRunningAsyncClient.java |
Documents async LRO retry headers. |
tsptest/longrunning/implementation/LongRunningClientImpl.java |
Regenerates LRO implementation docs. |
specialheaders/repeatability/RepeatabilityClient.java |
Documents repeatability results. |
specialheaders/repeatability/RepeatabilityAsyncClient.java |
Documents async repeatability results. |
specialheaders/repeatability/implementation/RepeatabilityClientImpl.java |
Regenerates repeatability implementation docs. |
payload/head/implementation/HeadClientImpl.java |
Documents HEAD response headers. |
payload/head/HeadClient.java |
Documents synchronous HEAD headers. |
payload/head/HeadAsyncClient.java |
Documents asynchronous HEAD headers. |
encode/datetime/ResponseHeaderClient.java |
Documents datetime response headers. |
encode/datetime/ResponseHeaderAsyncClient.java |
Documents async datetime headers. |
encode/datetime/implementation/ResponseHeadersImpl.java |
Regenerates datetime implementation docs. |
client/naming/implementation/HeadersImpl.java |
Documents renamed response headers. |
client/naming/HeaderClient.java |
Documents synchronous renamed headers. |
client/naming/HeaderAsyncClient.java |
Documents asynchronous renamed headers. |
azure/core/traits/TraitsClient.java |
Documents trait response headers. |
azure/core/traits/TraitsAsyncClient.java |
Documents async trait headers. |
azure/core/traits/implementation/TraitsClientImpl.java |
Regenerates trait implementation docs. |
ClientMethodTemplateBase.java |
Generates reusable Javadoc tables and response-header rows. |
ProxyMethodResponseHeader.java |
Adds the response-header metadata model. |
ProxyMethod.java |
Stores and preserves response-header metadata. |
ProxyMethodMapper.java |
Maps successful response headers into proxy metadata. |
.chronus/changes/http-client-java-response-header-javadocs-2026-08-10.md |
Records the Java generator fix. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Weidong Xu (weidongxu-microsoft)
marked this pull request as ready for review
August 10, 2026 11:41
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
RequestOptionsTesting
Fixes Azure/autorest.java#2297