You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a mismatch between the result of a call and the openapi documentation generated. The call should return a Page of MyDto, which contains a sort property.
Environment:
Spring Boot Version: 3.3.2
springdoc-openapi Modules:
springdoc-openapi-starter-webmvc-ui 2.6.0
springdoc-openapi-maven-plugin 1.4
Here is an example of response i get with my call. No sorting is applied :
As you can see, the sort property contains an object with empty, unosrted and sorted. But my openapi documentation tells me i should get something like this :
Pretty different. My openapi swagger used to also have the 3 properties empty, unsorted and sorted when I had spring boot 2 instead of 3 (I used springdoc-openapi-ui 1.6.11 and springdoc-openapi-maven-plugin 1.1), but then changed to this. I can't figure out why.
Expected :
I'd like my openapi documentation to actually reflect the object my call responds.
Could you help me figure out what i can do to fix this ?
Additional info :
While looking for a solution, i found this issue. It seems highly similar to mine.
The text was updated successfully, but these errors were encountered:
I found a mismatch between the result of a call and the openapi documentation generated. The call should return a Page of MyDto, which contains a sort property.
Environment:
springdoc-openapi Modules:
Here is an example of response i get with my call. No sorting is applied :
As you can see, the sort property contains an object with empty, unosrted and sorted. But my openapi documentation tells me i should get something like this :
Pretty different. My openapi swagger used to also have the 3 properties empty, unsorted and sorted when I had spring boot 2 instead of 3 (I used springdoc-openapi-ui 1.6.11 and springdoc-openapi-maven-plugin 1.1), but then changed to this. I can't figure out why.
Expected :
I'd like my openapi documentation to actually reflect the object my call responds.
Could you help me figure out what i can do to fix this ?
Additional info :
While looking for a solution, i found this issue. It seems highly similar to mine.
The text was updated successfully, but these errors were encountered: