[kotlin-client] Allowing vendor types for json (#10758)

* Using the first serializable 'consumes' mediaType
Using all deserializable 'produces' mediaTypes
Matching json vendor types as json

* updating the generated samples
This commit is contained in:
Guus Bloemsma
2021-12-11 14:48:00 +01:00
committed by GitHub
parent cee5f75912
commit 0236f84c11
84 changed files with 483 additions and 316 deletions

View File

@@ -57,7 +57,7 @@ Configure petstore_auth:
### HTTP request headers
- **Content-Type**: application/json, application/xml
- **Content-Type**: application/json
- **Accept**: Not defined
<a name="deletePet"></a>
@@ -155,7 +155,7 @@ Configure petstore_auth:
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/xml, application/json
- **Accept**: application/json
<a name="getAllPets"></a>
# **getAllPets**
@@ -202,7 +202,7 @@ Configure petstore_auth:
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/xml, application/json
- **Accept**: application/json
<a name="getPetById"></a>
# **getPetById**
@@ -252,7 +252,7 @@ Configure api_key:
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/xml, application/json
- **Accept**: application/json
<a name="updatePet"></a>
# **updatePet**
@@ -297,7 +297,7 @@ Configure petstore_auth:
### HTTP request headers
- **Content-Type**: application/json, application/xml
- **Content-Type**: application/json
- **Accept**: Not defined
<a name="updatePetWithForm"></a>

View File

@@ -147,7 +147,7 @@ No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/xml, application/json
- **Accept**: application/json
<a name="placeOrder"></a>
# **placeOrder**
@@ -192,5 +192,5 @@ No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/xml, application/json
- **Accept**: application/json

View File

@@ -237,7 +237,7 @@ No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/xml, application/json
- **Accept**: application/json
<a name="loginUser"></a>
# **loginUser**
@@ -284,7 +284,7 @@ No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/xml, application/json
- **Accept**: application/json
<a name="logoutUser"></a>
# **logoutUser**