Skip to content

Commit 3d9a8b7

Browse files
committed
up
1 parent d352bb7 commit 3d9a8b7

File tree

22 files changed

+1394
-247
lines changed

22 files changed

+1394
-247
lines changed

client/pom.xml

+38-38
Original file line numberDiff line numberDiff line change
@@ -117,44 +117,44 @@
117117
<plugin>
118118
<groupId>org.codehaus.mojo</groupId>
119119
<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+
158158

159159
<plugin>
160160
<groupId>org.revapi</groupId>

client/src/main/template/libraries/native/api.mustache

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ import com.fasterxml.jackson.databind.ObjectMapper;
1616
import com.walmartlabs.concord.client.auth.Authentication;
1717

1818
import org.apache.hc.core5.http.HttpEntity;
19-
import org.apache.http.NameValuePair;
20-
import org.apache.http.message.BasicNameValuePair;
21-
import org.apache.http.client.entity.UrlEncodedFormEntity;
19+
import org.apache.hc.core5.http.NameValuePair;
20+
import org.apache.hc.core5.http.message.BasicNameValuePair;
21+
import org.apache.hc.client5.http.entity.UrlEncodedFormEntity;
2222

2323
{{#hasFormParamsInSpec}}
2424
{{/hasFormParamsInSpec}}

0 commit comments

Comments
 (0)