Add swagger models for swagger endpoint generation
The swagger models dependency is required to generate the swagger for
the Swagger endpoint in Springboot applications.
Springboot needs Jackson annotations as well.
Issue https://jira.onap.org/browse/POLICY-3465 opened for the general
Swagger upgrade work.
Issue-ID: POLICY-3424
Change-Id: Ie86db5652be26df085234f0699f0363081d06af0
Signed-off-by: liamfallon <liam.fallon@est.tech>
diff --git a/pom.xml b/pom.xml
index eb8b58a..da214ff 100644
--- a/pom.xml
+++ b/pom.xml
@@ -131,6 +131,15 @@
<scope>test</scope>
</dependency>
<dependency>
+ <groupId>io.swagger</groupId>
+ <artifactId>swagger-models</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ <version>${version.jackson}</version>
+ </dependency>
+ <dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-boot-starter</artifactId>
<version>${version.springfox}</version>