Alexander Karkossa 2128f2875e
Enhancement/kotlin/apiclient and auth (#6585)
* Add multiple auth methods to ApiClient. ApiClient more configurable

* Fixed missing close tag for isMultipart in api.mustache

* Generated samples ./bin/kotlin-client-all.sh

* Generated samples./bin/openapi3/kotlin-client-petstore-all.sh

* Use of better way to add supporting files based on conditions

* Fixed missing check for retrofit generating auth files

* Generated samples

Co-authored-by: Alexander Karkossa <alexander.karkossa@dataport.de>
2020-06-11 22:09:13 +08:00

811 B

DefaultApi

All URIs are relative to http://petstore.swagger.io:80/v2

Method HTTP request Description
fooGet GET foo

Example

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

val apiClient = ApiClient()
val webService = apiClient.createWebservice(DefaultApi::class.java)

val result : InlineResponseDefault = webService.fooGet()

Parameters

This endpoint does not need any parameter.

Return type

InlineResponseDefault

Authorization

No authorization required

HTTP request headers

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