summaryrefslogtreecommitdiffstats
path: root/cps-application
diff options
context:
space:
mode:
authorNiamh Core <niamh.core@est.tech>2021-07-21 13:27:34 +0000
committerGerrit Code Review <gerrit@onap.org>2021-07-21 13:27:34 +0000
commit187c8c84dcfa347ba3475a36c73b36ef59874655 (patch)
treec1595b43b2fb669e5e2677f746c04d766be2fb8a /cps-application
parentf0527c58c17963d940535d0ce0eb934c2b4c635c (diff)
parent2472e61ecf2f5ebf9c5e3ddcf9c2b66ab0d4219e (diff)
Merge "CPS-401 Update Open API YAML with data types and example for output (cpsData)"
Diffstat (limited to 'cps-application')
-rw-r--r--cps-application/src/main/resources/application.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml
index 1b62b02df5..ac620f6cb3 100644
--- a/cps-application/src/main/resources/application.yml
+++ b/cps-application/src/main/resources/application.yml
@@ -73,6 +73,11 @@ notification:
enabled: false
topic: ${CPS_CHANGE_EVENT_TOPIC:cps.cfg-state-events}
+springdoc:
+ swagger-ui:
+ url: /openapi.yml
+ path: /swagger-ui/index.html
+
security:
# comma-separated uri patterns which do not require authorization
permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs