mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 22:22:52 +00:00
update swagger parser, core version the latest (#7163)
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -930,10 +930,10 @@
|
||||
</repository>
|
||||
</repositories>
|
||||
<properties>
|
||||
<swagger-parser-version>1.0.32</swagger-parser-version>
|
||||
<swagger-parser-version>1.0.33</swagger-parser-version>
|
||||
<scala-version>2.11.1</scala-version>
|
||||
<felix-version>3.3.0</felix-version>
|
||||
<swagger-core-version>1.5.16</swagger-core-version>
|
||||
<swagger-core-version>1.5.17</swagger-core-version>
|
||||
<commons-io-version>2.4</commons-io-version>
|
||||
<commons-cli-version>1.2</commons-cli-version>
|
||||
<junit-version>4.8.1</junit-version>
|
||||
|
||||
@@ -273,11 +273,11 @@ public class FakeApi {
|
||||
formParams.add("callback", paramCallback);
|
||||
|
||||
final String[] accepts = {
|
||||
"application/xml; charset=utf-8", "application/json; charset=utf-8"
|
||||
"application/xml; charset=utf-8", "application/json; charset=utf-8"
|
||||
};
|
||||
final List<MediaType> accept = apiClient.selectHeaderAccept(accepts);
|
||||
final String[] contentTypes = {
|
||||
"application/xml; charset=utf-8", "application/json; charset=utf-8"
|
||||
"application/xml; charset=utf-8", "application/json; charset=utf-8"
|
||||
};
|
||||
final MediaType contentType = apiClient.selectHeaderContentType(contentTypes);
|
||||
|
||||
|
||||
@@ -273,11 +273,11 @@ public class FakeApi {
|
||||
formParams.add("callback", paramCallback);
|
||||
|
||||
final String[] accepts = {
|
||||
"application/xml; charset=utf-8", "application/json; charset=utf-8"
|
||||
"application/xml; charset=utf-8", "application/json; charset=utf-8"
|
||||
};
|
||||
final List<MediaType> accept = apiClient.selectHeaderAccept(accepts);
|
||||
final String[] contentTypes = {
|
||||
"application/xml; charset=utf-8", "application/json; charset=utf-8"
|
||||
"application/xml; charset=utf-8", "application/json; charset=utf-8"
|
||||
};
|
||||
final MediaType contentType = apiClient.selectHeaderContentType(contentTypes);
|
||||
|
||||
|
||||
@@ -235,6 +235,7 @@
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
<!-- test dependencies -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
||||
@@ -235,6 +235,7 @@
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
<!-- test dependencies -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
||||
@@ -273,10 +273,10 @@ configuration.password = 'YOUR_PASSWORD'
|
||||
|
||||
# create an instance of the API class
|
||||
api_instance = petstore_api.FakeApi(petstore_api.ApiClient(configuration))
|
||||
number = 3.4 # float | None
|
||||
number = 8.14 # float | None
|
||||
double = 1.2 # float | None
|
||||
pattern_without_delimiter = 'pattern_without_delimiter_example' # str | None
|
||||
byte = 'byte_example' # str | None
|
||||
byte = 'B' # str | None
|
||||
integer = 56 # int | None (optional)
|
||||
int32 = 56 # int | None (optional)
|
||||
int64 = 789 # int | None (optional)
|
||||
|
||||
Reference in New Issue
Block a user