Files
gen/openapi/csharp.xml
Boshi Lian 1ae5a04c0b fix csharp generator missing model (#172)
* fix csharp missing object

* add stream
2020-10-28 09:47:57 -07:00

50 lines
1.7 KiB
XML

<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>io.kubernetes</groupId>
<artifactId>client-csharp</artifactId>
<version>1.0-SNAPSHOT</version>
<name>client-net</name>
<url>http://kubernetes.io</url>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>generate</id>
<phase>generate-sources</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<!--
Assumes 'autorest' is in your PATH
To install: 'sudo npm -g install autorest'
TODO: Containerize this.
-->
<configuration>
<executable>node</executable>
<arguments>
<argument>--max-old-space-size=8192</argument> <!-- fix oom -->
<argument>/usr/bin/autorest</argument>
<argument>--input-file=${generator.spec.path}</argument>
<argument>--csharp</argument>
<argument>--namespace=${generator.package.name}</argument>
<argument>--package-version=${generator.client.version}</argument>
<argument>--output-folder=${generator.output.path}</argument>
<argument>--add-credentials</argument>
<argument>--debug</argument>
<argument>--verbose</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</project>