-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpom.xml
72 lines (68 loc) · 3.01 KB
/
pom.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" 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>github-stubs</groupId>
<artifactId>github-stubs-codegen</artifactId>
<version>0.1.0-SNAPSHOT</version>
<name>github-stubs</name>
<!-- build with: mvn clean compiler:compile generate-resources -->
<build>
<sourceDirectory>${project.basedir}/codegen/java</sourceDirectory>
<plugins>
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>3.0.25</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.json</inputSpec>
<language>github.GitHubCodegen</language>
<output>${project.basedir}</output>
<generateApis>true</generateApis>
<templateDirectory>${project.basedir}/codegen/templates</templateDirectory>
<configOptions>
<packageName>github-stubs-stubs</packageName>
<packageVersion>0</packageVersion>
</configOptions>
<additionalProperties>
<additionalProperty>excludeBodyNames=OidcCustomSub+ActionsWorkflowAccessToRepository+PutActionsSetWorkflowAccessToRepository</additionalProperty>
<additionalProperty>patchResponseNames=Classroom:crate::models::Classroom+SelectedActions:PutActionsSetAllowedActionsRepository</additionalProperty>
</additionalProperties>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>github-stubs</groupId>
<artifactId>github-stubs-codegen</artifactId>
<version>0.1.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.github.jknack</groupId>
<artifactId>handlebars</artifactId>
<version>4.3.0</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen</artifactId>
<version>3.0.62</version>
</dependency>
<dependency>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-generators</artifactId>
<version>1.0.52</version>
</dependency>
</dependencies>
</project>