I am using Springdoc Open API with Spring Boot 2.7.1 with an Open API (Swagger v3) definition.
All works fine up to version 1.6.8. Upgrading to version 1.6.9 breaks when trying to access the documentation page exposed by the service.
The exception is the following.
java.lang.NoSuchMethodError: 'io.swagger.v3.oas.models.media.Schema io.swagger.v3.oas.models.media.Schema.addProperty(java.lang.String, io.swagger.v3.oas.models.media.Schema)'
at org.springdoc.core.RequestBodyInfo.addProperties(RequestBodyInfo.java:91) ~[springdoc-openapi-common-1.6.9.jar:1.6.9]
at org.springdoc.core.GenericParameterService.calculateRequestBodySchema(GenericParameterService.java:381) ~[springdoc-openapi-common-1.6.9.jar:1.6.9]
at org.springdoc.core.GenericParameterService.calculateSchema(GenericParameterService.java:343) ~[springdoc-openapi-common-1.6.9.jar:1.6.9]
at org.springdoc.core.RequestBodyService.buildRequestBody(RequestBodyService.java:275) ~[springdoc-openapi-common-1.6.9.jar:1.6.9]
at org.springdoc.core.RequestBodyService.calculateRequestBodyInfo(RequestBodyService.java:251) ~[springdoc-openapi-common-1.6.9.jar:1.6.9]
...
Downgrading back to v1.6.8 fixes the issue.
Other version information:
org.openapitools.openapi-generator-maven-plugin: 5.3.0
io.swagger.parser.v3.swagger-parser: 2.0.29
I am using Springdoc Open API with Spring Boot 2.7.1 with an Open API (Swagger v3) definition.
All works fine up to version 1.6.8. Upgrading to version 1.6.9 breaks when trying to access the documentation page exposed by the service.
The exception is the following.
Downgrading back to v1.6.8 fixes the issue.
Other version information:
org.openapitools.openapi-generator-maven-plugin: 5.3.0
io.swagger.parser.v3.swagger-parser: 2.0.29