diff options
author | Tony Hansen <tony@att.com> | 2020-08-11 15:16:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-11 15:16:14 +0000 |
commit | 3e872d7f1be90810bc7920f4ab0cbc03d5c502d9 (patch) | |
tree | e8149ec837aabb7a4ba615cb23a7e81a6949d3c1 /components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java | |
parent | 965aa42e6435035b0379602b3a82c4797f35b188 (diff) | |
parent | 06aa74fb7f94297475ee4b8d170688bb9f80d163 (diff) |
Merge "Revert "BBS-EP vulnerability fix""
Diffstat (limited to 'components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java')
-rw-r--r-- | components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java b/components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java index 1dbf0f6c..c3c87da2 100644 --- a/components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java +++ b/components/bbs-event-processor/src/main/java/org/onap/bbs/event/processor/config/SwaggerConfiguration.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * BBS-RELOCATION-CPE-AUTHENTICATION-HANDLER * ================================================================================ - * Copyright (C) 2019-2020 NOKIA Intellectual Property. All rights reserved. + * Copyright (C) 2019 NOKIA Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -34,6 +34,7 @@ import springfox.documentation.spi.DocumentationType; import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.swagger2.annotations.EnableSwagger2; +@EnableSwagger2 @Configuration @Profile("production") public class SwaggerConfiguration extends WebMvcConfigurationSupport { @@ -79,4 +80,4 @@ public class SwaggerConfiguration extends WebMvcConfigurationSupport { registry.addResourceHandler(WEBJARS) .addResourceLocations(WEBJARS_PATH); } -} +}
\ No newline at end of file |