Skip to content

[pull] main from Azure:main#2193

Merged
pull[bot] merged 1 commit into
conniey:mainfrom
Azure:main
Jul 13, 2026
Merged

[pull] main from Azure:main#2193
pull[bot] merged 1 commit into
conniey:mainfrom
Azure:main

Conversation

@pull

@pull pull Bot commented Jul 13, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

…n) (#49789)

PR #49695 accidentally flattened `MongoIndex.key` for the Java emitter
(renamed public `key()`/`withKey(MongoIndexKeys)` to `keys()`/`withKeys(List<String>)`
and moved `MongoIndexKeys` from `models` to `fluent.models`). The specs fix
(Azure/azure-rest-api-specs#44605) excludes `java` from the flatten scope.

This regenerates the cosmos SDK against Azure/azure-rest-api-specs main
(050576fbe2e66b311b5f72f30de27c0f04c7881d), restoring the public
`MongoIndex.key()`/`withKey(MongoIndexKeys)` API and moving `MongoIndexKeys`
back to the `models` package.

`mvn package` and `mvn revapi:check` both pass.


Copilot-Session: b3fffb85-d710-47f5-b9ba-687c505134ca

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jul 13, 2026
@pull pull Bot added the ⤵️ pull label Jul 13, 2026
@pull pull Bot merged commit a6c2ff5 into conniey:main Jul 13, 2026
@github-actions github-actions Bot added the Mgmt label Jul 13, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant