aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2021-03-17 09:28:59 +0100
committerKrystian Kedron <k.kedron@partner.samsung.com>2021-03-23 13:37:08 +0000
commit5ea372baed3b743dbf3ddeffb8fe1a0acdf376d6 (patch)
treeaf5b8f01a32a71cd5c0361141e11d9236ee1093e /pom.xml
parent431dd5721e7c37170c254836f4566e48a0cc1837 (diff)
Provide initial a1-pe-sim docs
Swagger tool integration README.md Configuration files example content Issue-ID: INT-1887 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Idbdec7b3091dc78428ec5740283f82d1e2b9c19b
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 5998c81..fabb4fd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,6 +125,44 @@
<plugin>
<artifactId>maven-resources-plugin</artifactId>
</plugin>
+ <plugin>
+ <groupId>com.github.kongchen</groupId>
+ <artifactId>swagger-maven-plugin</artifactId>
+ <version>3.1.7</version>
+ <configuration>
+ <apiSources>
+ <apiSource>
+ <springmvc>true</springmvc>
+ <locations>org.onap.a1pesimulator</locations>
+ <schemes>http</schemes>
+ <host>localhost:9998</host>
+ <basePath>/</basePath>
+ <info>
+ <title> A1 Policy Enforcement Simulator REST APIs (Policy Enforcement PoC) </title>
+ <version>${project.version}</version>
+ <description>
+ This interface supports the A1-P OSC_2.1.0 API also provides internal API to managed the RAN elements (Cells, Ues) and allows to customized the send VES Events
+ </description>
+ <license>
+ <name>Copyright (C) 2021 Samsung Electronics</name>
+ </license>
+ </info>
+ <swaggerDirectory>${basedir}/doc/swagger/</swaggerDirectory>
+ <swaggerFileName>a1-pe-simulator-spec</swaggerFileName>
+ <templatePath>${basedir}/doc/swagger/templates/strapdown.html.hbs</templatePath>
+ <outputPath>${basedir}/doc/swagger/html/a1-pe-simulator-api.html</outputPath>
+ </apiSource>
+ </apiSources>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>