Skip to content

Commit

Permalink
refactor: adding srs APIs, refactoring kas APIs (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
secondsun authored May 14, 2021
1 parent 7dcbece commit 29f3c39
Show file tree
Hide file tree
Showing 8 changed files with 857 additions and 73 deletions.
30 changes: 27 additions & 3 deletions source/openapi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<!-- /RELEASE_VERSION -->
<executions>
<execution>
<id>default</id>
<id>kas-open-api</id>
<goals>
<goal>generate</goal>
</goals>
Expand All @@ -127,8 +127,32 @@
<generateModelTests>false</generateModelTests>
<generateApiTests>false</generateApiTests>
<configOptions>
<modelPackage>com.openshift.cloud.api.models</modelPackage>
<apiPackage>com.openshift.cloud.api</apiPackage>
<modelPackage>com.openshift.cloud.api.kas.models</modelPackage>
<apiPackage>com.openshift.cloud.api.kas</apiPackage>
<dateLibrary>java8</dateLibrary>
<licenseName>Apache-2.0</licenseName>
<licenseUrl>https://www.apache.org/licenses/LICENSE-2.0.txt</licenseUrl>
</configOptions>
<library>resteasy</library>
<ignoreFileOverride>${project.basedir}/.openapi-generator-ignore </ignoreFileOverride>
</configuration>
</execution>
<execution>
<id>srs-open-api</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<!-- specify the swagger yaml -->
<inputSpec>${project.basedir}/srs-fleet-manager.json</inputSpec>

<!-- target to generate java client code -->
<generatorName>java</generatorName>
<generateModelTests>false</generateModelTests>
<generateApiTests>false</generateApiTests>
<configOptions>
<modelPackage>com.openshift.cloud.api.srs.models</modelPackage>
<apiPackage>com.openshift.cloud.api.srs</apiPackage>
<dateLibrary>java8</dateLibrary>
<licenseName>Apache-2.0</licenseName>
<licenseUrl>https://www.apache.org/licenses/LICENSE-2.0.txt</licenseUrl>
Expand Down
Loading

0 comments on commit 29f3c39

Please sign in to comment.