Repository navigation
fix: _isSetType now detects indirect Set implementations - #5265
Merged
ewaostrowska merged 1 commit intoAug 26, 2026
Merged
ewaostrowska merged 1 commit into
ewaostrowska merged 1 commit into
Conversation
Replace Set.class.equals(cls) with Set.class.isAssignableFrom(cls) so that types like LinkedHashSet, HashSet, and TreeSet are correctly identified as Set types for uniqueItems schema generation. Previously only exact Set.class matches were caught, plus direct interface checks via getInterfaces() which miss inherited Set implementations. Add IsSetTypeTest with 7 test cases covering null, the Set interface, HashSet, LinkedHashSet, TreeSet, non-Set collections, and non-collection types.
ewaostrowska
force-pushed
the
fix/isSetType-indirect-Set-implementations
branch
from
August 26, 2026 09:31
bcd59f3 to
cdd3d25
Compare
Contributor
|
Thank you @vpelikh for providing this PR, looks like it should help with the Set classification |
ewaostrowska
approved these changes
Aug 26, 2026
vpelikh
pushed a commit
to vpelikh/swagger-core
that referenced
this pull request
Aug 28, 2026
Resolve conflicts from upstream 2.x sync onto the vpelikh 4.x fork: - .github/dependabot.yml: keep fork 'master' target-branch; adopt upstream 'allow' rules (semver-minor/patch plus dependency-check-maven major). - pom.xml: keep fork's 4.x dependency versions (dependency-check-maven 13.0.0, slf4j 2.0.18, jetty 12.1.12, etc.); drop upstream's commons-lang-version (commons-lang3 removed from the fork). - .github/workflows/prepare-release.yml and modules/swagger-project-jakarta/ pom.xml: retain fork deletions (already removed on the fork). Upstream code fix '_isSetType now detects indirect Set implementations' (swagger-api#5265) is auto-merged into AbstractModelConverter.
bnasslahsen
added a commit
to springdoc/springdoc-openapi
that referenced
this pull request
Sep 6, 2026
swagger-core now detects indirect Set implementations (swagger-api/swagger-core#5265), so a `LinkedHashSet` property is described with `uniqueItems: true`. Adjusted the Kotlin app3 expectation accordingly. The matching swagger-ui 5.32.15 bump is not included: org.webjars:swagger-ui is still only published up to 5.32.14 on Maven Central. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
bnasslahsen
added a commit
to springdoc/springdoc-openapi
that referenced
this pull request
Sep 6, 2026
swagger-core now detects indirect Set implementations (swagger-api/swagger-core#5265), so a `LinkedHashSet` property is described with `uniqueItems: true`. Adjusted the Kotlin app3 expectation accordingly. The matching swagger-ui 5.32.15 bump is not included: org.webjars:swagger-ui is still only published up to 5.32.14 on Maven Central. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
github-merge-queue Bot
pushed a commit
to BSStudio/robonaut-server
that referenced
this pull request
Sep 6, 2026
…webflux-ui to v3.1.1 (#1484) This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [org.springdoc:springdoc-openapi-starter-webflux-ui](https://springdoc.org/) ([source](https://redirect.github.com/springdoc/springdoc-openapi)) | `3.1.0` → `3.1.1` |  |  |  |  | --- ### Release Notes <details> <summary>springdoc/springdoc-openapi (org.springdoc:springdoc-openapi-starter-webflux-ui)</summary> ### [`v3.1.1`](https://redirect.github.com/springdoc/springdoc-openapi/blob/HEAD/CHANGELOG.md#311---2026-09-06) ##### Security - [GHSA-6f5m-mhjg-qwxq](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-6f5m-mhjg-qwxq) – MCP tool callbacks do not encode path parameters, allowing request retargeting - [GHSA-4v2q-56v7-2cpw](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-4v2q-56v7-2cpw) – MCP transport, admin and dashboard endpoints are exposed by default - [GHSA-m4cg-mhpg-rh2r](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-m4cg-mhpg-rh2r) – MCP audit events record credentials and request/response bodies without redaction - [GHSA-5f9r-4mc4-qh3c](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-5f9r-4mc4-qh3c) – Unbounded MCP pending-confirmation store allows memory exhaustion - [GHSA-jcgg-59c8-w4wh](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-jcgg-59c8-w4wh) – MCP request context in a `ThreadLocal` can leak headers between concurrent WebFlux requests - [GHSA-rhhx-6j8h-8cvw](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-rhhx-6j8h-8cvw) – Unbounded per-locale OpenAPI cache allows memory exhaustion via `Accept-Language` - [GHSA-c925-vm88-mpp9](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-c925-vm88-mpp9) – Scalar starters trust client-supplied forwarded headers and render from a shared mutable bean - [CVE-2026-75838](https://redirect.github.com/advisories/GHSA-748c-f84h-hp2v) – Cross-site scripting in the DOMPurify bundled with swagger-ui, addressed by upgrading swagger-ui to **5.32.14** ##### Added - [#​3340](https://redirect.github.com/springdoc/springdoc-openapi/issues/3340) – Describe `JsonNullable` values without their Java wrapper - [#​3325](https://redirect.github.com/springdoc/springdoc-openapi/issues/3325) – Manage the swagger artifacts in `springdoc-openapi-bom`, so that modules holding only the annotations stay in lockstep - [#​3321](https://redirect.github.com/springdoc/springdoc-openapi/issues/3321) – Add `springdoc.login-endpoint.username-example` and `springdoc.login-endpoint.password-example` to document the Spring Security login endpoint ##### Changed - **MCP is now opt-in.** Set `springdoc.ai.mcp.enabled=true`, and `springdoc.ai.mcp.dashboard-enabled=true` for the dashboard - **The Scalar starters no longer register forwarded-header handling.** Set `server.forward-headers-strategy=framework` (or `native`) behind a trusted proxy - Add `springdoc.cache.max-entries` (default `100`) to bound the per-locale OpenAPI cache - Add `springdoc.ai.mcp.audit.redact` (default `true`) to mask secrets in MCP audit events - Document that the MCP approval flow is a confirmation step, not an authorization control - Document the security policy and the release versioning scheme - [#​3351](https://redirect.github.com/springdoc/springdoc-openapi/issues/3351) – `java.time.Duration`, `LocalTime` and `OffsetTime` are now resolved by swagger-core instead of being forced to a bare `string`, so they carry a `format` (`duration` and `partial-time` respectively for the first two) - A property whose type only implements `Set` indirectly (`LinkedHashSet`, `TreeSet`, …) is now described with `uniqueItems: true`, following [swagger-api/swagger-core#5265](https://redirect.github.com/swagger-api/swagger-core/pull/5265) - Upgrade swagger-core to version **2.2.55** - Upgrade swagger-ui to version **5.32.14** ##### Fixed - [#​3328](https://redirect.github.com/springdoc/springdoc-openapi/issues/3328), [#​3337](https://redirect.github.com/springdoc/springdoc-openapi/issues/3337) – `/v3/api-docs` fails with a `NullPointerException` when spring-hateoas is on the classpath without `HateoasProperties` - [#​3314](https://redirect.github.com/springdoc/springdoc-openapi/issues/3314) – `Json Processing Exception occurred` is logged for every constrained parameter whose schema is not a `JsonSchema` - [#​3317](https://redirect.github.com/springdoc/springdoc-openapi/issues/3317) – An injected `HttpHeaders` parameter is described as a schema - [#​3332](https://redirect.github.com/springdoc/springdoc-openapi/issues/3332) – The properties a Kotlin entity inherits from an `@Embeddable` are missing from the Spring Data REST schemas - [#​3320](https://redirect.github.com/springdoc/springdoc-openapi/issues/3320) – `@Order` and `Ordered` ignored when applying customizers - [#​3319](https://redirect.github.com/springdoc/springdoc-openapi/issues/3319) – A `Page` nested in another schema is not replaced by `PagedModel` - [#​3313](https://redirect.github.com/springdoc/springdoc-openapi/issues/3313) – Springdoc auto-configurations rely on unspecified auto-configuration ordering - [#​3331](https://redirect.github.com/springdoc/springdoc-openapi/issues/3331) – Validation annotations declared inside `Optional` parameters are dropped - [#​3322](https://redirect.github.com/springdoc/springdoc-openapi/issues/3322) – Validation annotations on a container's type argument leak between parameters - [#​3315](https://redirect.github.com/springdoc/springdoc-openapi/issues/3315) – An OAS 3.1 `JsonSchema` cannot be cloned through JSON - [#​3300](https://redirect.github.com/springdoc/springdoc-openapi/issues/3300) – TYPE\_USE annotations on `@ParameterObject` fields are not passed along - [#​3341](https://redirect.github.com/springdoc/springdoc-openapi/issues/3341) – Stabilize Spring Data `Sort` and `Pageable` schema property order - [#​3338](https://redirect.github.com/springdoc/springdoc-openapi/issues/3338) – Kotlin nullability interpretation of the `Any?` type - [#​3136](https://redirect.github.com/springdoc/springdoc-openapi/issues/3136) – A Spring Data REST association to a non-exported entity expands its `@EmbeddedId` and `@MapsId` fields recursively in the response schemas - The Spring Data REST response post-processing rewrote an association property in place, so the `…Response` refs could leak into the schema shared with the request body representation </details> --- ### Configuration 📅 **Schedule**: (in timezone Europe/Dublin) - Branch creation - At any time (no schedule defined) - Automerge - Only on Sunday and Saturday (`* * * * 0,6`) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/BSStudio/robonaut-server). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42MS4zIiwidXBkYXRlZEluVmVyIjoiNDQuNjEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
apereocas-bot
added a commit
to apereo/cas
that referenced
this pull request
Sep 7, 2026
…starter-webmvc-ui to v3.1.1 This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.springdoc:springdoc-openapi-starter-webmvc-ui](https://springdoc.org/) ([source](https://redirect.github.com/springdoc/springdoc-openapi)) | dependencies | patch | `3.1.0` → `3.1.1` | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>springdoc/springdoc-openapi (org.springdoc:springdoc-openapi-starter-webmvc-ui)</summary> ### [`v3.1.1`](https://redirect.github.com/springdoc/springdoc-openapi/blob/HEAD/CHANGELOG.md#311---2026-09-06) ##### Security - [GHSA-6f5m-mhjg-qwxq](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-6f5m-mhjg-qwxq) – MCP tool callbacks do not encode path parameters, allowing request retargeting - [GHSA-4v2q-56v7-2cpw](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-4v2q-56v7-2cpw) – MCP transport, admin and dashboard endpoints are exposed by default - [GHSA-m4cg-mhpg-rh2r](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-m4cg-mhpg-rh2r) – MCP audit events record credentials and request/response bodies without redaction - [GHSA-5f9r-4mc4-qh3c](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-5f9r-4mc4-qh3c) – Unbounded MCP pending-confirmation store allows memory exhaustion - [GHSA-jcgg-59c8-w4wh](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-jcgg-59c8-w4wh) – MCP request context in a `ThreadLocal` can leak headers between concurrent WebFlux requests - [GHSA-rhhx-6j8h-8cvw](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-rhhx-6j8h-8cvw) – Unbounded per-locale OpenAPI cache allows memory exhaustion via `Accept-Language` - [GHSA-c925-vm88-mpp9](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-c925-vm88-mpp9) – Scalar starters trust client-supplied forwarded headers and render from a shared mutable bean - [CVE-2026-75838](https://redirect.github.com/advisories/GHSA-748c-f84h-hp2v) – Cross-site scripting in the DOMPurify bundled with swagger-ui, addressed by upgrading swagger-ui to **5.32.14** ##### Added - [#​3340](https://redirect.github.com/springdoc/springdoc-openapi/issues/3340) – Describe `JsonNullable` values without their Java wrapper - [#​3325](https://redirect.github.com/springdoc/springdoc-openapi/issues/3325) – Manage the swagger artifacts in `springdoc-openapi-bom`, so that modules holding only the annotations stay in lockstep - [#​3321](https://redirect.github.com/springdoc/springdoc-openapi/issues/3321) – Add `springdoc.login-endpoint.username-example` and `springdoc.login-endpoint.password-example` to document the Spring Security login endpoint ##### Changed - **MCP is now opt-in.** Set `springdoc.ai.mcp.enabled=true`, and `springdoc.ai.mcp.dashboard-enabled=true` for the dashboard - **The Scalar starters no longer register forwarded-header handling.** Set `server.forward-headers-strategy=framework` (or `native`) behind a trusted proxy - Add `springdoc.cache.max-entries` (default `100`) to bound the per-locale OpenAPI cache - Add `springdoc.ai.mcp.audit.redact` (default `true`) to mask secrets in MCP audit events - Document that the MCP approval flow is a confirmation step, not an authorization control - Document the security policy and the release versioning scheme - [#​3351](https://redirect.github.com/springdoc/springdoc-openapi/issues/3351) – `java.time.Duration`, `LocalTime` and `OffsetTime` are now resolved by swagger-core instead of being forced to a bare `string`, so they carry a `format` (`duration` and `partial-time` respectively for the first two) - A property whose type only implements `Set` indirectly (`LinkedHashSet`, `TreeSet`, …) is now described with `uniqueItems: true`, following [swagger-api/swagger-core#5265](https://redirect.github.com/swagger-api/swagger-core/pull/5265) - Upgrade swagger-core to version **2.2.55** - Upgrade swagger-ui to version **5.32.14** ##### Fixed - [#​3328](https://redirect.github.com/springdoc/springdoc-openapi/issues/3328), [#​3337](https://redirect.github.com/springdoc/springdoc-openapi/issues/3337) – `/v3/api-docs` fails with a `NullPointerException` when spring-hateoas is on the classpath without `HateoasProperties` - [#​3314](https://redirect.github.com/springdoc/springdoc-openapi/issues/3314) – `Json Processing Exception occurred` is logged for every constrained parameter whose schema is not a `JsonSchema` - [#​3317](https://redirect.github.com/springdoc/springdoc-openapi/issues/3317) – An injected `HttpHeaders` parameter is described as a schema - [#​3332](https://redirect.github.com/springdoc/springdoc-openapi/issues/3332) – The properties a Kotlin entity inherits from an `@Embeddable` are missing from the Spring Data REST schemas - [#​3320](https://redirect.github.com/springdoc/springdoc-openapi/issues/3320) – `@Order` and `Ordered` ignored when applying customizers - [#​3319](https://redirect.github.com/springdoc/springdoc-openapi/issues/3319) – A `Page` nested in another schema is not replaced by `PagedModel` - [#​3313](https://redirect.github.com/springdoc/springdoc-openapi/issues/3313) – Springdoc auto-configurations rely on unspecified auto-configuration ordering - [#​3331](https://redirect.github.com/springdoc/springdoc-openapi/issues/3331) – Validation annotations declared inside `Optional` parameters are dropped - [#​3322](https://redirect.github.com/springdoc/springdoc-openapi/issues/3322) – Validation annotations on a container's type argument leak between parameters - [#​3315](https://redirect.github.com/springdoc/springdoc-openapi/issues/3315) – An OAS 3.1 `JsonSchema` cannot be cloned through JSON - [#​3300](https://redirect.github.com/springdoc/springdoc-openapi/issues/3300) – TYPE\_USE annotations on `@ParameterObject` fields are not passed along - [#​3341](https://redirect.github.com/springdoc/springdoc-openapi/issues/3341) – Stabilize Spring Data `Sort` and `Pageable` schema property order - [#​3338](https://redirect.github.com/springdoc/springdoc-openapi/issues/3338) – Kotlin nullability interpretation of the `Any?` type - [#​3136](https://redirect.github.com/springdoc/springdoc-openapi/issues/3136) – A Spring Data REST association to a non-exported entity expands its `@EmbeddedId` and `@MapsId` fields recursively in the response schemas - The Spring Data REST response post-processing rewrote an association property in place, so the `…Response` refs could leak into the schema shared with the request body representation </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Los_Angeles) - Branch creation - "after 5pm,before 9am" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42NS41IiwidXBkYXRlZEluVmVyIjoiNDQuNjUuNSIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJCb3QiLCJSZW5vdmF0ZSJdfQ==-->
mmoayyed
pushed a commit
to mmoayyed/cas
that referenced
this pull request
Sep 7, 2026
…starter-webmvc-ui to v3.1.1 This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Adoption](https://docs.renovatebot.com/merge-confidence/) | [Passing](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---|---|---| | [org.springdoc:springdoc-openapi-starter-webmvc-ui](https://springdoc.org/) ([source](https://redirect.github.com/springdoc/springdoc-openapi)) | `3.1.0` → `3.1.1` |  |  |  |  | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>springdoc/springdoc-openapi (org.springdoc:springdoc-openapi-starter-webmvc-ui)</summary> ### [`v3.1.1`](https://redirect.github.com/springdoc/springdoc-openapi/blob/HEAD/CHANGELOG.md#311---2026-09-06) [Compare Source](https://redirect.github.com/springdoc/springdoc-openapi/compare/v3.1.0...v3.1.1) ##### Security - [GHSA-6f5m-mhjg-qwxq](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-6f5m-mhjg-qwxq) – MCP tool callbacks do not encode path parameters, allowing request retargeting - [GHSA-4v2q-56v7-2cpw](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-4v2q-56v7-2cpw) – MCP transport, admin and dashboard endpoints are exposed by default - [GHSA-m4cg-mhpg-rh2r](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-m4cg-mhpg-rh2r) – MCP audit events record credentials and request/response bodies without redaction - [GHSA-5f9r-4mc4-qh3c](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-5f9r-4mc4-qh3c) – Unbounded MCP pending-confirmation store allows memory exhaustion - [GHSA-jcgg-59c8-w4wh](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-jcgg-59c8-w4wh) – MCP request context in a `ThreadLocal` can leak headers between concurrent WebFlux requests - [GHSA-rhhx-6j8h-8cvw](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-rhhx-6j8h-8cvw) – Unbounded per-locale OpenAPI cache allows memory exhaustion via `Accept-Language` - [GHSA-c925-vm88-mpp9](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-c925-vm88-mpp9) – Scalar starters trust client-supplied forwarded headers and render from a shared mutable bean - [CVE-2026-75838](https://redirect.github.com/advisories/GHSA-748c-f84h-hp2v) – Cross-site scripting in the DOMPurify bundled with swagger-ui, addressed by upgrading swagger-ui to **5.32.14** ##### Added - [#&apereo#8203;3340](https://redirect.github.com/springdoc/springdoc-openapi/issues/3340) – Describe `JsonNullable` values without their Java wrapper - [#&apereo#8203;3325](https://redirect.github.com/springdoc/springdoc-openapi/issues/3325) – Manage the swagger artifacts in `springdoc-openapi-bom`, so that modules holding only the annotations stay in lockstep - [#&apereo#8203;3321](https://redirect.github.com/springdoc/springdoc-openapi/issues/3321) – Add `springdoc.login-endpoint.username-example` and `springdoc.login-endpoint.password-example` to document the Spring Security login endpoint ##### Changed - **MCP is now opt-in.** Set `springdoc.ai.mcp.enabled=true`, and `springdoc.ai.mcp.dashboard-enabled=true` for the dashboard - **The Scalar starters no longer register forwarded-header handling.** Set `server.forward-headers-strategy=framework` (or `native`) behind a trusted proxy - Add `springdoc.cache.max-entries` (default `100`) to bound the per-locale OpenAPI cache - Add `springdoc.ai.mcp.audit.redact` (default `true`) to mask secrets in MCP audit events - Document that the MCP approval flow is a confirmation step, not an authorization control - Document the security policy and the release versioning scheme - [#&apereo#8203;3351](https://redirect.github.com/springdoc/springdoc-openapi/issues/3351) – `java.time.Duration`, `LocalTime` and `OffsetTime` are now resolved by swagger-core instead of being forced to a bare `string`, so they carry a `format` (`duration` and `partial-time` respectively for the first two) - A property whose type only implements `Set` indirectly (`LinkedHashSet`, `TreeSet`, …) is now described with `uniqueItems: true`, following [swagger-api/swagger-core#5265](https://redirect.github.com/swagger-api/swagger-core/pull/5265) - Upgrade swagger-core to version **2.2.55** - Upgrade swagger-ui to version **5.32.14** ##### Fixed - [#&apereo#8203;3328](https://redirect.github.com/springdoc/springdoc-openapi/issues/3328), [#&apereo#8203;3337](https://redirect.github.com/springdoc/springdoc-openapi/issues/3337) – `/v3/api-docs` fails with a `NullPointerException` when spring-hateoas is on the classpath without `HateoasProperties` - [#&apereo#8203;3314](https://redirect.github.com/springdoc/springdoc-openapi/issues/3314) – `Json Processing Exception occurred` is logged for every constrained parameter whose schema is not a `JsonSchema` - [#&apereo#8203;3317](https://redirect.github.com/springdoc/springdoc-openapi/issues/3317) – An injected `HttpHeaders` parameter is described as a schema - [#&apereo#8203;3332](https://redirect.github.com/springdoc/springdoc-openapi/issues/3332) – The properties a Kotlin entity inherits from an `@Embeddable` are missing from the Spring Data REST schemas - [#&apereo#8203;3320](https://redirect.github.com/springdoc/springdoc-openapi/issues/3320) – `@Order` and `Ordered` ignored when applying customizers - [#&apereo#8203;3319](https://redirect.github.com/springdoc/springdoc-openapi/issues/3319) – A `Page` nested in another schema is not replaced by `PagedModel` - [#&apereo#8203;3313](https://redirect.github.com/springdoc/springdoc-openapi/issues/3313) – Springdoc auto-configurations rely on unspecified auto-configuration ordering - [#&apereo#8203;3331](https://redirect.github.com/springdoc/springdoc-openapi/issues/3331) – Validation annotations declared inside `Optional` parameters are dropped - [#&apereo#8203;3322](https://redirect.github.com/springdoc/springdoc-openapi/issues/3322) – Validation annotations on a container's type argument leak between parameters - [#&apereo#8203;3315](https://redirect.github.com/springdoc/springdoc-openapi/issues/3315) – An OAS 3.1 `JsonSchema` cannot be cloned through JSON - [#&apereo#8203;3300](https://redirect.github.com/springdoc/springdoc-openapi/issues/3300) – TYPE\_USE annotations on `@ParameterObject` fields are not passed along - [#&apereo#8203;3341](https://redirect.github.com/springdoc/springdoc-openapi/issues/3341) – Stabilize Spring Data `Sort` and `Pageable` schema property order - [#&apereo#8203;3338](https://redirect.github.com/springdoc/springdoc-openapi/issues/3338) – Kotlin nullability interpretation of the `Any?` type - [#&apereo#8203;3136](https://redirect.github.com/springdoc/springdoc-openapi/issues/3136) – A Spring Data REST association to a non-exported entity expands its `@EmbeddedId` and `@MapsId` fields recursively in the response schemas - The Spring Data REST response post-processing rewrote an association property in place, so the `…Response` refs could leak into the schema shared with the request body representation </details> --- ### Configuration 📅 **Schedule**: (in timezone America/Los_Angeles) - Branch creation - "after 5pm,before 9am" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/mmoayyed/cas). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC42MS4zIiwidXBkYXRlZEluVmVyIjoiNDQuNjEuMyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJCb3QiLCJSZW5vdmF0ZSJdfQ==-->
pull Bot
pushed a commit
to Mu-L/camunda
that referenced
this pull request
Sep 10, 2026
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [org.springdoc:springdoc-openapi-starter-webmvc-ui](https://springdoc.org/) ([source](https://redirect.github.com/springdoc/springdoc-openapi)) | `3.1.0` → `3.1.1` |  |  | | [org.springdoc:springdoc-openapi-starter-webmvc-api](https://springdoc.org/) ([source](https://redirect.github.com/springdoc/springdoc-openapi)) | `3.1.0` → `3.1.1` |  |  | | [org.springdoc:springdoc-openapi-starter-common](https://springdoc.org/) ([source](https://redirect.github.com/springdoc/springdoc-openapi)) | `3.1.0` → `3.1.1` |  |  | --- ### Release Notes <details> <summary>springdoc/springdoc-openapi (org.springdoc:springdoc-openapi-starter-webmvc-ui)</summary> ### [`v3.1.1`](https://redirect.github.com/springdoc/springdoc-openapi/blob/HEAD/CHANGELOG.md#311---2026-09-06) ##### Security - [GHSA-6f5m-mhjg-qwxq](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-6f5m-mhjg-qwxq) – MCP tool callbacks do not encode path parameters, allowing request retargeting - [GHSA-4v2q-56v7-2cpw](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-4v2q-56v7-2cpw) – MCP transport, admin and dashboard endpoints are exposed by default - [GHSA-m4cg-mhpg-rh2r](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-m4cg-mhpg-rh2r) – MCP audit events record credentials and request/response bodies without redaction - [GHSA-5f9r-4mc4-qh3c](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-5f9r-4mc4-qh3c) – Unbounded MCP pending-confirmation store allows memory exhaustion - [GHSA-jcgg-59c8-w4wh](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-jcgg-59c8-w4wh) – MCP request context in a `ThreadLocal` can leak headers between concurrent WebFlux requests - [GHSA-rhhx-6j8h-8cvw](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-rhhx-6j8h-8cvw) – Unbounded per-locale OpenAPI cache allows memory exhaustion via `Accept-Language` - [GHSA-c925-vm88-mpp9](https://redirect.github.com/springdoc/springdoc-openapi/security/advisories/GHSA-c925-vm88-mpp9) – Scalar starters trust client-supplied forwarded headers and render from a shared mutable bean - [CVE-2026-75838](https://redirect.github.com/advisories/GHSA-748c-f84h-hp2v) – Cross-site scripting in the DOMPurify bundled with swagger-ui, addressed by upgrading swagger-ui to **5.32.14** ##### Added - [#&camunda#8203;3340](https://redirect.github.com/springdoc/springdoc-openapi/issues/3340) – Describe `JsonNullable` values without their Java wrapper - [#&camunda#8203;3325](https://redirect.github.com/springdoc/springdoc-openapi/issues/3325) – Manage the swagger artifacts in `springdoc-openapi-bom`, so that modules holding only the annotations stay in lockstep - [#&camunda#8203;3321](https://redirect.github.com/springdoc/springdoc-openapi/issues/3321) – Add `springdoc.login-endpoint.username-example` and `springdoc.login-endpoint.password-example` to document the Spring Security login endpoint ##### Changed - **MCP is now opt-in.** Set `springdoc.ai.mcp.enabled=true`, and `springdoc.ai.mcp.dashboard-enabled=true` for the dashboard - **The Scalar starters no longer register forwarded-header handling.** Set `server.forward-headers-strategy=framework` (or `native`) behind a trusted proxy - Add `springdoc.cache.max-entries` (default `100`) to bound the per-locale OpenAPI cache - Add `springdoc.ai.mcp.audit.redact` (default `true`) to mask secrets in MCP audit events - Document that the MCP approval flow is a confirmation step, not an authorization control - Document the security policy and the release versioning scheme - [#&camunda#8203;3351](https://redirect.github.com/springdoc/springdoc-openapi/issues/3351) – `java.time.Duration`, `LocalTime` and `OffsetTime` are now resolved by swagger-core instead of being forced to a bare `string`, so they carry a `format` (`duration` and `partial-time` respectively for the first two) - A property whose type only implements `Set` indirectly (`LinkedHashSet`, `TreeSet`, …) is now described with `uniqueItems: true`, following [swagger-api/swagger-core#5265](https://redirect.github.com/swagger-api/swagger-core/pull/5265) - Upgrade swagger-core to version **2.2.55** - Upgrade swagger-ui to version **5.32.14** ##### Fixed - [#&camunda#8203;3328](https://redirect.github.com/springdoc/springdoc-openapi/issues/3328), [#&camunda#8203;3337](https://redirect.github.com/springdoc/springdoc-openapi/issues/3337) – `/v3/api-docs` fails with a `NullPointerException` when spring-hateoas is on the classpath without `HateoasProperties` - [#&camunda#8203;3314](https://redirect.github.com/springdoc/springdoc-openapi/issues/3314) – `Json Processing Exception occurred` is logged for every constrained parameter whose schema is not a `JsonSchema` - [#&camunda#8203;3317](https://redirect.github.com/springdoc/springdoc-openapi/issues/3317) – An injected `HttpHeaders` parameter is described as a schema - [#&camunda#8203;3332](https://redirect.github.com/springdoc/springdoc-openapi/issues/3332) – The properties a Kotlin entity inherits from an `@Embeddable` are missing from the Spring Data REST schemas - [#&camunda#8203;3320](https://redirect.github.com/springdoc/springdoc-openapi/issues/3320) – `@Order` and `Ordered` ignored when applying customizers - [#&camunda#8203;3319](https://redirect.github.com/springdoc/springdoc-openapi/issues/3319) – A `Page` nested in another schema is not replaced by `PagedModel` - [#&camunda#8203;3313](https://redirect.github.com/springdoc/springdoc-openapi/issues/3313) – Springdoc auto-configurations rely on unspecified auto-configuration ordering - [#&camunda#8203;3331](https://redirect.github.com/springdoc/springdoc-openapi/issues/3331) – Validation annotations declared inside `Optional` parameters are dropped - [#&camunda#8203;3322](https://redirect.github.com/springdoc/springdoc-openapi/issues/3322) – Validation annotations on a container's type argument leak between parameters - [#&camunda#8203;3315](https://redirect.github.com/springdoc/springdoc-openapi/issues/3315) – An OAS 3.1 `JsonSchema` cannot be cloned through JSON - [#&camunda#8203;3300](https://redirect.github.com/springdoc/springdoc-openapi/issues/3300) – TYPE\_USE annotations on `@ParameterObject` fields are not passed along - [#&camunda#8203;3341](https://redirect.github.com/springdoc/springdoc-openapi/issues/3341) – Stabilize Spring Data `Sort` and `Pageable` schema property order - [#&camunda#8203;3338](https://redirect.github.com/springdoc/springdoc-openapi/issues/3338) – Kotlin nullability interpretation of the `Any?` type - [#&camunda#8203;3136](https://redirect.github.com/springdoc/springdoc-openapi/issues/3136) – A Spring Data REST association to a non-exported entity expands its `@EmbeddedId` and `@MapsId` fields recursively in the response schemas - The Spring Data REST response post-processing rewrote an association property in place, so the `…Response` refs could leak into the schema shared with the request body representation </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At 08:00 PM through 11:59 PM and 12:00 AM through 08:59 AM, Monday through Friday (`* 20-23,0-8 * * 1-5`) - Only on Sunday and Saturday (`* * * * 0,6`) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/camunda/camunda). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC43MS4wIiwidXBkYXRlZEluVmVyIjoiNDQuNzEuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXJlYS9iYWNrZW5kIiwiYXV0b21lcmdlIiwiZGVwZW5kZW5jaWVzIl19-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
_isSetTypeinAbstractModelConverterfailed to recognize indirectSetimplementations such asLinkedHashSet,HashSet, andTreeSet.The old implementation only matched an exact
Set.classequality check, plus a direct interface scan viaClass.getInterfaces(). BecausegetInterfaces()only returns directly implemented interfaces, subclasses that inheritSetbehavior through a parent class (for example a custom class extendingAbstractSetor a collection extending a concrete Set) were not detected, souniqueItemswas not set on the generated schema.Change
Set.class.equals(cls)withSet.class.isAssignableFrom(cls)inprotected boolean _isSetType(Class<?> cls).false).Tests
Added
IsSetTypeTestwith 7 test cases:null-> not a SetSetinterface -> SetHashSet-> SetLinkedHashSet-> SetTreeSet-> SetList,ArrayList) -> not a SetString,Integer,Map) -> not a SetAll 7 tests pass.