aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/application.yml
diff options
context:
space:
mode:
authorRenu Kumari <renu.kumari@bell.ca>2021-08-10 16:43:04 -0400
committerRenu Kumari <renu.kumari@bell.ca>2021-08-19 07:13:57 -0400
commitea04c07ad990b5543766e95e234cae746bd1fbc1 (patch)
treec50008212dbf1471e859c0f9f681baa146a57c7c /src/main/resources/application.yml
parent25ed5a8a63e88edd0b9c8285b640839a6e93866a (diff)
Validate controller input and provide expected response
- validate endpoint input - set default values if it is missing in the optional fields - used hateoas for previous and next record link generation - use service layer in controller layer Issue-ID: CPS-449 Signed-off-by: Renu Kumari <renu.kumari@bell.ca> Change-Id: I7936cd9e8e7dead3b5650b421bb12f10d14ffa9b
Diffstat (limited to 'src/main/resources/application.yml')
-rwxr-xr-xsrc/main/resources/application.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index c79351a..41eddf8 100755
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -57,6 +57,9 @@ app:
listener:
data-updated:
topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events}
+ query:
+ response:
+ max-page-size: 10000
springdoc:
swagger-ui: