forked from loafle/openapi-generator-original
* Add a script to generate kotlin client samples from OAS3 * Generate kotlin client * Fix missing closing parenthesis * Update samples * Add build folder to gitignore
1.4 KiB
1.4 KiB
AnotherFakeApi
All URIs are relative to http://petstore.swagger.io:80/v2
Method | HTTP request | Description |
---|---|---|
call123testSpecialTags | PATCH /another-fake/dummy | To test special tags |
call123testSpecialTags
Client call123testSpecialTags(client)
To test special tags
To test special tags and operation ID starting with number
Example
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = AnotherFakeApi()
val client : Client = // Client | client model
try {
val result : Client = apiInstance.call123testSpecialTags(client)
println(result)
} catch (e: ClientException) {
println("4xx response calling AnotherFakeApi#call123testSpecialTags")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AnotherFakeApi#call123testSpecialTags")
e.printStackTrace()
}
Parameters
Name | Type | Description | Notes |
---|---|---|---|
client | Client | client model |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json