diff --git a/commons-rest-api/pom.xml b/commons-rest-api/pom.xml
index 2b545a3..275abbe 100755
--- a/commons-rest-api/pom.xml
+++ b/commons-rest-api/pom.xml
@@ -40,7 +40,7 @@ SOFTWARE.
io.swagger.core.v3
swagger-annotations
- 2.2.14
+ ${swagger-annotations.version}
provided
diff --git a/commons-rest-openapi/src/main/java/io/rocketbase/commons/openapi/OpenApiClientCreatorService.java b/commons-rest-openapi/src/main/java/io/rocketbase/commons/openapi/OpenApiClientCreatorService.java
index 00f61fa..6fcff21 100644
--- a/commons-rest-openapi/src/main/java/io/rocketbase/commons/openapi/OpenApiClientCreatorService.java
+++ b/commons-rest-openapi/src/main/java/io/rocketbase/commons/openapi/OpenApiClientCreatorService.java
@@ -46,7 +46,8 @@ public class OpenApiClientCreatorService {
@SneakyThrows
public List getControllers(HttpServletRequest request) {
- OpenAPI openAPI = Json.mapper().readValue(openApiWebMvcResource.openapiJson(request, Constants.DEFAULT_API_DOCS_URL, Locale.GERMAN), OpenAPI.class);
+ byte[] openapiJson = openApiWebMvcResource.openapiJson(request, Constants.DEFAULT_API_DOCS_URL, Locale.getDefault());
+ OpenAPI openAPI = Json.mapper().readValue(openapiJson, OpenAPI.class);
Map> remapped = new HashMap<>();
for (Map.Entry entry : openAPI.getPaths().entrySet()) {
addOperation(remapped, PathItem.HttpMethod.GET, entry.getKey(), entry.getValue().getGet());
diff --git a/pom.xml b/pom.xml
index 9572b61..92c3a95 100755
--- a/pom.xml
+++ b/pom.xml
@@ -101,6 +101,7 @@ SOFTWARE.
3.2.1
2.2.0
1.18.28
+ 2.2.15