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
Describe the bug
I have an OpenAPI v3 contract interface generated using SpringDoc from Spring Boot java code.
I try to have a JSON requestBody example reference:
Describe the bug
I have an OpenAPI v3 contract interface generated using SpringDoc from Spring Boot java code.
I try to have a JSON requestBody example reference:
but "description" field is added which is not standard, consequently validator failed on my contract interface.
And this came from https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-core/src/main/java/io/swagger/v3/core/util/AnnotationsUtils.java#L317 which is called indirectly by SpringDoc.
To Reproduce
To reproduce I have attached a JUnit test case.
fix-Add-JUnit-test.zip
Regards.
The text was updated successfully, but these errors were encountered: