Skip to content

refactor: simplify type handling in ModelDeserializer#5227

Open
Mattias-Sehlstedt wants to merge 1 commit into
swagger-api:masterfrom
Mattias-Sehlstedt:refactor-model-deserializer
Open

refactor: simplify type handling in ModelDeserializer#5227
Mattias-Sehlstedt wants to merge 1 commit into
swagger-api:masterfrom
Mattias-Sehlstedt:refactor-model-deserializer

Conversation

@Mattias-Sehlstedt

@Mattias-Sehlstedt Mattias-Sehlstedt commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Pull Request

Thank you for contributing to swagger-core!

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


Description

Simplifies the logic in the ModelDeserializer so that a typed Schema is clearly handled as its own separate scenario with its own processing. Also reduced the surface area against Jackson, so that an upgrade will have a much smaller delta (this change was mainly inspired by this larger-than-necessary delta).

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

@Rymert-Mostert Rymert-Mostert 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.

My bad. Just looking for the "Dismiss my own review" button.
https://github.com/orgs/community/discussions/120006

@Mattias-Sehlstedt Mattias-Sehlstedt force-pushed the refactor-model-deserializer branch from af818f2 to 914d3e5 Compare July 8, 2026 15:07
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.

2 participants