-
Notifications
You must be signed in to change notification settings - Fork 148
/
typescript.xml
47 lines (46 loc) · 2.27 KB
/
typescript.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<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-typescript</artifactId>
<version>0.1-SNAPSHOT</version>
<name>client-typescript</name>
<url>http://kubernetes.io</url>
<build>
<plugins>
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>${openapi-generator-version}</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${generator.spec.path}</inputSpec>
<skipValidateSpec>true</skipValidateSpec>
<generatorName>typescript</generatorName>
<importMappings>
IntOrString=../../types,V1MicroTime=../../types
</importMappings>
<output>${generator.output.path}</output>
<configOptions>
<sortParamsByRequiredFlag>true</sortParamsByRequiredFlag>
<supportsES6>true</supportsES6>
<useObjectParameters>true</useObjectParameters>
<platform>node</platform>
<framework>fetch-api</framework>
<npmName>kubernetes-client-typescript</npmName>
<npmVersion>${generator.client.version}</npmVersion>
<modelPropertyNaming>original</modelPropertyNaming>
</configOptions>
<typeMappings>int-or-string=IntOrString,date-time-micro=V1MicroTime</typeMappings>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>