Skip to content

Class mismatch with swagger-core (2.2.32) missing $dynamicRef in Schema #3003

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lc-nyovchev opened this issue May 21, 2025 · 0 comments
Open

Comments

@lc-nyovchev
Copy link

Describe the bug

Missing property $dynamicRef in Schema model for OpenAPI v3.1
from DataRestDelegatingMethodParameterCustomizer

To Reproduce
Steps to reproduce the behavior:

  • What version of spring-boot you are using? 3.4.5

  • What modules and versions of springdoc-openapi are you using? 2.8.8

  • Using also io.swagger.core.v3.jakarta-annotations 2.2.32

  • What is the actual and the expected result using OpenAPI Description (yml or json)? n/a

  • Provide with a sample code (HelloController) or Test that reproduces the problem n/a

That kind of combination creates the problem under openapi 3.1 spec because Schema doesn't have $dynamicRef

@lc-nyovchev lc-nyovchev changed the title Class mismatch with swagger-core (2.2.32) Class mismatch with swagger-core (2.2.32) missing $dynamicRef in Schema May 21, 2025
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

No branches or pull requests

1 participant