Skip to content

[Search 2026-04-01] java SDK codegen#49555

Draft
Copilot wants to merge 2 commits into
release/azure-search-documents_12.1.0from
copilot/sdk2026-04-01-java
Draft

[Search 2026-04-01] java SDK codegen#49555
Copilot wants to merge 2 commits into
release/azure-search-documents_12.1.0from
copilot/sdk2026-04-01-java

Conversation

Copilot AI commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Regenerates azure-search-documents from TypeSpec spec commit 840db4dc48aab6bdf5c45422c8d504aee463b783, bumping to version 12.1.0.

Changes

  • Spec pin: Updated tsp-location.yaml to commit 840db4dc48aab6bdf5c45422c8d504aee463b783
  • New models: Added discriminator subtypes for KnowledgeBaseActivityRecord:
    • KnowledgeBaseSearchIndexActivityRecord / KnowledgeBaseSearchIndexActivityArguments
    • KnowledgeBaseAzureBlobActivityRecord / KnowledgeBaseAzureBlobActivityArguments
    • KnowledgeBaseIndexedOneLakeActivityRecord / KnowledgeBaseIndexedOneLakeActivityArguments
    • KnowledgeBaseWebActivityRecord / KnowledgeBaseWebActivityArguments
  • Deserialization: Extended KnowledgeBaseActivityRecord.fromJson() to route searchIndex, azureBlob, indexedOneLake, and web discriminator values to their respective subtypes
  • Version: 12.0.0 → 12.1.0

Build/Test

mvn compile test-compile: BUILD SUCCESS
mvn test: 245 run, 0 failures, 22 errors (all TestProxy infra — proxy binary unavailable), 4 skipped

…5c45422c8d504aee463b783, bump to 12.1.0

Co-authored-by: efrainretana <141282336+efrainretana@users.noreply.github.com>
Copilot AI changed the title [WIP] Regenerate Azure Search SDK for Java API version 2026-04-01 [Search 2026-04-01] java SDK codegen Jun 18, 2026
Copilot AI requested a review from efrainretana June 18, 2026 17:20
@efrainretana

Copy link
Copy Markdown
Member

@copilot

DebugInfo is an empty model in the 2026-04-01 API and should NOT be part of the public API surface. Please internalize it — do not expose DebugInfo as a public type in the SDK. If it was generated as a public class/type, make it internal or remove it entirely from the public surface. Apply this change to the PR on this branch.

Copilot AI commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

@copilot

DebugInfo is an empty model in the 2026-04-01 API and should NOT be part of the public API surface. Please internalize it — do not expose DebugInfo as a public type in the SDK. If it was g...

DebugInfo is already internal — it's located in com.azure.search.documents.implementation.models (not the public models package), and the module-info.java only opens that package to com.azure.core for reflection, without exporting it. It's not part of the public API surface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants