Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wrong type in response schema of endpoint when updated from 2.7.0 to 2.8.3 #2868

Unanswered
ydrozhdzhal asked this question in Q&A
Discussion options

After updating org.springdoc:springdoc-openapi-starter-webmvc-ui from 2.7.0 to 2.8.3 we started receiving different response scheme in comparison to what we had at 2.7.0. Previously it was concrete class type displayed in response schema, now all class types replaced by object.See attached screenshot for details:

Screenshot 2025年01月20日 at 11 57 05

Can somebody assist with this? Can I reach desired behavior using some additional configuration parameters?

When opening http://localhost:8080/v3/api-docs - I can see that json document contains correct object types, so, probably there is some bug in rendering logic of UI ?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

This is the expected behavior as far as I am aware, see this response #2867 (comment)

You must be logged in to vote
1 reply
Comment options

I think that this comes from the switch to OpenAPI 3.1 that was done in 2.8.0:
#2790
There are a few bugs in swagger-core regarding 3.1 support, so you way want to switch back to 3.0 until they are resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

AltStyle によって変換されたページ (->オリジナル) /