Skip to content

chore: update documentation for version 3.0 - #5327

Merged
daniel-kmiecik merged 5 commits into
3.0.0from
update-documentation-for-new-version
Sep 24, 2026
Merged

daniel-kmiecik merged 5 commits into
3.0.0from
update-documentation-for-new-version

Conversation

@daniel-kmiecik

@daniel-kmiecik daniel-kmiecik commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Pull Request

Thank you for contributing to swagger-core!

Please fill out the following information to help us review your PR efficiently.


Description

This pull request adds a comprehensive migration guide for upgrading to Swagger Core 3.0. The new MIGRATION.md file outlines all major breaking changes, dependency updates, and migration steps required for users moving from 2.x to 3.0, with specific guidance for Java and Jackson upgrades, module renames, and custom extension points.

The most important changes are:

Platform and Dependency Upgrades:

  • Swagger Core 3.0 now requires Java 17 or higher, dropping support for Java 8.
  • Jackson core, databind, and dataformat dependencies must be updated from the com.fasterxml.jackson groupId to tools.jackson, while jackson-annotations remains on com.fasterxml.jackson.core.
  • The legacy org.yaml:snakeyaml dependency is removed; YAML support is now provided via org.snakeyaml:snakeyaml-engine, included transitively.

Module and API Changes:

  • Two key modules are renamed: swagger-jaxrs2 becomes swagger-rest, and swagger-jaxrs2-servlet-initializer-v2 becomes swagger-rest-servlet-initializer.
  • Custom ObjectMapperProcessor implementations must update their method signatures to return the (immutable) `ObjectMapper

Follow-up: #4991

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • ♻️ Refactor (non-breaking change)
  • 🧪 Tests
  • 📝 Documentation
  • 🧹 Chore (build or tooling)

Checklist

  • I have added/updated tests as needed
  • I have added/updated documentation where applicable
  • The PR title is descriptive
  • The code builds and passes tests locally
  • I have linked related issues (if any)

Screenshots / Additional Context

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The reviewed documentation contains unresolved accuracy and compatibility issues.

Get a fresh assessment by requesting another Copilot review.

Review effort: Lite
Findings: 7 Low severity

Open (7)
What changed in this PR

This PR updates Swagger Core 3.0 documentation and adds a 2.x-to-3.0 migration guide.

Changes:

  • Documents Java 17, Jackson 3, Jakarta dependencies, module renames, and API migration steps.
  • Refreshes root, Maven, and Gradle plugin documentation, examples, and parameter tables.
File Review findings
README.md CI badge targets the master workflow instead of the 3.0.0 branch workflow. Nit, 1 vote.
modules/​swagger-maven-plugin/​README.md Correct Jakarta REST/Servlet versions; fix prettyPrint default, incomplete formatting, and optional parameter table entries. Nits, 3/2/1/3 votes.
modules/​swagger-gradle-plugin/​README.md Update the Gradle minimum for Java 17; correct outputDir, prettyPrint, openAPI31, formatting, and optional parameter documentation. Nits, 2/1/1/1/2/3 votes.
MIGRATION.md Clarify Jackson 3 serializer signatures, core imports, ObjectMapperFactory compatibility wording, and Jackson module/provider coordinates. Nits, 3/1/1/1 votes.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread MIGRATION.md Resolved
Comment thread modules/swagger-gradle-plugin/README.md Resolved
Comment thread modules/swagger-gradle-plugin/README.md Resolved
Comment thread modules/swagger-gradle-plugin/README.md Resolved
Comment thread modules/swagger-maven-plugin/README.md Resolved
Comment thread modules/swagger-maven-plugin/README.md Resolved
Comment thread modules/swagger-maven-plugin/README.md Resolved
daniel-kmiecik and others added 2 commits September 22, 2026 14:51
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@daniel-kmiecik
daniel-kmiecik requested a lite review from Copilot September 22, 2026 13:24
@daniel-kmiecik
daniel-kmiecik marked this pull request as ready for review September 22, 2026 13:24

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Comment thread MIGRATION.md Resolved
Comment thread modules/swagger-maven-plugin/README.md Resolved
@daniel-kmiecik
daniel-kmiecik force-pushed the update-documentation-for-new-version branch from 7114a7c to ac888e7 Compare September 22, 2026 13:36
@daniel-kmiecik
daniel-kmiecik merged commit e02c93c into 3.0.0 Sep 24, 2026
6 checks passed
@daniel-kmiecik
daniel-kmiecik deleted the update-documentation-for-new-version branch September 24, 2026 11:08
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.

3 participants