mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-11-23 20:13:51 +00:00
1.0 KiB
1.0 KiB
DefaultApi
All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| operation | GET / |
operation
ModelWithIntArrayEnum operation()
Example
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = DefaultApi()
try {
val result : ModelWithIntArrayEnum = apiInstance.operation()
println(result)
} catch (e: ClientException) {
println("4xx response calling DefaultApi#operation")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling DefaultApi#operation")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json