Skip to content

Commit

Permalink
feat: adding srs APIs, refactoring kas APIs
Browse files Browse the repository at this point in the history
  • Loading branch information
secondsun committed May 13, 2021
1 parent 484fd4e commit 99b042e
Show file tree
Hide file tree
Showing 5 changed files with 770 additions and 9 deletions.
28 changes: 26 additions & 2 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 @@ -128,7 +128,31 @@
<generateApiTests>false</generateApiTests>
<configOptions>
<modelPackage>com.openshift.cloud.api.models</modelPackage>
<apiPackage>com.openshift.cloud.api</apiPackage>
<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.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 99b042e

Please sign in to comment.