Repository navigation
chore: update documentation for version 3.0 - #5327
Merged
Merged
Conversation
There was a problem hiding this comment.
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
Open (7)
Renaming only the base class does not leave custom serializer method signatures unchanged. Jackson… · New The README still advertises Gradle 3.2 even though this release requires Java 17; Gradle 3.2… · New The description omits the closing parenthesis after the three supported formats, so the parameter… · New These values are shifted into theRequiredcolumn. Both properties are optional inResolveTask;… · New The sample now targetsswagger-rest3.0 but still pins Jakarta REST 2.1.6 and Servlet 4.0.4… · New The description omits the closing parenthesis after the three supported formats, so the parameter… · New These values are shifted into theRequiredcolumn.schemaResolutionis optional with effective… · New
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.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Several documentation entries contain inaccurate requirements or defaults, malformed examples, and migration instructions that may not compile.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 2
Open (2)
Resolved since last review (7)
These values are shifted into theRequiredcolumn.schemaResolutionis optional with effective… The description omits the closing parenthesis after the three supported formats, so the parameter… The sample now targetsswagger-rest3.0 but still pins Jakarta REST 2.1.6 and Servlet 4.0.4… These values are shifted into theRequiredcolumn. Both properties are optional inResolveTask;… The description omits the closing parenthesis after the three supported formats, so the parameter… The README still advertises Gradle 3.2 even though this release requires Java 17; Gradle 3.2… Renaming only the base class does not leave custom serializer method signatures unchanged. Jackson…
daniel-kmiecik
force-pushed
the
update-documentation-for-new-version
branch
from
September 22, 2026 13:36
7114a7c to
ac888e7
Compare
djankows
approved these changes
Sep 24, 2026
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.

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.mdfile 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:
com.fasterxml.jacksongroupId totools.jackson, whilejackson-annotationsremains oncom.fasterxml.jackson.core.org.yaml:snakeyamldependency is removed; YAML support is now provided viaorg.snakeyaml:snakeyaml-engine, included transitively.Module and API Changes:
swagger-jaxrs2becomesswagger-rest, andswagger-jaxrs2-servlet-initializer-v2becomesswagger-rest-servlet-initializer.ObjectMapperProcessorimplementations must update their method signatures to return the (immutable) `ObjectMapperFollow-up: #4991
Type of Change
Checklist
Screenshots / Additional Context