Swagger parser update: 2.0.8-OpenAPITools.org-1 (#1721)

* Update Swagger-Parser Version

* Update samples

* surpress javadoc warning

* fix TS tests

* Set version to 2.0.8-OpenAPITools.org-1
This commit is contained in:
Jérémie Bresson
2018-12-22 11:12:08 +01:00
committed by William Cheng
parent 43abd61144
commit a7dfc650b6
715 changed files with 6588 additions and 6470 deletions

View File

@@ -15,7 +15,7 @@ Method | HTTP request | Description
# **create_user**
> create_user(user)
> create_user(body)
Create user
@@ -27,11 +27,11 @@ This can only be done by the logged in user.
require 'petstore'
api_instance = Petstore::UserApi.new
user = Petstore::User.new # User | Created user object
body = Petstore::User.new # User | Created user object
begin
#Create user
api_instance.create_user(user)
api_instance.create_user(body)
rescue Petstore::ApiError => e
puts "Exception when calling UserApi->create_user: #{e}"
end
@@ -41,7 +41,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user** | [**User**](User.md)| Created user object |
**body** | [**User**](User.md)| Created user object |
### Return type
@@ -59,7 +59,7 @@ No authorization required
# **create_users_with_array_input**
> create_users_with_array_input(user)
> create_users_with_array_input(body)
Creates list of users with given input array
@@ -69,11 +69,11 @@ Creates list of users with given input array
require 'petstore'
api_instance = Petstore::UserApi.new
user = nil # Array<User> | List of user object
body = nil # Array<User> | List of user object
begin
#Creates list of users with given input array
api_instance.create_users_with_array_input(user)
api_instance.create_users_with_array_input(body)
rescue Petstore::ApiError => e
puts "Exception when calling UserApi->create_users_with_array_input: #{e}"
end
@@ -83,7 +83,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user** | [**Array&lt;User&gt;**](Array.md)| List of user object |
**body** | [**Array&lt;User&gt;**](Array.md)| List of user object |
### Return type
@@ -101,7 +101,7 @@ No authorization required
# **create_users_with_list_input**
> create_users_with_list_input(user)
> create_users_with_list_input(body)
Creates list of users with given input array
@@ -111,11 +111,11 @@ Creates list of users with given input array
require 'petstore'
api_instance = Petstore::UserApi.new
user = nil # Array<User> | List of user object
body = nil # Array<User> | List of user object
begin
#Creates list of users with given input array
api_instance.create_users_with_list_input(user)
api_instance.create_users_with_list_input(body)
rescue Petstore::ApiError => e
puts "Exception when calling UserApi->create_users_with_list_input: #{e}"
end
@@ -125,7 +125,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**user** | [**Array&lt;User&gt;**](Array.md)| List of user object |
**body** | [**Array&lt;User&gt;**](Array.md)| List of user object |
### Return type
@@ -313,7 +313,7 @@ No authorization required
# **update_user**
> update_user(username, user)
> update_user(username, body)
Updated user
@@ -326,11 +326,11 @@ require 'petstore'
api_instance = Petstore::UserApi.new
username = 'username_example' # String | name that need to be deleted
user = Petstore::User.new # User | Updated user object
body = Petstore::User.new # User | Updated user object
begin
#Updated user
api_instance.update_user(username, user)
api_instance.update_user(username, body)
rescue Petstore::ApiError => e
puts "Exception when calling UserApi->update_user: #{e}"
end
@@ -341,7 +341,7 @@ end
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**username** | **String**| name that need to be deleted |
**user** | [**User**](User.md)| Updated user object |
**body** | [**User**](User.md)| Updated user object |
### Return type