diff options
author | Dan Timoney <dtimoney@att.com> | 2020-11-05 08:17:24 -0500 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2020-11-05 09:59:56 -0500 |
commit | f991ba3852ea7a6e8ed9b76cfd90d8b04a774d03 (patch) | |
tree | 52269e5ce6f09eee255eed01739add5c2e71f5f9 /generic-resource-api/model/swagger/pom.xml | |
parent | 6756e81243a47bbf50136733391a60f55d3a1d96 (diff) |
Removed dup module name from GRA yaml
Removed duplicate instances of module name in generated swagger
yaml for generic resource api by running a script after yang2swagger.
Change-Id: I274e01eb2c19f6945ea7eff72c15d560a80c5aba
Issue-ID: SDNC-1406
Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'generic-resource-api/model/swagger/pom.xml')
-rw-r--r-- | generic-resource-api/model/swagger/pom.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/generic-resource-api/model/swagger/pom.xml b/generic-resource-api/model/swagger/pom.xml index c9ee7893..b49d6ecb 100644 --- a/generic-resource-api/model/swagger/pom.xml +++ b/generic-resource-api/model/swagger/pom.xml @@ -188,6 +188,28 @@ </executions> </plugin> <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>exec-maven-plugin</artifactId> + <version>1.2.1</version> + <executions> + <execution> + <configuration> + <executable>sh</executable> + <arguments> + <argument>${basedir}/fixModuleUri.sh</argument> + <argument>GENERIC-RESOURCE-API</argument> + <argument>src/main/yaml/generic-resource.yaml</argument> + </arguments> + </configuration> + <id>fix-swagger-yaml</id> + <phase>generate-resources</phase> + <goals> + <goal>exec</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> </plugin> |