Issue #10591 kotlin enum defaultValue (#10592)

* Issue #10591 kotlin enum defaultValue

* Updated sample

* Register sample

Co-authored-by: Eric Durand-Tremblay <etremblay@kronostechnologies.com>
This commit is contained in:
Eric Durand-Tremblay
2021-10-16 01:47:31 -04:00
committed by GitHub
parent 69452360ab
commit 11bfc66782
66 changed files with 1287 additions and 62 deletions

View File

@@ -0,0 +1,50 @@
# DefaultApi
All URIs are relative to *http://localhost*
Method | HTTP request | Description
------------- | ------------- | -------------
[**operation**](DefaultApi.md#operation) | **GET** / |
<a name="operation"></a>
# **operation**
> ModelWithEnumPropertyHavingDefault operation()
### Example
```kotlin
// Import classes:
//import org.openapitools.client.infrastructure.*
//import org.openapitools.client.models.*
val apiInstance = DefaultApi()
try {
val result : ModelWithEnumPropertyHavingDefault = 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
[**ModelWithEnumPropertyHavingDefault**](ModelWithEnumPropertyHavingDefault.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json

View File

@@ -0,0 +1,17 @@
# ModelWithEnumPropertyHavingDefault
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**propertyName** | [**inline**](#PropertyName) | |
<a name="PropertyName"></a>
## Enum: propertyName
Name | Value
---- | -----
propertyName | VALUE