Skip to content

build(deps): bump swagger.version from 2.2.55 to 3.0.0 - #1341

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/maven/swagger.version-3.0.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/maven/swagger.version-3.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026

Copy link
Copy Markdown
Contributor

Bumps swagger.version from 2.2.55 to 3.0.0.
Updates io.swagger.core.v3:swagger-core from 2.2.55 to 3.0.0

Release notes

Sourced from io.swagger.core.v3:swagger-core's releases.

Swagger-core 3.0.0 released!

  • feat: ModelCopy.deepCopy, an exact deep copy of OpenAPI models (#5364)
  • docs: MIGRATION.md notes from a downstream (springdoc-openapi) migration (#5363)
  • fix: thread-safe ModelConverters.getInstance(boolean), refresh mappers derived from replaced shared mappers (#5362)
  • fix: don't add an empty property for a required @JsonUnwrapped member (OpenAPI 3.1) (#5361)
  • chore: update migration documentation for Jackson 3 changes (#5359)
  • chore: update Jackson dependencies to version 3.2.3 in migration docu… (#5354)
  • Upgrade dependency-review-action to v5 (#5349)
  • Move the Jakarta APIs from EE 10 to EE 11 (#5348)
  • chore: update dependencies, build plugins and CI for 3.0.0 (#5347)
  • chore: Make Jackson 2 compatibility of Swagger mappers opt-in (#5344)
  • docs: document retired Swagger artifact IDs in MIGRATION.md (#5343)
  • chore: prepare workflows for 3.x line (#5341)
  • refactor: move REST API from io.swagger.v3.jaxrs2 to io.swagger.v3.rest (#5336)
  • feat: Improve Jackson 2 compatibility for Swagger mappers (#5334)
  • fix: deduplicate subtypes before composing oneOf (#5332)
  • fix: keep oneOf when WRAPPER_OBJECT wrapping is applied (#5331)
  • fix: prevent examples duplication in Schema model (#5330)
  • refactor: drop unused httpclient and ant dependencies (#5329)
  • refactor: drop commons-io dependency (#5328)
  • chore: update documentation for version 3.0 (#5327)
  • feat: Set Swagger mapper defaults after the Jackson 3 migration (#5325)
  • feat: API to add Jackson modules / customize immutable Jackson 3 mappers (#5324)
  • refactor: drop commons-lang3 dependency (#5323)
  • fix: skip resolveSubtypes for sealed classes with @Schema(oneOf) (#5322)
  • fix: respect explicit @JsonProperty value in ModelResolver property name resolution (#5321)
  • feat: optionally compose @JsonSubTypes parents into oneOf (#5320)
  • chore: migrate swagger-core 3.x runtime from javax to jakarta, update … (#5319)
  • chore: rename modules (#5317)
  • chore: remove unused modules after migration to Jakarta (#5316)
  • chore: remove Java 17 support module (#5315) (#5315)
  • Update to jackson 3 (#5314)

Swagger-core 2.2.56 released!

  • ci: remove previous javadocs of the same release line on publish (#5399)
  • chore: update deps and workflows (#5398)
  • chore(deps): bump org.codehaus.plexus:plexus-archiver from 4.10.0 to 4.15.0 (#5381)
  • chore: add dependabot for 3.0.0 and change to weekly (#5372)
Changelog

Sourced from io.swagger.core.v3:swagger-core's changelog.

[3.0.0] - 2026-10-28

First release of the 3.x line. The runtime moves from Jackson 2 to Jackson 3, the minimum Java version is 17, and the REST API supports jakarta.* only. See https://github.com/swagger-api/swagger-core/blob/v3.0.0/MIGRATION.md for the upgrade guide.

Changed (breaking)

  • Java 17+ is required (previously Java 8+).
  • Jackson 3.2.3. Core, databind and dataformat moved to the tools.jackson groupId. jackson-annotations stays on com.fasterxml.jackson.core (2.22). Json.mapper(), Yaml.mapper() and the other mapper accessors return tools.jackson.databind.ObjectMapper. JacksonException is unchecked and replaces JsonProcessingException. ObjectMapperProcessor method signatures and custom serializer/deserializer classes changed.
  • Artifact IDs renamed. *-jakarta, swagger-jaxrs2* and swagger-jaxrs2-servlet-initializer-v2* are retired. New IDs: swagger-annotations, swagger-models, swagger-core, swagger-integration, swagger-rest, swagger-rest-servlet-initializer.
  • REST API packages and types renamed: io.swagger.v3.jaxrs2 to io.swagger.v3.rest, Jaxrs* to Rest*.
  • jakarta.* only. javax.* support removed. Jakarta APIs moved from EE 10 to EE 11.
  • Mapper defaults follow Jackson 3 (for example FAIL_ON_NULL_FOR_PRIMITIVES, FAIL_ON_TRAILING_TOKENS, ONE_BASED_MONTHS). Jackson 2 compatibility is opt-in via ObjectMapperFactory.setJackson2Compatibility(true).

Removed

  • Dependencies: commons-lang3, commons-io, snakeyaml (replaced by snakeyaml-engine), httpclient, ant.
  • Modules: swagger-java17-support and unused modules left over from before the Jakarta migration.

Added

  • API to register Jackson modules and customize the immutable Jackson 3 mappers through ObjectMapperFactory.
  • Opt-in oneOf composition for @JsonSubTypes parents. Enable it with -Djson-subtypes-oneof or ModelResolver.jsonSubTypesOneOf = true. When enabled, a parent class with @JsonSubTypes gets a oneOf that lists its resolved subtypes, and the subtypes keep their allOf reference to the parent. An explicit @Schema(oneOf = ...) on the parent takes priority. The default is off, so the generated schemas do not change unless you enable it. Use it for abstract classes and interfaces. A concrete parent class is not listed in its own oneOf, so an instance of the parent itself does not match the schema. Note: the result has a cycle (allOf from subtype to parent, oneOf from parent to subtype). Some tools, such as swagger-ui and openapi-generator, may not handle this shape well.

Fixed

  • Respect an explicit @JsonProperty value when ModelResolver resolves the property name.
  • Skip resolveSubtypes for sealed classes with @Schema(oneOf).
  • Deduplicate subtypes before composing oneOf.

... (truncated)

Commits
  • 34447d5 prepare release 3.0.0 (#5366)
  • a9e1fae feat: ModelCopy.deepCopy, an exact deep copy of OpenAPI models (#5364)
  • 9ee4aa3 fix: don't add an empty property for a required @​JsonUnwrapped member (OpenAP...
  • 1a87894 fix: thread-safe ModelConverters.getInstance(boolean), refresh mappers derive...
  • 5086388 docs: MIGRATION.md notes from a downstream (springdoc-openapi) migration (#5363)
  • 21cde34 docs: update migration documentation for Jackson 3 changes (#5359)
  • 51deb21 chore: update Jackson dependencies to version 3.2.3 in migration documentatio...
  • c0f7a52 fix: keep oneOf when WRAPPER_OBJECT wrapping is applied (#5331)
  • 6e29b02 feat: optionally compose @​JsonSubTypes parents into oneOf (#5320)
  • 9d83dc2 fix: deduplicate subtypes before composing oneOf (#5332)
  • Additional commits viewable in compare view

Updates io.swagger.core.v3:swagger-models from 2.2.55 to 3.0.0

Updates io.swagger.core.v3:swagger-annotations from 2.2.55 to 3.0.0

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps `swagger.version` from 2.2.55 to 3.0.0.

Updates `io.swagger.core.v3:swagger-core` from 2.2.55 to 3.0.0
- [Release notes](https://github.com/swagger-api/swagger-core/releases)
- [Changelog](https://github.com/swagger-api/swagger-core/blob/v3.0.0/CHANGELOG.md)
- [Commits](swagger-api/swagger-core@v2.2.55...v3.0.0)

Updates `io.swagger.core.v3:swagger-models` from 2.2.55 to 3.0.0

Updates `io.swagger.core.v3:swagger-annotations` from 2.2.55 to 3.0.0

---
updated-dependencies:
- dependency-name: io.swagger.core.v3:swagger-core
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.swagger.core.v3:swagger-models
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: io.swagger.core.v3:swagger-annotations
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants