Skip to content

Refactor Java API metadata - #11526

Queued
weidongxu-microsoft wants to merge 5 commits into
microsoft:mainfrom
weidongxu-microsoft:refactor/api-metadata
Queued

Refactor Java API metadata#11526
weidongxu-microsoft wants to merge 5 commits into
microsoft:mainfrom
weidongxu-microsoft:refactor/api-metadata

Conversation

@weidongxu-microsoft

Copy link
Copy Markdown
Contributor

Summary

  • add a dedicated ApiMetadata model for generated API information
  • centralize cross-language definition IDs and developer messages
  • preserve existing generated API comments and compatibility getters

Validation

  • npm run build
  • npm run format
  • pnpm exec oxlint packages/http-client-java/emitter --type-aware --deny-warnings
  • focused generator core tests

Fixes Azure/autorest.java#2447

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

Copilot-Session: 55157ab4-99c9-4154-98f0-b0cc196be50d
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 55157ab4-99c9-4154-98f0-b0cc196be50d
@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 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client-java
Show changes

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

Centralize generated API metadata in a dedicated model.

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

Copilot-Session: 55157ab4-99c9-4154-98f0-b0cc196be50d
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 55157ab4-99c9-4154-98f0-b0cc196be50d
@azure-sdk-automation

azure-sdk-automation Bot commented Aug 4, 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: 55157ab4-99c9-4154-98f0-b0cc196be50d
@weidongxu-microsoft
weidongxu-microsoft added this pull request to the merge queue Aug 4, 2026
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tsp, refactor, add ApiMetadata

2 participants