|
117 | 117 | <plugin>
|
118 | 118 | <groupId>org.codehaus.mojo</groupId>
|
119 | 119 | <artifactId>cobertura-maven-plugin</artifactId>
|
120 |
| - </plugin> |
121 |
| - <plugin> |
122 |
| - <groupId>org.openapitools</groupId> |
123 |
| - <artifactId>openapi-generator-maven-plugin</artifactId> |
124 |
| - <version>6.6.0</version> |
125 |
| - <executions> |
126 |
| - <execution> |
127 |
| - <goals> |
128 |
| - <goal>generate</goal> |
129 |
| - </goals> |
130 |
| - <configuration> |
131 |
| - <inputSpec>${project.basedir}/../server/impl/target/classes/com/walmartlabs/concord/server/swagger/swagger.yaml</inputSpec> |
132 |
| - <generatorName>java</generatorName> |
133 |
| - <apiPackage>com.walmartlabs.concord.client</apiPackage> |
134 |
| - <modelPackage>com.walmartlabs.concord.client</modelPackage> |
135 |
| - <configOptions> |
136 |
| - <sourceFolder>src/gen/java/main</sourceFolder> |
137 |
| - <dateLibrary>java8</dateLibrary> |
138 |
| - <serializableModel>true</serializableModel> |
139 |
| - <openApiNullable>false</openApiNullable> |
140 |
| - <supportUrlQuery>false</supportUrlQuery> |
141 |
| - </configOptions> |
142 |
| - <skipValidateSpec>false</skipValidateSpec> |
143 |
| - <library>native</library> |
144 |
| - <generateApiTests>false</generateApiTests> |
145 |
| - <generateModelTests>false</generateModelTests> |
146 |
| - <generateApiDocumentation>false</generateApiDocumentation> |
147 |
| - <generateModelDocumentation>false</generateModelDocumentation> |
148 |
| - <generateSupportingFiles>true</generateSupportingFiles> |
149 |
| - <supportingFilesToGenerate>ApiClient.java,ApiResponse.java,ApiException.java,Pair.java</supportingFilesToGenerate> |
150 |
| - <templateDirectory>${project.basedir}/src/main/template</templateDirectory> |
151 |
| - <cleanupOutput>true</cleanupOutput> |
152 |
| - <typeMappings>string+binary=InputStream</typeMappings> |
153 |
| - <importMappings>InputStream=java.io.InputStream</importMappings> |
154 |
| - </configuration> |
155 |
| - </execution> |
156 |
| - </executions> |
157 |
| - </plugin> |
| 120 | + </plugin> <plugin> |
| 121 | + <groupId>org.openapitools</groupId> |
| 122 | + <artifactId>openapi-generator-maven-plugin</artifactId> |
| 123 | + <version>6.6.0</version> |
| 124 | + <executions> |
| 125 | + <execution> |
| 126 | + <goals> |
| 127 | + <goal>generate</goal> |
| 128 | + </goals> |
| 129 | + <configuration> |
| 130 | + <inputSpec>${project.basedir}/../server/impl/target/classes/com/walmartlabs/concord/server/swagger/swagger.yaml</inputSpec> |
| 131 | + <generatorName>java</generatorName> |
| 132 | + <apiPackage>com.walmartlabs.concord.client</apiPackage> |
| 133 | + <modelPackage>com.walmartlabs.concord.client</modelPackage> |
| 134 | + <configOptions> |
| 135 | + <sourceFolder>src/gen/java/main</sourceFolder> |
| 136 | + <dateLibrary>java8</dateLibrary> |
| 137 | + <serializableModel>true</serializableModel> |
| 138 | + <openApiNullable>false</openApiNullable> |
| 139 | + <supportUrlQuery>false</supportUrlQuery> |
| 140 | + </configOptions> |
| 141 | + <skipValidateSpec>false</skipValidateSpec> |
| 142 | + <library>native</library> |
| 143 | + <generateApiTests>false</generateApiTests> |
| 144 | + <generateModelTests>false</generateModelTests> |
| 145 | + <generateApiDocumentation>false</generateApiDocumentation> |
| 146 | + <generateModelDocumentation>false</generateModelDocumentation> |
| 147 | + <generateSupportingFiles>true</generateSupportingFiles> |
| 148 | + <supportingFilesToGenerate>ApiClient.java,ApiResponse.java,ApiException.java,Pair.java</supportingFilesToGenerate> |
| 149 | + <templateDirectory>${project.basedir}/src/main/template</templateDirectory> |
| 150 | + <cleanupOutput>true</cleanupOutput> |
| 151 | + <typeMappings>string+binary=InputStream</typeMappings> |
| 152 | + <importMappings>InputStream=java.io.InputStream</importMappings> |
| 153 | + </configuration> |
| 154 | + </execution> |
| 155 | + </executions> |
| 156 | + </plugin> |
| 157 | + |
158 | 158 |
|
159 | 159 | <plugin>
|
160 | 160 | <groupId>org.revapi</groupId>
|
|
0 commit comments