aboutsummaryrefslogtreecommitdiffstats
path: root/openapi
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-07-20 09:15:41 +0000
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-07-20 09:15:41 +0000
commitd447e23f0d09d7e2835d160c665a42bdea66bdd5 (patch)
tree10645008f13151885f6979c9dcc21df079ece4e8 /openapi
parenta29488d0f476eae0a7821026ded3cf538256757b (diff)
Update preferences openapi generator dependency
Issue-ID: PORTALNG-19 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de> Change-Id: Ieb1d895db5cd7e4436de19264df2bbd2d6324d4c
Diffstat (limited to 'openapi')
-rw-r--r--openapi/build.gradle9
-rw-r--r--openapi/src/main/resources/api/api.yml6
2 files changed, 4 insertions, 11 deletions
diff --git a/openapi/build.gradle b/openapi/build.gradle
index 01664eb..1f7148e 100644
--- a/openapi/build.gradle
+++ b/openapi/build.gradle
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'idea'
- id 'org.openapi.generator' version '5.3.0'
+ id 'org.openapi.generator'
}
repositories {
@@ -9,11 +9,8 @@ repositories {
}
dependencies {
- implementation 'org.openapitools:openapi-generator:5.3.0'
- implementation 'org.springframework.boot:spring-boot-starter-webflux:2.5.5'
- // NOTE(KE) needed to add these dependencies, check in next version whether its removable...
- // https://github.com/OpenAPITools/openapi-generator/issues/8360
- compileOnly "io.springfox:springfox-swagger2:3.0.0"
+ implementation 'org.openapitools:openapi-generator:6.2.0'
+ implementation 'org.springframework.boot:spring-boot-starter-webflux:2.7.3'
}
// https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator-gradle-plugin/README.adoc
diff --git a/openapi/src/main/resources/api/api.yml b/openapi/src/main/resources/api/api.yml
index e578911..db599b1 100644
--- a/openapi/src/main/resources/api/api.yml
+++ b/openapi/src/main/resources/api/api.yml
@@ -3,11 +3,7 @@ info:
title: Config API
version: '1.0'
servers:
- - url: 'http://localhost:9001/{base}'
- variables:
- base:
- default: 'portal-prefs'
- description: Basepath
+ - url: 'http://localhost:9001/'
paths:
/v1/preferences:
get: