Closed
Description
Describe the feature
After upgrading from Spring Docs 1.5.13 to 1.6.1, Swagger UI validation is enabled.
To Reproduce
Steps to reproduce the behavior:
- What version of spring-boot you are using? We have tried with 2.3.11.RELEASE and 2.5.7.
- What modules and versions of springdoc-openapi are you using? 1.6.1
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-webmvc-core</artifactId>
<version>1.6.1</version>
</dependency>
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-ui</artifactId>
<version>1.6.1</version>
</dependency>
We have also the following properties :
springdoc.api-docs.path=/swagger.json
springdoc.swagger-ui.path=/swagger-ui.html
springdoc.show-actuator=true
springdoc.paths-to-exclude=/error
Expected behavior
- We do not change the
springdoc.swagger-ui.validatorUrl
property, so we expect that Swagger UI validation is disabled by default as mentioned in the documentation : https://springdoc.org/#swagger-ui-properties