diff --git a/modules/openapi-generator-online/pom.xml b/modules/openapi-generator-online/pom.xml index 177947000298..7bed6d4825ef 100644 --- a/modules/openapi-generator-online/pom.xml +++ b/modules/openapi-generator-online/pom.xml @@ -12,7 +12,7 @@ jar openapi-generator-online - 2.5.14 + 2.7.18 3.0.0 **/org/openapitools/codegen/online/**/* diff --git a/modules/openapi-generator-online/src/main/resources/application.properties b/modules/openapi-generator-online/src/main/resources/application.properties index 98e895618562..7751d2caed6c 100644 --- a/modules/openapi-generator-online/src/main/resources/application.properties +++ b/modules/openapi-generator-online/src/main/resources/application.properties @@ -2,4 +2,7 @@ springfox.documentation.swagger.v2.path=/api-docs server.port=8080 spring.jackson.date-format=org.openapitools.codegen.online.RFC3339DateFormat spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false -spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,classpath:/public/ +# TODO: remove this line (back to the default PathPatternParser) once springfox is replaced by springdoc. +# springfox 3.0.0 only works with the Ant-style path matcher, which is no longer the default since Spring Boot 2.6; +# without this line the application fails to start. +spring.mvc.pathmatch.matching-strategy=ant-path-matcher