Skip to content

Commit

Permalink
update swagger parser, core version the latest (swagger-api#7163)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 authored Dec 13, 2017
1 parent c496ec7 commit c774e98
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,11 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
formParams.add("callback", paramCallback);

final String[] accepts = {
"application/xml; charset&#x3D;utf-8", "application/json; charset&#x3D;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&#x3D;utf-8", "application/json; charset&#x3D;utf-8"
"application/xml; charset=utf-8", "application/json; charset=utf-8"
};
final MediaType contentType = apiClient.selectHeaderContentType(contentTypes);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,11 @@ public void testEndpointParameters(BigDecimal number, Double _double, String pat
formParams.add("callback", paramCallback);

final String[] accepts = {
"application/xml; charset&#x3D;utf-8", "application/json; charset&#x3D;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&#x3D;utf-8", "application/json; charset&#x3D;utf-8"
"application/xml; charset=utf-8", "application/json; charset=utf-8"
};
final MediaType contentType = apiClient.selectHeaderContentType(contentTypes);

Expand Down
1 change: 1 addition & 0 deletions samples/client/petstore/java/retrofit2rx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@
</dependency>



<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
Expand Down
1 change: 1 addition & 0 deletions samples/client/petstore/java/retrofit2rx2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@
</dependency>



<!-- test dependencies -->
<dependency>
<groupId>junit</groupId>
Expand Down
4 changes: 2 additions & 2 deletions samples/client/petstore/python/docs/FakeApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c774e98

Please sign in to comment.