Skip to content

http-client-java, support method with kind=lropaging - #9284

Merged
Weidong Xu (weidongxu-microsoft) merged 3 commits into
microsoft:mainfrom
weidongxu-microsoft:http-client-java_handle-lropaging
Jan 5, 2026
Merged

http-client-java, support method with kind=lropaging#9284
Weidong Xu (weidongxu-microsoft) merged 3 commits into
microsoft:mainfrom
weidongxu-microsoft:http-client-java_handle-lropaging

Conversation

@weidongxu-microsoft

@weidongxu-microsoftWeidong Xu (weidongxu-microsoft) commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

Mainly a bug fix, when method of lropaging contains more than one response (and the 200 response is not the first in array).
Previous code took a too simplistic approach (of always checking the first response in array in pageable op).

Tested with Azure/typespec-azure#3695, compile pass, impl code looks correct.
May adjust more (if necessary), when verify that test case after azure-http-specs publish.

@weidongxu-microsoftWeidong Xu (weidongxu-microsoft) changed the title http-client-java, support lropaginghttp-client-java, support method with kind=lropagingJan 5, 2026
@microsoft-github-policy-servicemicrosoft-github-policy-serviceBot added the emitter:client:java Issue for the Java client emitter: @typespec/http-client-java label Jan 5, 2026
@github-actions

Copy link
Copy Markdown
Contributor

No changes needing a change description found.

@azure-sdk

Azure SDK Bot (azure-sdk) commented Jan 5, 2026

Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground🌐 Website🛝 VSCode Extension

Merged via the queue into microsoft:main with commit 8182569Jan 5, 2026
26 checks passed
@weidongxu-microsoft
Weidong Xu (weidongxu-microsoft) deleted the http-client-java_handle-lropaging branch January 5, 2026 06:45
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@weidongxu-microsoft@azure-sdk@haolingdong-msft@XiaofeiCao