Skip to content

refactor: replace writer(new DefaultPrettyPrinter()) with writerWithDefaultPrettyPrinter()#5252

Open
vpelikh wants to merge 1 commit into
swagger-api:masterfrom
vpelikh:writerWithDefaultPrettyPrinter
Open

refactor: replace writer(new DefaultPrettyPrinter()) with writerWithDefaultPrettyPrinter()#5252
vpelikh wants to merge 1 commit into
swagger-api:masterfrom
vpelikh:writerWithDefaultPrettyPrinter

Conversation

@vpelikh

@vpelikh vpelikh commented Jul 23, 2026

Copy link
Copy Markdown

Description

Replace explicit DefaultPrettyPrinter instantiation with the equivalent writerWithDefaultPrettyPrinter() convenience method across the codebase. This is a pure refactoring — no behavioral change.

This also reduces diff noise from the Jackson 3 migration PR (#5031) by pulling out the writerWithDefaultPrettyPrinter refactoring into its own change.

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

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.

1 participant