@@ -16,7 +16,7 @@ import io.swagger.client.models.Pet
16
16
17
17
import io.swagger.client.infrastructure.*
18
18
19
- class PetApi (basePath : kotlin.String = " https ://petstore.swagger.io/v2" ) : ApiClient(basePath) {
19
+ class PetApi (basePath : kotlin.String = " http ://petstore.swagger.io/v2" ) : ApiClient(basePath) {
20
20
21
21
/* *
22
22
* Add a new pet to the store
@@ -40,7 +40,7 @@ class PetApi(basePath: kotlin.String = "https://petstore.swagger.io/v2") : ApiCl
40
40
query = localVariableQuery,
41
41
headers = localVariableHeaders
42
42
)
43
- val response = request<Any ? >(
43
+ val response = request<Unit >(
44
44
localVariableConfig,
45
45
localVariableBody
46
46
)
@@ -78,7 +78,7 @@ class PetApi(basePath: kotlin.String = "https://petstore.swagger.io/v2") : ApiCl
78
78
query = localVariableQuery,
79
79
headers = localVariableHeaders
80
80
)
81
- val response = request<Any ? >(
81
+ val response = request<Unit >(
82
82
localVariableConfig,
83
83
localVariableBody
84
84
)
@@ -102,7 +102,7 @@ class PetApi(basePath: kotlin.String = "https://petstore.swagger.io/v2") : ApiCl
102
102
@Suppress(" UNCHECKED_CAST" )
103
103
fun findPetsByStatus (status : kotlin.Array <kotlin.String >) : kotlin.Array <Pet > {
104
104
val localVariableBody: kotlin.Any? = null
105
- val localVariableQuery: MultiValueMap = mapOf (" status" to toMultiValue(status.toList(), " multi " ))
105
+ val localVariableQuery: MultiValueMap = mapOf (" status" to toMultiValue(status.toList(), " csv " ))
106
106
107
107
val contentHeaders: kotlin.collections.Map < kotlin.String ,kotlin.String > = mapOf ()
108
108
val acceptsHeaders: kotlin.collections.Map < kotlin.String ,kotlin.String > = mapOf (" Accept" to " application/xml, application/json" )
@@ -133,14 +133,14 @@ class PetApi(basePath: kotlin.String = "https://petstore.swagger.io/v2") : ApiCl
133
133
134
134
/* *
135
135
* Finds Pets by tags
136
- * Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
136
+ * Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
137
137
* @param tags Tags to filter by
138
138
* @return kotlin.Array<Pet>
139
139
*/
140
140
@Suppress(" UNCHECKED_CAST" )
141
141
fun findPetsByTags (tags : kotlin.Array <kotlin.String >) : kotlin.Array <Pet > {
142
142
val localVariableBody: kotlin.Any? = null
143
- val localVariableQuery: MultiValueMap = mapOf (" tags" to toMultiValue(tags.toList(), " multi " ))
143
+ val localVariableQuery: MultiValueMap = mapOf (" tags" to toMultiValue(tags.toList(), " csv " ))
144
144
145
145
val contentHeaders: kotlin.collections.Map < kotlin.String ,kotlin.String > = mapOf ()
146
146
val acceptsHeaders: kotlin.collections.Map < kotlin.String ,kotlin.String > = mapOf (" Accept" to " application/xml, application/json" )
@@ -229,7 +229,7 @@ class PetApi(basePath: kotlin.String = "https://petstore.swagger.io/v2") : ApiCl
229
229
query = localVariableQuery,
230
230
headers = localVariableHeaders
231
231
)
232
- val response = request<Any ? >(
232
+ val response = request<Unit >(
233
233
localVariableConfig,
234
234
localVariableBody
235
235
)
@@ -268,7 +268,7 @@ class PetApi(basePath: kotlin.String = "https://petstore.swagger.io/v2") : ApiCl
268
268
query = localVariableQuery,
269
269
headers = localVariableHeaders
270
270
)
271
- val response = request<Any ? >(
271
+ val response = request<Unit >(
272
272
localVariableConfig,
273
273
localVariableBody
274
274
)
0 commit comments