diff options
Diffstat (limited to 'a1-policy-management/pom.xml')
-rw-r--r-- | a1-policy-management/pom.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/a1-policy-management/pom.xml b/a1-policy-management/pom.xml index 718a2742..411878df 100644 --- a/a1-policy-management/pom.xml +++ b/a1-policy-management/pom.xml @@ -432,6 +432,22 @@ </configuration> </execution> <execution> + <id>generate-openapi-json-config-a1pms</id> + <phase>prepare-package</phase> + <goals> + <goal>generate</goal> + </goals> + <configuration> + <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api-v3.yaml</inputSpec> + <generatorName>openapi</generatorName> + <apisToGenerate>A1PolicyManagement</apisToGenerate> + <output>${project.basedir}/api/offeredapis/swagger</output> + <configOptions> + <outputFileName>a1pms-api-v3.json</outputFileName> + </configOptions> + </configuration> + </execution> + <execution> <id>generate-openapi-html</id> <phase>prepare-package</phase> <goals> @@ -477,6 +493,29 @@ </configuration> </execution> <execution> + <id>generate-openapi-html-config-a1pms</id> + <phase>prepare-package</phase> + <goals> + <goal>generate</goal> + </goals> + <configuration> + <inputSpec>${project.basedir}/api/offeredapis/swagger/pms-api-v3.json</inputSpec> + <generatorName>html2</generatorName> + <output>${project.basedir}/api/offeredapis/openapitoolgen/offeredapis/pms-api/v3/custom</output> + <skipOperationExample>false</skipOperationExample> + <strictSpec>false</strictSpec> + <apisToGenerate>A1PolicyManagement</apisToGenerate> + <configOptions> + <appDescription>The O-RAN Non-RT RIC Policy Management Service + provides a REST API for managing O-RAN A1 Policies.</appDescription> + <appName>ONAP CCSDK A1 Policy Management Service</appName> + <infoUrl>https://wiki.onap.org/display/DW/O-RAN+A1+Policies+in+ONAP</infoUrl> + <licenseInfo>Copyright (C) 2024 OpenInfra Foundation Europe. All rights reserved.</licenseInfo> + <licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl> + </configOptions> + </configuration> + </execution> + <execution> <id>generate-policy-api</id> <phase>generate-sources </phase> <goals> @@ -558,8 +597,10 @@ <include>swagger/pms-api.yaml</include> <include>swagger/pms-api-v3.json</include> <include>swagger/pms-api-v3.yaml</include> + <include>swagger/a1pms-api-v3.json</include> <include>openapitoolgen/offeredapis/pms-api/index.html</include> <include>openapitoolgen/offeredapis/pms-api/v3/index.html</include> + <include>openapitoolgen/offeredapis/pms-api/v3/custom/index.html</include> </includes> </resource> </resources> |