Tiffany Marrel da96058f5b
[kotlin] cleanup documentation (#15307)
* [kotlin] fix documentation of API authorization in README files

fix hierarchy level + add internal links + align wording across generators

* [kotlin] fix anchor links in documentation

---------

Co-authored-by: Tiffany Marrel <tiffany.marrel@flowable.com>
2023-04-27 11:33:15 +01:00

1.1 KiB

BirdApi

All URIs are relative to http://example.org

Method HTTP request Description
getBird GET /v1/bird/{id}

getBird

Bird getBird(id)

Example

// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*

val apiInstance = BirdApi()
val id : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | 
try {
    val result : Bird = apiInstance.getBird(id)
    println(result)
} catch (e: ClientException) {
    println("4xx response calling BirdApi#getBird")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling BirdApi#getBird")
    e.printStackTrace()
}

Parameters

Name Type Description Notes
id java.util.UUID

Return type

Bird

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json