[Ruby] Add auto-generated rubocop config file (#7637)

* add rubocop to ruby api client

* add new files

* fix ruby generator test case
This commit is contained in:
William Cheng
2018-02-12 14:08:02 +08:00
committed by GitHub
parent 86697fedb2
commit aa6b217bb9
78 changed files with 920 additions and 1025 deletions

View File

@@ -166,7 +166,7 @@ require 'petstore'
api_instance = Petstore::UserApi.new
username = "username_example" # String | The name that needs to be deleted
username = 'username_example' # String | The name that needs to be deleted
begin
@@ -212,7 +212,7 @@ require 'petstore'
api_instance = Petstore::UserApi.new
username = "username_example" # String | The name that needs to be fetched. Use user1 for testing.
username = 'username_example' # String | The name that needs to be fetched. Use user1 for testing.
begin
@@ -228,7 +228,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **String**| The name that needs to be fetched. Use user1 for testing. |
**username** | **String**| The name that needs to be fetched. Use user1 for testing. |
### Return type
@@ -259,9 +259,9 @@ require 'petstore'
api_instance = Petstore::UserApi.new
username = "username_example" # String | The user name for login
username = 'username_example' # String | The user name for login
password = "password_example" # String | The password for login in clear text
password = 'password_example' # String | The password for login in clear text
begin
@@ -349,7 +349,7 @@ require 'petstore'
api_instance = Petstore::UserApi.new
username = "username_example" # String | name that need to be deleted
username = 'username_example' # String | name that need to be deleted
body = Petstore::User.new # User | Updated user object