generate code

This commit is contained in:
Daiki Matsudate
2019-07-22 18:41:25 +09:00
parent 72d3213bbe
commit a0ba71e3f2
479 changed files with 23421 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# AllPrimitives
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**myInteger** | **Int** | | [optional]
**myIntegerArray** | **[Int]** | | [optional]
**myLong** | **Int64** | | [optional]
**myLongArray** | **[Int64]** | | [optional]
**myFloat** | **Float** | | [optional]
**myFloatArray** | **[Float]** | | [optional]
**myDouble** | **Double** | | [optional]
**myDoubleArray** | **[Double]** | | [optional]
**myString** | **String** | | [optional]
**myStringArray** | **[String]** | | [optional]
**myBytes** | **Data** | | [optional]
**myBytesArray** | **[Data]** | | [optional]
**myBoolean** | **Bool** | | [optional]
**myBooleanArray** | **[Bool]** | | [optional]
**myDate** | **Date** | | [optional]
**myDateArray** | **[Date]** | | [optional]
**myDateTime** | **Date** | | [optional]
**myDateTimeArray** | **[Date]** | | [optional]
**myFile** | **URL** | | [optional]
**myFileArray** | **[URL]** | | [optional]
**myUUID** | **UUID** | | [optional]
**myUUIDArray** | **[UUID]** | | [optional]
**myStringEnum** | [**StringEnum**](StringEnum.md) | | [optional]
**myStringEnumArray** | [StringEnum] | | [optional]
**myInlineStringEnum** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,10 @@
# BaseCard
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cardType** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,12 @@
# ErrorInfo
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**code** | **Int** | | [optional]
**message** | **String** | | [optional]
**details** | **[String]** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,12 @@
# GetAllModelsResult
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**myPrimitiveArray** | [AllPrimitives] | | [optional]
**myPrimitive** | [**AllPrimitives**](AllPrimitives.md) | | [optional]
**myVariableNameTest** | [**VariableNameTest**](VariableNameTest.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,17 @@
# ModelWithPropertiesAndAdditionalProperties
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**myIntegerReq** | **Int** | |
**myIntegerOpt** | **Int** | | [optional]
**myPrimitiveReq** | [**AllPrimitives**](AllPrimitives.md) | |
**myPrimitiveOpt** | [**AllPrimitives**](AllPrimitives.md) | | [optional]
**myStringArrayReq** | **[String]** | |
**myStringArrayOpt** | **[String]** | | [optional]
**myPrimitiveArrayReq** | [AllPrimitives] | |
**myPrimitiveArrayOpt** | [AllPrimitives] | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,11 @@
# PersonCard
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**firstName** | **String** | | [optional]
**lastName** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,11 @@
# PersonCardAllOf
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**firstName** | **String** | | [optional]
**lastName** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,11 @@
# PlaceCard
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**placeName** | **String** | | [optional]
**placeAddress** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,11 @@
# PlaceCardAllOf
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**placeName** | **String** | | [optional]
**placeAddress** | **String** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,11 @@
# SampleBase
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**baseClassStringProp** | **String** | | [optional]
**baseClassIntegerProp** | **Int** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,13 @@
# SampleSubClass
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**baseClassStringProp** | **String** | | [optional]
**baseClassIntegerProp** | **Int** | | [optional]
**subClassStringProp** | **String** | | [optional]
**subClassIntegerProp** | **Int** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,11 @@
# SampleSubClassAllOf
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**subClassStringProp** | **String** | | [optional]
**subClassIntegerProp** | **Int** | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,9 @@
# StringEnum
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

View File

@@ -0,0 +1,59 @@
# Swift4TestAPI
All URIs are relative to *http://api.example.com/basePath*
Method | HTTP request | Description
------------- | ------------- | -------------
[**getAllModels**](Swift4TestAPI.md#getallmodels) | **GET** /allModels | Get all of the models
# **getAllModels**
```swift
open class func getAllModels(clientId: String, completion: @escaping (_ data: GetAllModelsResult?, _ error: Error?) -> Void)
```
Get all of the models
This endpoint tests get a dictionary which contains examples of all of the models.
### Example
```swift
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import TestClient
let clientId = "clientId_example" // String | id that represent the Api client
// Get all of the models
Swift4TestAPI.getAllModels(clientId: clientId) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**clientId** | **String** | id that represent the Api client |
### Return type
[**GetAllModelsResult**](GetAllModelsResult.md)
### Authorization
No authorization required
### HTTP request headers
- **Content-Type**: Not defined
- **Accept**: application/json
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

View File

@@ -0,0 +1,12 @@
# VariableNameTest
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**exampleName** | **String** | This snake-case examle_name property name should be converted to a camelCase variable name like exampleName | [optional]
**_for** | **String** | This property name is a reserved word in most languages, including Swift 4. | [optional]
**normalName** | **String** | This model object property name should be unchanged from the JSON property name. | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)