Skip to content

[http-client-java] Support nested pageable response paths - #11504

Open
weidongxu-microsoft wants to merge 7 commits into
microsoft:mainfrom
weidongxu-microsoft:weidongxu/nested-pageable
Open

[http-client-java] Support nested pageable response paths#11504
weidongxu-microsoft wants to merge 7 commits into
microsoft:mainfrom
weidongxu-microsoft:weidongxu/nested-pageable

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Contributor

Summary

  • retain nested pageable response paths for Azure V1 generation
  • traverse nested JSON properties when extracting Azure pageable items and next links
  • add pageable regression coverage for supported scenarios

Validation

  • Generated Java test module compiles.
  • Supported pageable Spector tests pass.

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

Copilot-Session: ec1bc35f-8c6e-40bc-8824-a04c25a42530
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ec1bc35f-8c6e-40bc-8824-a04c25a42530
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ec1bc35f-8c6e-40bc-8824-a04c25a42530
@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 Jul 31, 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 ✏️

Support nested property paths in Azure pageable responses.

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

Copilot-Session: ec1bc35f-8c6e-40bc-8824-a04c25a42530
@azure-sdk-automation

azure-sdk-automation Bot commented Jul 31, 2026

Copy link
Copy Markdown

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

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

Copilot-Session: ec1bc35f-8c6e-40bc-8824-a04c25a42530
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ec1bc35f-8c6e-40bc-8824-a04c25a42530
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ec1bc35f-8c6e-40bc-8824-a04c25a42530
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 eng

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant