Skip to content

[Automation] Generate SDK based on TypeSpec 0.44.0#48747

Open
azure-sdk wants to merge 6 commits intoAzure:mainfrom
azure-sdk:typespec-java-generation-6129083
Open

[Automation] Generate SDK based on TypeSpec 0.44.0#48747
azure-sdk wants to merge 6 commits intoAzure:mainfrom
azure-sdk:typespec-java-generation-6129083

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

[Automation] Generate SDK based on TypeSpec 0.44.0

@azure-sdk azure-sdk added the DPG label Apr 9, 2026
@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review April 9, 2026 09:09
Copilot AI review requested due to automatic review settings April 9, 2026 09:09
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Automated regeneration of Java SDK artifacts using TypeSpec Java generator 0.44.0, updating generated client APIs and tests (notably introducing typed enums for image Accept values), plus bumping the TypeSpec toolchain and updating an Azure REST API specs commit pin.

Changes:

  • Updated TypeSpec/Java emitter dependencies to the 0.44.0 toolchain.
  • Regenerated Planetary Computer SDK code and tests to use generated *ContentType enums for image Accept values.
  • Updated the pinned azure-rest-api-specs commit for azure-search-documents TypeSpec location.

Reviewed changes

Copilot reviewed 22 out of 25 changed files in this pull request and generated 22 comments.

Show a summary per file
File Description
sdk/search/azure-search-documents/tsp-location.yaml Updates the pinned specs commit used for generation.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06dStacItemTilerTests.java Updates tests to use new *ContentType enums instead of string accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06cStacItemTilerTests.java Updates tests to pass typed accept enums (previously null/strings).
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06bStacItemTilerTests.java Updates crop test to use typed accept enum.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer06aStacItemTilerTests.java Imports and uses GetPreviewContentType enum for accept.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/test/java/com/azure/analytics/planetarycomputer/TestPlanetaryComputer05aMosaicsTilerTests.java Updates mosaics tile test to use typed accept enum.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/resources/META-INF/azure-analytics-planetarycomputer_metadata.json Updates generator metadata / cross-language mappings for regenerated outputs.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacClient.java Regenerated sync client; adds typed accept enum convenience method.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/StacAsyncClient.java Regenerated async client; adds typed accept enum convenience method.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetTileContentType.java New generated enum for tile accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPreviewWithFormatContentType.java New generated enum for preview-with-format accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPreviewContentType.java New generated enum for preview accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPartWithDimensionsContentType.java New generated enum for part-with-dimensions accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetPartContentType.java New generated enum for part accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetMosaicsTileContentType.java New generated enum for mosaics tile accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/GetCollectionThumbnailContentType.java New generated enum for collection thumbnail accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/CropGeoJsonWithDimensionsContentType.java New generated enum for crop-with-dimensions accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/models/CropGeoJsonContentType.java New generated enum for crop accept values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/StacsImpl.java Regenerated implementation docs for accept parameter allowed values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/implementation/DatasImpl.java Regenerated implementation docs for accept parameter allowed values.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataClient.java Regenerated sync data client; switches convenience methods to typed accept enums.
sdk/planetarycomputer/azure-analytics-planetarycomputer/src/main/java/com/azure/analytics/planetarycomputer/DataAsyncClient.java Regenerated async data client; switches convenience methods to typed accept enums.
eng/emitter-package.json Bumps TypeSpec Java + related TypeSpec toolchain versions.
eng/emitter-package-lock.json Updates lockfile to reflect the new TypeSpec toolchain versions.
Files not reviewed (1)
  • eng/emitter-package-lock.json: Language not supported

@weidongxu-microsoft weidongxu-microsoft force-pushed the typespec-java-generation-6129083 branch from f0f5d3b to f2cad38 Compare April 9, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants