regenerate ruby sample after remove tailing

This commit is contained in:
Newell Zhu
2016-05-17 20:13:38 +08:00
parent 6c626ccc7a
commit 1c3f1b4bf8
26 changed files with 131 additions and 85 deletions

View File

@@ -4,5 +4,6 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**class_name** | **String** | |
**color** | **String** | | [optional] [default to "red"]

View File

@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**class_name** | **String** | |
**color** | **String** | | [optional] [default to "red"]
**declawed** | **BOOLEAN** | | [optional]

View File

@@ -4,6 +4,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**class_name** | **String** | |
**color** | **String** | | [optional] [default to "red"]
**breed** | **String** | | [optional]

View File

@@ -6,5 +6,6 @@ Name | Type | Description | Notes
**name** | **Integer** | |
**snake_case** | **Integer** | | [optional]
**property** | **String** | | [optional]
**_123_number** | **Integer** | | [optional]

View File

@@ -25,7 +25,7 @@ Add a new pet to the store
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure OAuth2 access token for authorization: petstore_auth
config.access_token = 'YOUR ACCESS TOKEN'
@@ -76,7 +76,7 @@ Deletes a pet
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure OAuth2 access token for authorization: petstore_auth
config.access_token = 'YOUR ACCESS TOKEN'
@@ -131,7 +131,7 @@ Multiple status values can be provided with comma separated strings
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure OAuth2 access token for authorization: petstore_auth
config.access_token = 'YOUR ACCESS TOKEN'
@@ -183,7 +183,7 @@ Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure OAuth2 access token for authorization: petstore_auth
config.access_token = 'YOUR ACCESS TOKEN'
@@ -235,7 +235,7 @@ Returns a single pet
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure API key authorization: api_key
config.api_key['api_key'] = 'YOUR API KEY'
@@ -289,7 +289,7 @@ Update an existing pet
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure OAuth2 access token for authorization: petstore_auth
config.access_token = 'YOUR ACCESS TOKEN'
@@ -340,7 +340,7 @@ Updates a pet in the store with form data
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure OAuth2 access token for authorization: petstore_auth
config.access_token = 'YOUR ACCESS TOKEN'
@@ -397,7 +397,7 @@ uploads an image
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure OAuth2 access token for authorization: petstore_auth
config.access_token = 'YOUR ACCESS TOKEN'

View File

@@ -67,7 +67,7 @@ Returns a map of status codes to quantities
```ruby
# load the gem
require 'petstore'
# setup authorization
# setup authorization
Petstore.configure do |config|
# Configure API key authorization: api_key
config.api_key['api_key'] = 'YOUR API KEY'