mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 22:20:56 +00:00
update kotlin samples
This commit is contained in:
parent
c38d825a89
commit
45baa5e621
@ -112,7 +112,7 @@ class BirdApi(basePath: kotlin.String = defaultBasePath, client: OkHttpClient =
|
|||||||
|
|
||||||
return RequestConfig(
|
return RequestConfig(
|
||||||
method = RequestMethod.GET,
|
method = RequestMethod.GET,
|
||||||
path = "/v1/bird/{id}".replace("{"+"id"+"}", "$id"),
|
path = "/v1/bird/{id}".replace("{"+"id"+"}", id.toString()),
|
||||||
query = localVariableQuery,
|
query = localVariableQuery,
|
||||||
headers = localVariableHeaders,
|
headers = localVariableHeaders,
|
||||||
body = localVariableBody
|
body = localVariableBody
|
||||||
|
Loading…
x
Reference in New Issue
Block a user