summaryrefslogtreecommitdiffstats
path: root/app/src/main
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 /app/src/main
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 'app/src/main')
-rw-r--r--app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java b/app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java
index 584b3b4..510ef37 100644
--- a/app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java
+++ b/app/src/main/java/org/onap/portal/prefs/controller/PreferencesController.java
@@ -63,7 +63,7 @@ public class PreferencesController implements PreferencesApi {
}
@Override
- public Mono<ResponseEntity<Preferences>> savePreferences(String xRequestId, @Valid Mono<Preferences> preferences,
+ public Mono<ResponseEntity<Preferences>> savePreferences(String xRequestId, Mono<Preferences> preferences,
ServerWebExchange exchange) {
return IdTokenExchange
.extractUserId(exchange)
@@ -81,7 +81,7 @@ public class PreferencesController implements PreferencesApi {
}
@Override
- public Mono<ResponseEntity<Preferences>> updatePreferences(String xRequestId, @Valid Mono<Preferences> preferences, ServerWebExchange exchange) {
+ public Mono<ResponseEntity<Preferences>> updatePreferences(String xRequestId, Mono<Preferences> preferences, ServerWebExchange exchange) {
return savePreferences(xRequestId, preferences, exchange);
}