mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 16:33:56 +00:00
* [kotlin] Added path sanitization in javadoc comments * added sample as regression test * Added samples/client/others/kotlin-jvm-okhttp-path-comments to github workflow
1.1 KiB
1.1 KiB
StuffApi
All URIs are relative to https://example.org/v1
Method | HTTP request | Description |
---|---|---|
findStuff | GET /foo/* | Finds stuff |
findStuff
FindStuff200Response findStuff()
Finds stuff
Finds stuff
Example
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = StuffApi()
try {
val result : FindStuff200Response = apiInstance.findStuff()
println(result)
} catch (e: ClientException) {
println("4xx response calling StuffApi#findStuff")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling StuffApi#findStuff")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth: ApiClient.accessToken = ""
HTTP request headers
- Content-Type: Not defined
- Accept: application/json