Fix enum model docs for JS and Java clients

This commit is contained in:
xhh
2016-05-06 18:41:15 +08:00
parent 5acef6d634
commit 020a9fcdc0
75 changed files with 1153 additions and 198 deletions

View File

@@ -0,0 +1,7 @@
# SwaggerPetstore.AnimalFarm
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

View File

@@ -1,7 +1,12 @@
# SwaggerPetstore.EnumClass
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
## Enum
* `_abc` (value: `"_abc"`)
* `-efg` (value: `"-efg"`)
* `(xyz)` (value: `"(xyz)"`)

View File

@@ -8,3 +8,36 @@ Name | Type | Description | Notes
**enumNumber** | **Number** | | [optional]
<a name="EnumStringEnum"></a>
## Enum: EnumStringEnum
* `UPPER` (value: `"UPPER"`)
* `lower` (value: `"lower"`)
<a name="EnumIntegerEnum"></a>
## Enum: EnumIntegerEnum
* `1` (value: `1`)
* `-1` (value: `-1`)
<a name="EnumNumberEnum"></a>
## Enum: EnumNumberEnum
* `1.1` (value: `1.1`)
* `-1.2` (value: `-1.2`)

View File

@@ -11,3 +11,16 @@ Name | Type | Description | Notes
**complete** | **Boolean** | | [optional] [default to false]
<a name="StatusEnum"></a>
## Enum: StatusEnum
* `placed` (value: `"placed"`)
* `approved` (value: `"approved"`)
* `delivered` (value: `"delivered"`)

View File

@@ -11,3 +11,16 @@ Name | Type | Description | Notes
**status** | **String** | pet status in the store | [optional]
<a name="StatusEnum"></a>
## Enum: StatusEnum
* `available` (value: `"available"`)
* `pending` (value: `"pending"`)
* `sold` (value: `"sold"`)