[Ruby] Use Integer instead of Fixnum in Ruby client (#2475) (#2481)

* use Integer instead of Fixnum in Ruby client (#2475)

* update samples (#2475)
This commit is contained in:
Akira Tanimura 2019-03-23 19:48:10 +09:00 committed by William Cheng
parent 1adc962f2b
commit 033ab8a6f5
96 changed files with 156 additions and 156 deletions

View File

@ -37,7 +37,7 @@ module {{moduleName}}
{{#allParams}}{{#required}} # @param {{paramName}} [{{{dataType}}}] {{description}} {{#allParams}}{{#required}} # @param {{paramName}} [{{{dataType}}}] {{description}}
{{/required}}{{/allParams}} # @param [Hash] opts the optional parameters {{/required}}{{/allParams}} # @param [Hash] opts the optional parameters
{{#allParams}}{{^required}} # @option opts [{{{dataType}}}] :{{paramName}} {{description}} {{#allParams}}{{^required}} # @option opts [{{{dataType}}}] :{{paramName}} {{description}}
{{/required}}{{/allParams}} # @return [Array<({{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}nil{{/returnType}}, Fixnum, Hash)>] {{#returnType}}{{{returnType}}} data{{/returnType}}{{^returnType}}nil{{/returnType}}, response status code and response headers {{/required}}{{/allParams}} # @return [Array<({{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}nil{{/returnType}}, Integer, Hash)>] {{#returnType}}{{{returnType}}} data{{/returnType}}{{^returnType}}nil{{/returnType}}, response status code and response headers
def {{operationId}}_with_http_info({{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}opts = {}) def {{operationId}}_with_http_info({{#allParams}}{{#required}}{{paramName}}, {{/required}}{{/allParams}}opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: {{classname}}.{{operationId}} ...' @api_client.config.logger.debug 'Calling API: {{classname}}.{{operationId}} ...'

View File

@ -36,7 +36,7 @@ module {{moduleName}}
# Call an API with given options. # Call an API with given options.
# #
# @return [Array<(Object, Fixnum, Hash)>] an array of 3 elements: # @return [Array<(Object, Integer, Hash)>] an array of 3 elements:
# the data deserialized from response body (could be nil), response status code and response headers. # the data deserialized from response body (could be nil), response status code and response headers.
def call_api(http_method, path, opts = {}) def call_api(http_method, path, opts = {})
request = build_request(http_method, path, opts) request = build_request(http_method, path, opts)

View File

@ -374,7 +374,7 @@
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[{{#vars}}{{name}}{{#hasMore}}, {{/hasMore}}{{/vars}}].hash [{{#vars}}{{name}}{{#hasMore}}, {{/hasMore}}{{/vars}}].hash
end end

View File

@ -33,7 +33,7 @@ module Petstore
# To test special tags and operation ID starting with number # To test special tags and operation ID starting with number
# @param body [Client] client model # @param body [Client] client model
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
def call_123_test_special_tags_with_http_info(body, opts = {}) def call_123_test_special_tags_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: AnotherFakeApi.call_123_test_special_tags ...' @api_client.config.logger.debug 'Calling API: AnotherFakeApi.call_123_test_special_tags ...'

View File

@ -33,7 +33,7 @@ module Petstore
# this route creates an XmlItem # this route creates an XmlItem
# @param xml_item [XmlItem] XmlItem Body # @param xml_item [XmlItem] XmlItem Body
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def create_xml_item_with_http_info(xml_item, opts = {}) def create_xml_item_with_http_info(xml_item, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.create_xml_item ...' @api_client.config.logger.debug 'Calling API: FakeApi.create_xml_item ...'
@ -83,7 +83,7 @@ module Petstore
# Test serialization of outer boolean types # Test serialization of outer boolean types
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [Boolean] :body Input boolean as post body # @option opts [Boolean] :body Input boolean as post body
# @return [Array<(Boolean, Fixnum, Hash)>] Boolean data, response status code and response headers # @return [Array<(Boolean, Integer, Hash)>] Boolean data, response status code and response headers
def fake_outer_boolean_serialize_with_http_info(opts = {}) def fake_outer_boolean_serialize_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_boolean_serialize ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_boolean_serialize ...'
@ -130,7 +130,7 @@ module Petstore
# Test serialization of object with outer number type # Test serialization of object with outer number type
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [OuterComposite] :body Input composite as post body # @option opts [OuterComposite] :body Input composite as post body
# @return [Array<(OuterComposite, Fixnum, Hash)>] OuterComposite data, response status code and response headers # @return [Array<(OuterComposite, Integer, Hash)>] OuterComposite data, response status code and response headers
def fake_outer_composite_serialize_with_http_info(opts = {}) def fake_outer_composite_serialize_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_composite_serialize ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_composite_serialize ...'
@ -177,7 +177,7 @@ module Petstore
# Test serialization of outer number types # Test serialization of outer number types
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [Float] :body Input number as post body # @option opts [Float] :body Input number as post body
# @return [Array<(Float, Fixnum, Hash)>] Float data, response status code and response headers # @return [Array<(Float, Integer, Hash)>] Float data, response status code and response headers
def fake_outer_number_serialize_with_http_info(opts = {}) def fake_outer_number_serialize_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_number_serialize ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_number_serialize ...'
@ -224,7 +224,7 @@ module Petstore
# Test serialization of outer string types # Test serialization of outer string types
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :body Input string as post body # @option opts [String] :body Input string as post body
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
def fake_outer_string_serialize_with_http_info(opts = {}) def fake_outer_string_serialize_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_string_serialize ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_string_serialize ...'
@ -271,7 +271,7 @@ module Petstore
# For this test, the body for this request much reference a schema named &#x60;File&#x60;. # For this test, the body for this request much reference a schema named &#x60;File&#x60;.
# @param body [FileSchemaTestClass] # @param body [FileSchemaTestClass]
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_body_with_file_schema_with_http_info(body, opts = {}) def test_body_with_file_schema_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_body_with_file_schema ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_body_with_file_schema ...'
@ -321,7 +321,7 @@ module Petstore
# @param query [String] # @param query [String]
# @param body [User] # @param body [User]
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_body_with_query_params_with_http_info(query, body, opts = {}) def test_body_with_query_params_with_http_info(query, body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_body_with_query_params ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_body_with_query_params ...'
@ -378,7 +378,7 @@ module Petstore
# To test \&quot;client\&quot; model # To test \&quot;client\&quot; model
# @param body [Client] client model # @param body [Client] client model
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
def test_client_model_with_http_info(body, opts = {}) def test_client_model_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_client_model ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_client_model ...'
@ -459,7 +459,7 @@ module Petstore
# @option opts [DateTime] :date_time None # @option opts [DateTime] :date_time None
# @option opts [String] :password None # @option opts [String] :password None
# @option opts [String] :callback None # @option opts [String] :callback None
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_endpoint_parameters_with_http_info(number, double, pattern_without_delimiter, byte, opts = {}) def test_endpoint_parameters_with_http_info(number, double, pattern_without_delimiter, byte, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_endpoint_parameters ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_endpoint_parameters ...'
@ -605,7 +605,7 @@ module Petstore
# @option opts [Float] :enum_query_double Query parameter enum test (double) # @option opts [Float] :enum_query_double Query parameter enum test (double)
# @option opts [Array<String>] :enum_form_string_array Form parameter enum test (string array) # @option opts [Array<String>] :enum_form_string_array Form parameter enum test (string array)
# @option opts [String] :enum_form_string Form parameter enum test (string) # @option opts [String] :enum_form_string Form parameter enum test (string)
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_enum_parameters_with_http_info(opts = {}) def test_enum_parameters_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_enum_parameters ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_enum_parameters ...'
@ -703,7 +703,7 @@ module Petstore
# @option opts [Integer] :string_group String in group parameters # @option opts [Integer] :string_group String in group parameters
# @option opts [Boolean] :boolean_group Boolean in group parameters # @option opts [Boolean] :boolean_group Boolean in group parameters
# @option opts [Integer] :int64_group Integer in group parameters # @option opts [Integer] :int64_group Integer in group parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_group_parameters_with_http_info(required_string_group, required_boolean_group, required_int64_group, opts = {}) def test_group_parameters_with_http_info(required_string_group, required_boolean_group, required_int64_group, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_group_parameters ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_group_parameters ...'
@ -765,7 +765,7 @@ module Petstore
# test inline additionalProperties # test inline additionalProperties
# @param param [Hash<String, String>] request body # @param param [Hash<String, String>] request body
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_inline_additional_properties_with_http_info(param, opts = {}) def test_inline_additional_properties_with_http_info(param, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_inline_additional_properties ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_inline_additional_properties ...'
@ -817,7 +817,7 @@ module Petstore
# @param param [String] field1 # @param param [String] field1
# @param param2 [String] field2 # @param param2 [String] field2
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_json_form_data_with_http_info(param, param2, opts = {}) def test_json_form_data_with_http_info(param, param2, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_json_form_data ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_json_form_data ...'

View File

@ -33,7 +33,7 @@ module Petstore
# To test class name in snake case # To test class name in snake case
# @param body [Client] client model # @param body [Client] client model
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
def test_classname_with_http_info(body, opts = {}) def test_classname_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeClassnameTags123Api.test_classname ...' @api_client.config.logger.debug 'Calling API: FakeClassnameTags123Api.test_classname ...'

View File

@ -31,7 +31,7 @@ module Petstore
# Add a new pet to the store # Add a new pet to the store
# @param body [Pet] Pet object that needs to be added to the store # @param body [Pet] Pet object that needs to be added to the store
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def add_pet_with_http_info(body, opts = {}) def add_pet_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.add_pet ...' @api_client.config.logger.debug 'Calling API: PetApi.add_pet ...'
@ -83,7 +83,7 @@ module Petstore
# @param pet_id [Integer] Pet id to delete # @param pet_id [Integer] Pet id to delete
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :api_key # @option opts [String] :api_key
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def delete_pet_with_http_info(pet_id, opts = {}) def delete_pet_with_http_info(pet_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.delete_pet ...' @api_client.config.logger.debug 'Calling API: PetApi.delete_pet ...'
@ -134,7 +134,7 @@ module Petstore
# Multiple status values can be provided with comma separated strings # Multiple status values can be provided with comma separated strings
# @param status [Array<String>] Status values that need to be considered for filter # @param status [Array<String>] Status values that need to be considered for filter
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Array<Pet>, Fixnum, Hash)>] Array<Pet> data, response status code and response headers # @return [Array<(Array<Pet>, Integer, Hash)>] Array<Pet> data, response status code and response headers
def find_pets_by_status_with_http_info(status, opts = {}) def find_pets_by_status_with_http_info(status, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.find_pets_by_status ...' @api_client.config.logger.debug 'Calling API: PetApi.find_pets_by_status ...'
@ -188,7 +188,7 @@ module Petstore
# Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. # Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
# @param tags [Array<String>] Tags to filter by # @param tags [Array<String>] Tags to filter by
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Array<Pet>, Fixnum, Hash)>] Array<Pet> data, response status code and response headers # @return [Array<(Array<Pet>, Integer, Hash)>] Array<Pet> data, response status code and response headers
def find_pets_by_tags_with_http_info(tags, opts = {}) def find_pets_by_tags_with_http_info(tags, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.find_pets_by_tags ...' @api_client.config.logger.debug 'Calling API: PetApi.find_pets_by_tags ...'
@ -242,7 +242,7 @@ module Petstore
# Returns a single pet # Returns a single pet
# @param pet_id [Integer] ID of pet to return # @param pet_id [Integer] ID of pet to return
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Pet, Fixnum, Hash)>] Pet data, response status code and response headers # @return [Array<(Pet, Integer, Hash)>] Pet data, response status code and response headers
def get_pet_by_id_with_http_info(pet_id, opts = {}) def get_pet_by_id_with_http_info(pet_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.get_pet_by_id ...' @api_client.config.logger.debug 'Calling API: PetApi.get_pet_by_id ...'
@ -293,7 +293,7 @@ module Petstore
# Update an existing pet # Update an existing pet
# @param body [Pet] Pet object that needs to be added to the store # @param body [Pet] Pet object that needs to be added to the store
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def update_pet_with_http_info(body, opts = {}) def update_pet_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.update_pet ...' @api_client.config.logger.debug 'Calling API: PetApi.update_pet ...'
@ -347,7 +347,7 @@ module Petstore
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :name Updated name of the pet # @option opts [String] :name Updated name of the pet
# @option opts [String] :status Updated status of the pet # @option opts [String] :status Updated status of the pet
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def update_pet_with_form_with_http_info(pet_id, opts = {}) def update_pet_with_form_with_http_info(pet_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.update_pet_with_form ...' @api_client.config.logger.debug 'Calling API: PetApi.update_pet_with_form ...'
@ -403,7 +403,7 @@ module Petstore
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :additional_metadata Additional data to pass to server # @option opts [String] :additional_metadata Additional data to pass to server
# @option opts [File] :file file to upload # @option opts [File] :file file to upload
# @return [Array<(ApiResponse, Fixnum, Hash)>] ApiResponse data, response status code and response headers # @return [Array<(ApiResponse, Integer, Hash)>] ApiResponse data, response status code and response headers
def upload_file_with_http_info(pet_id, opts = {}) def upload_file_with_http_info(pet_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.upload_file ...' @api_client.config.logger.debug 'Calling API: PetApi.upload_file ...'
@ -462,7 +462,7 @@ module Petstore
# @param required_file [File] file to upload # @param required_file [File] file to upload
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :additional_metadata Additional data to pass to server # @option opts [String] :additional_metadata Additional data to pass to server
# @return [Array<(ApiResponse, Fixnum, Hash)>] ApiResponse data, response status code and response headers # @return [Array<(ApiResponse, Integer, Hash)>] ApiResponse data, response status code and response headers
def upload_file_with_required_file_with_http_info(pet_id, required_file, opts = {}) def upload_file_with_required_file_with_http_info(pet_id, required_file, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.upload_file_with_required_file ...' @api_client.config.logger.debug 'Calling API: PetApi.upload_file_with_required_file ...'

View File

@ -33,7 +33,7 @@ module Petstore
# For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors # For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
# @param order_id [String] ID of the order that needs to be deleted # @param order_id [String] ID of the order that needs to be deleted
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def delete_order_with_http_info(order_id, opts = {}) def delete_order_with_http_info(order_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: StoreApi.delete_order ...' @api_client.config.logger.debug 'Calling API: StoreApi.delete_order ...'
@ -81,7 +81,7 @@ module Petstore
# Returns pet inventories by status # Returns pet inventories by status
# Returns a map of status codes to quantities # Returns a map of status codes to quantities
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Hash<String, Integer>, Fixnum, Hash)>] Hash<String, Integer> data, response status code and response headers # @return [Array<(Hash<String, Integer>, Integer, Hash)>] Hash<String, Integer> data, response status code and response headers
def get_inventory_with_http_info(opts = {}) def get_inventory_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: StoreApi.get_inventory ...' @api_client.config.logger.debug 'Calling API: StoreApi.get_inventory ...'
@ -130,7 +130,7 @@ module Petstore
# For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions # For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions
# @param order_id [Integer] ID of pet that needs to be fetched # @param order_id [Integer] ID of pet that needs to be fetched
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Order, Fixnum, Hash)>] Order data, response status code and response headers # @return [Array<(Order, Integer, Hash)>] Order data, response status code and response headers
def get_order_by_id_with_http_info(order_id, opts = {}) def get_order_by_id_with_http_info(order_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: StoreApi.get_order_by_id ...' @api_client.config.logger.debug 'Calling API: StoreApi.get_order_by_id ...'
@ -189,7 +189,7 @@ module Petstore
# Place an order for a pet # Place an order for a pet
# @param body [Order] order placed for purchasing the pet # @param body [Order] order placed for purchasing the pet
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Order, Fixnum, Hash)>] Order data, response status code and response headers # @return [Array<(Order, Integer, Hash)>] Order data, response status code and response headers
def place_order_with_http_info(body, opts = {}) def place_order_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: StoreApi.place_order ...' @api_client.config.logger.debug 'Calling API: StoreApi.place_order ...'

View File

@ -33,7 +33,7 @@ module Petstore
# This can only be done by the logged in user. # This can only be done by the logged in user.
# @param body [User] Created user object # @param body [User] Created user object
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def create_user_with_http_info(body, opts = {}) def create_user_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.create_user ...' @api_client.config.logger.debug 'Calling API: UserApi.create_user ...'
@ -81,7 +81,7 @@ module Petstore
# Creates list of users with given input array # Creates list of users with given input array
# @param body [Array<User>] List of user object # @param body [Array<User>] List of user object
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def create_users_with_array_input_with_http_info(body, opts = {}) def create_users_with_array_input_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.create_users_with_array_input ...' @api_client.config.logger.debug 'Calling API: UserApi.create_users_with_array_input ...'
@ -129,7 +129,7 @@ module Petstore
# Creates list of users with given input array # Creates list of users with given input array
# @param body [Array<User>] List of user object # @param body [Array<User>] List of user object
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def create_users_with_list_input_with_http_info(body, opts = {}) def create_users_with_list_input_with_http_info(body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.create_users_with_list_input ...' @api_client.config.logger.debug 'Calling API: UserApi.create_users_with_list_input ...'
@ -179,7 +179,7 @@ module Petstore
# This can only be done by the logged in user. # This can only be done by the logged in user.
# @param username [String] The name that needs to be deleted # @param username [String] The name that needs to be deleted
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def delete_user_with_http_info(username, opts = {}) def delete_user_with_http_info(username, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.delete_user ...' @api_client.config.logger.debug 'Calling API: UserApi.delete_user ...'
@ -227,7 +227,7 @@ module Petstore
# Get user by user name # Get user by user name
# @param username [String] The name that needs to be fetched. Use user1 for testing. # @param username [String] The name that needs to be fetched. Use user1 for testing.
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers # @return [Array<(User, Integer, Hash)>] User data, response status code and response headers
def get_user_by_name_with_http_info(username, opts = {}) def get_user_by_name_with_http_info(username, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.get_user_by_name ...' @api_client.config.logger.debug 'Calling API: UserApi.get_user_by_name ...'
@ -280,7 +280,7 @@ module Petstore
# @param username [String] The user name for login # @param username [String] The user name for login
# @param password [String] The password for login in clear text # @param password [String] The password for login in clear text
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
def login_user_with_http_info(username, password, opts = {}) def login_user_with_http_info(username, password, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.login_user ...' @api_client.config.logger.debug 'Calling API: UserApi.login_user ...'
@ -335,7 +335,7 @@ module Petstore
# Logs out current logged in user session # Logs out current logged in user session
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def logout_user_with_http_info(opts = {}) def logout_user_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.logout_user ...' @api_client.config.logger.debug 'Calling API: UserApi.logout_user ...'
@ -383,7 +383,7 @@ module Petstore
# @param username [String] name that need to be deleted # @param username [String] name that need to be deleted
# @param body [User] Updated user object # @param body [User] Updated user object
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def update_user_with_http_info(username, body, opts = {}) def update_user_with_http_info(username, body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.update_user ...' @api_client.config.logger.debug 'Calling API: UserApi.update_user ...'

View File

@ -44,7 +44,7 @@ module Petstore
# Call an API with given options. # Call an API with given options.
# #
# @return [Array<(Object, Fixnum, Hash)>] an array of 3 elements: # @return [Array<(Object, Integer, Hash)>] an array of 3 elements:
# the data deserialized from response body (could be nil), response status code and response headers. # the data deserialized from response body (could be nil), response status code and response headers.
def call_api(http_method, path, opts = {}) def call_api(http_method, path, opts = {})
request = build_request(http_method, path, opts) request = build_request(http_method, path, opts)

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name].hash [name].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name].hash [name].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name].hash [name].hash
end end

View File

@ -184,7 +184,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[map_string, map_number, map_integer, map_boolean, map_array_integer, map_array_anytype, map_map_string, map_map_anytype, anytype_1, anytype_2, anytype_3].hash [map_string, map_number, map_integer, map_boolean, map_array_integer, map_array_anytype, map_map_string, map_map_anytype, anytype_1, anytype_2, anytype_3].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name].hash [name].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name].hash [name].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name].hash [name].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name].hash [name].hash
end end

View File

@ -99,7 +99,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[class_name, color].hash [class_name, color].hash
end end

View File

@ -96,7 +96,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[code, type, message].hash [code, type, message].hash
end end

View File

@ -80,7 +80,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[array_array_number].hash [array_array_number].hash
end end

View File

@ -80,7 +80,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[array_number].hash [array_number].hash
end end

View File

@ -102,7 +102,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[array_of_string, array_array_of_integer, array_array_of_model].hash [array_of_string, array_array_of_integer, array_array_of_model].hash
end end

View File

@ -124,7 +124,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[small_camel, capital_camel, small_snake, capital_snake, sca_eth_flow_points, att_name].hash [small_camel, capital_camel, small_snake, capital_snake, sca_eth_flow_points, att_name].hash
end end

View File

@ -88,7 +88,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[declawed].hash [declawed].hash
end end

View File

@ -94,7 +94,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, name].hash [id, name].hash
end end

View File

@ -79,7 +79,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[_class].hash [_class].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[client].hash [client].hash
end end

View File

@ -88,7 +88,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[breed].hash [breed].hash
end end

View File

@ -123,7 +123,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[just_symbol, array_enum].hash [just_symbol, array_enum].hash
end end

View File

@ -189,7 +189,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[enum_string, enum_string_required, enum_integer, enum_number, outer_enum].hash [enum_string, enum_string_required, enum_integer, enum_number, outer_enum].hash
end end

View File

@ -80,7 +80,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[source_uri].hash [source_uri].hash
end end

View File

@ -89,7 +89,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[file, files].hash [file, files].hash
end end

View File

@ -396,7 +396,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[integer, int32, int64, number, float, double, string, byte, binary, date, date_time, uuid, password].hash [integer, int32, int64, number, float, double, string, byte, binary, date, date_time, uuid, password].hash
end end

View File

@ -87,7 +87,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[bar, foo].hash [bar, foo].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[_123_list].hash [_123_list].hash
end end

View File

@ -135,7 +135,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[map_map_of_string, map_of_enum_string, direct_map, indirect_map].hash [map_map_of_string, map_of_enum_string, direct_map, indirect_map].hash
end end

View File

@ -98,7 +98,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[uuid, date_time, map].hash [uuid, date_time, map].hash
end end

View File

@ -88,7 +88,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name, _class].hash [name, _class].hash
end end

View File

@ -79,7 +79,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[_return].hash [_return].hash
end end

View File

@ -111,7 +111,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name, snake_case, property, _123_number].hash [name, snake_case, property, _123_number].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[just_number].hash [just_number].hash
end end

View File

@ -160,7 +160,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, pet_id, quantity, ship_date, status, complete].hash [id, pet_id, quantity, ship_date, status, complete].hash
end end

View File

@ -96,7 +96,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[my_number, my_string, my_boolean].hash [my_number, my_string, my_boolean].hash
end end

View File

@ -172,7 +172,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, category, name, photo_urls, tags, status].hash [id, category, name, photo_urls, tags, status].hash
end end

View File

@ -87,7 +87,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[bar, baz].hash [bar, baz].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[special_property_name].hash [special_property_name].hash
end end

View File

@ -87,7 +87,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, name].hash [id, name].hash
end end

View File

@ -145,7 +145,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[string_item, number_item, integer_item, bool_item, array_item].hash [string_item, number_item, integer_item, bool_item, array_item].hash
end end

View File

@ -141,7 +141,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[string_item, number_item, integer_item, bool_item, array_item].hash [string_item, number_item, integer_item, bool_item, array_item].hash
end end

View File

@ -142,7 +142,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, username, first_name, last_name, email, password, phone, user_status].hash [id, username, first_name, last_name, email, password, phone, user_status].hash
end end

View File

@ -348,7 +348,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[attribute_string, attribute_number, attribute_integer, attribute_boolean, wrapped_array, name_string, name_number, name_integer, name_boolean, name_array, name_wrapped_array, prefix_string, prefix_number, prefix_integer, prefix_boolean, prefix_array, prefix_wrapped_array, namespace_string, namespace_number, namespace_integer, namespace_boolean, namespace_array, namespace_wrapped_array, prefix_ns_string, prefix_ns_number, prefix_ns_integer, prefix_ns_boolean, prefix_ns_array, prefix_ns_wrapped_array].hash [attribute_string, attribute_number, attribute_integer, attribute_boolean, wrapped_array, name_string, name_number, name_integer, name_boolean, name_array, name_wrapped_array, prefix_string, prefix_number, prefix_integer, prefix_boolean, prefix_array, prefix_wrapped_array, namespace_string, namespace_number, namespace_integer, namespace_boolean, namespace_array, namespace_wrapped_array, prefix_ns_string, prefix_ns_number, prefix_ns_integer, prefix_ns_boolean, prefix_ns_array, prefix_ns_wrapped_array].hash
end end

View File

@ -33,7 +33,7 @@ module Petstore
# To test special tags and operation ID starting with number # To test special tags and operation ID starting with number
# @param client [Client] client model # @param client [Client] client model
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
def call_123_test_special_tags_with_http_info(client, opts = {}) def call_123_test_special_tags_with_http_info(client, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: AnotherFakeApi.call_123_test_special_tags ...' @api_client.config.logger.debug 'Calling API: AnotherFakeApi.call_123_test_special_tags ...'

View File

@ -27,7 +27,7 @@ module Petstore
end end
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(InlineResponseDefault, Fixnum, Hash)>] InlineResponseDefault data, response status code and response headers # @return [Array<(InlineResponseDefault, Integer, Hash)>] InlineResponseDefault data, response status code and response headers
def foo_get_with_http_info(opts = {}) def foo_get_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: DefaultApi.foo_get ...' @api_client.config.logger.debug 'Calling API: DefaultApi.foo_get ...'

View File

@ -29,7 +29,7 @@ module Petstore
# Health check endpoint # Health check endpoint
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(HealthCheckResult, Fixnum, Hash)>] HealthCheckResult data, response status code and response headers # @return [Array<(HealthCheckResult, Integer, Hash)>] HealthCheckResult data, response status code and response headers
def fake_health_get_with_http_info(opts = {}) def fake_health_get_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_health_get ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_health_get ...'
@ -76,7 +76,7 @@ module Petstore
# Test serialization of outer boolean types # Test serialization of outer boolean types
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [Boolean] :body Input boolean as post body # @option opts [Boolean] :body Input boolean as post body
# @return [Array<(Boolean, Fixnum, Hash)>] Boolean data, response status code and response headers # @return [Array<(Boolean, Integer, Hash)>] Boolean data, response status code and response headers
def fake_outer_boolean_serialize_with_http_info(opts = {}) def fake_outer_boolean_serialize_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_boolean_serialize ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_boolean_serialize ...'
@ -125,7 +125,7 @@ module Petstore
# Test serialization of object with outer number type # Test serialization of object with outer number type
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [OuterComposite] :outer_composite Input composite as post body # @option opts [OuterComposite] :outer_composite Input composite as post body
# @return [Array<(OuterComposite, Fixnum, Hash)>] OuterComposite data, response status code and response headers # @return [Array<(OuterComposite, Integer, Hash)>] OuterComposite data, response status code and response headers
def fake_outer_composite_serialize_with_http_info(opts = {}) def fake_outer_composite_serialize_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_composite_serialize ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_composite_serialize ...'
@ -174,7 +174,7 @@ module Petstore
# Test serialization of outer number types # Test serialization of outer number types
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [Float] :body Input number as post body # @option opts [Float] :body Input number as post body
# @return [Array<(Float, Fixnum, Hash)>] Float data, response status code and response headers # @return [Array<(Float, Integer, Hash)>] Float data, response status code and response headers
def fake_outer_number_serialize_with_http_info(opts = {}) def fake_outer_number_serialize_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_number_serialize ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_number_serialize ...'
@ -223,7 +223,7 @@ module Petstore
# Test serialization of outer string types # Test serialization of outer string types
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :body Input string as post body # @option opts [String] :body Input string as post body
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
def fake_outer_string_serialize_with_http_info(opts = {}) def fake_outer_string_serialize_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_string_serialize ...' @api_client.config.logger.debug 'Calling API: FakeApi.fake_outer_string_serialize ...'
@ -272,7 +272,7 @@ module Petstore
# For this test, the body for this request much reference a schema named &#x60;File&#x60;. # For this test, the body for this request much reference a schema named &#x60;File&#x60;.
# @param file_schema_test_class [FileSchemaTestClass] # @param file_schema_test_class [FileSchemaTestClass]
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_body_with_file_schema_with_http_info(file_schema_test_class, opts = {}) def test_body_with_file_schema_with_http_info(file_schema_test_class, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_body_with_file_schema ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_body_with_file_schema ...'
@ -322,7 +322,7 @@ module Petstore
# @param query [String] # @param query [String]
# @param user [User] # @param user [User]
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_body_with_query_params_with_http_info(query, user, opts = {}) def test_body_with_query_params_with_http_info(query, user, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_body_with_query_params ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_body_with_query_params ...'
@ -379,7 +379,7 @@ module Petstore
# To test \&quot;client\&quot; model # To test \&quot;client\&quot; model
# @param client [Client] client model # @param client [Client] client model
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
def test_client_model_with_http_info(client, opts = {}) def test_client_model_with_http_info(client, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_client_model ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_client_model ...'
@ -460,7 +460,7 @@ module Petstore
# @option opts [DateTime] :date_time None # @option opts [DateTime] :date_time None
# @option opts [String] :password None # @option opts [String] :password None
# @option opts [String] :callback None # @option opts [String] :callback None
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_endpoint_parameters_with_http_info(number, double, pattern_without_delimiter, byte, opts = {}) def test_endpoint_parameters_with_http_info(number, double, pattern_without_delimiter, byte, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_endpoint_parameters ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_endpoint_parameters ...'
@ -606,7 +606,7 @@ module Petstore
# @option opts [Float] :enum_query_double Query parameter enum test (double) # @option opts [Float] :enum_query_double Query parameter enum test (double)
# @option opts [Array<String>] :enum_form_string_array Form parameter enum test (string array) # @option opts [Array<String>] :enum_form_string_array Form parameter enum test (string array)
# @option opts [String] :enum_form_string Form parameter enum test (string) # @option opts [String] :enum_form_string Form parameter enum test (string)
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_enum_parameters_with_http_info(opts = {}) def test_enum_parameters_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_enum_parameters ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_enum_parameters ...'
@ -704,7 +704,7 @@ module Petstore
# @option opts [Integer] :string_group String in group parameters # @option opts [Integer] :string_group String in group parameters
# @option opts [Boolean] :boolean_group Boolean in group parameters # @option opts [Boolean] :boolean_group Boolean in group parameters
# @option opts [Integer] :int64_group Integer in group parameters # @option opts [Integer] :int64_group Integer in group parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_group_parameters_with_http_info(required_string_group, required_boolean_group, required_int64_group, opts = {}) def test_group_parameters_with_http_info(required_string_group, required_boolean_group, required_int64_group, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_group_parameters ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_group_parameters ...'
@ -766,7 +766,7 @@ module Petstore
# test inline additionalProperties # test inline additionalProperties
# @param request_body [Hash<String, String>] request body # @param request_body [Hash<String, String>] request body
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_inline_additional_properties_with_http_info(request_body, opts = {}) def test_inline_additional_properties_with_http_info(request_body, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_inline_additional_properties ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_inline_additional_properties ...'
@ -818,7 +818,7 @@ module Petstore
# @param param [String] field1 # @param param [String] field1
# @param param2 [String] field2 # @param param2 [String] field2
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def test_json_form_data_with_http_info(param, param2, opts = {}) def test_json_form_data_with_http_info(param, param2, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeApi.test_json_form_data ...' @api_client.config.logger.debug 'Calling API: FakeApi.test_json_form_data ...'

View File

@ -33,7 +33,7 @@ module Petstore
# To test class name in snake case # To test class name in snake case
# @param client [Client] client model # @param client [Client] client model
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers # @return [Array<(Client, Integer, Hash)>] Client data, response status code and response headers
def test_classname_with_http_info(client, opts = {}) def test_classname_with_http_info(client, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: FakeClassnameTags123Api.test_classname ...' @api_client.config.logger.debug 'Calling API: FakeClassnameTags123Api.test_classname ...'

View File

@ -31,7 +31,7 @@ module Petstore
# Add a new pet to the store # Add a new pet to the store
# @param pet [Pet] Pet object that needs to be added to the store # @param pet [Pet] Pet object that needs to be added to the store
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def add_pet_with_http_info(pet, opts = {}) def add_pet_with_http_info(pet, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.add_pet ...' @api_client.config.logger.debug 'Calling API: PetApi.add_pet ...'
@ -83,7 +83,7 @@ module Petstore
# @param pet_id [Integer] Pet id to delete # @param pet_id [Integer] Pet id to delete
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :api_key # @option opts [String] :api_key
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def delete_pet_with_http_info(pet_id, opts = {}) def delete_pet_with_http_info(pet_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.delete_pet ...' @api_client.config.logger.debug 'Calling API: PetApi.delete_pet ...'
@ -134,7 +134,7 @@ module Petstore
# Multiple status values can be provided with comma separated strings # Multiple status values can be provided with comma separated strings
# @param status [Array<String>] Status values that need to be considered for filter # @param status [Array<String>] Status values that need to be considered for filter
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Array<Pet>, Fixnum, Hash)>] Array<Pet> data, response status code and response headers # @return [Array<(Array<Pet>, Integer, Hash)>] Array<Pet> data, response status code and response headers
def find_pets_by_status_with_http_info(status, opts = {}) def find_pets_by_status_with_http_info(status, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.find_pets_by_status ...' @api_client.config.logger.debug 'Calling API: PetApi.find_pets_by_status ...'
@ -188,7 +188,7 @@ module Petstore
# Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. # Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
# @param tags [Array<String>] Tags to filter by # @param tags [Array<String>] Tags to filter by
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Array<Pet>, Fixnum, Hash)>] Array<Pet> data, response status code and response headers # @return [Array<(Array<Pet>, Integer, Hash)>] Array<Pet> data, response status code and response headers
def find_pets_by_tags_with_http_info(tags, opts = {}) def find_pets_by_tags_with_http_info(tags, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.find_pets_by_tags ...' @api_client.config.logger.debug 'Calling API: PetApi.find_pets_by_tags ...'
@ -242,7 +242,7 @@ module Petstore
# Returns a single pet # Returns a single pet
# @param pet_id [Integer] ID of pet to return # @param pet_id [Integer] ID of pet to return
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Pet, Fixnum, Hash)>] Pet data, response status code and response headers # @return [Array<(Pet, Integer, Hash)>] Pet data, response status code and response headers
def get_pet_by_id_with_http_info(pet_id, opts = {}) def get_pet_by_id_with_http_info(pet_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.get_pet_by_id ...' @api_client.config.logger.debug 'Calling API: PetApi.get_pet_by_id ...'
@ -293,7 +293,7 @@ module Petstore
# Update an existing pet # Update an existing pet
# @param pet [Pet] Pet object that needs to be added to the store # @param pet [Pet] Pet object that needs to be added to the store
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def update_pet_with_http_info(pet, opts = {}) def update_pet_with_http_info(pet, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.update_pet ...' @api_client.config.logger.debug 'Calling API: PetApi.update_pet ...'
@ -347,7 +347,7 @@ module Petstore
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :name Updated name of the pet # @option opts [String] :name Updated name of the pet
# @option opts [String] :status Updated status of the pet # @option opts [String] :status Updated status of the pet
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def update_pet_with_form_with_http_info(pet_id, opts = {}) def update_pet_with_form_with_http_info(pet_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.update_pet_with_form ...' @api_client.config.logger.debug 'Calling API: PetApi.update_pet_with_form ...'
@ -403,7 +403,7 @@ module Petstore
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :additional_metadata Additional data to pass to server # @option opts [String] :additional_metadata Additional data to pass to server
# @option opts [File] :file file to upload # @option opts [File] :file file to upload
# @return [Array<(ApiResponse, Fixnum, Hash)>] ApiResponse data, response status code and response headers # @return [Array<(ApiResponse, Integer, Hash)>] ApiResponse data, response status code and response headers
def upload_file_with_http_info(pet_id, opts = {}) def upload_file_with_http_info(pet_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.upload_file ...' @api_client.config.logger.debug 'Calling API: PetApi.upload_file ...'
@ -462,7 +462,7 @@ module Petstore
# @param required_file [File] file to upload # @param required_file [File] file to upload
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @option opts [String] :additional_metadata Additional data to pass to server # @option opts [String] :additional_metadata Additional data to pass to server
# @return [Array<(ApiResponse, Fixnum, Hash)>] ApiResponse data, response status code and response headers # @return [Array<(ApiResponse, Integer, Hash)>] ApiResponse data, response status code and response headers
def upload_file_with_required_file_with_http_info(pet_id, required_file, opts = {}) def upload_file_with_required_file_with_http_info(pet_id, required_file, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: PetApi.upload_file_with_required_file ...' @api_client.config.logger.debug 'Calling API: PetApi.upload_file_with_required_file ...'

View File

@ -33,7 +33,7 @@ module Petstore
# For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors # For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors
# @param order_id [String] ID of the order that needs to be deleted # @param order_id [String] ID of the order that needs to be deleted
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def delete_order_with_http_info(order_id, opts = {}) def delete_order_with_http_info(order_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: StoreApi.delete_order ...' @api_client.config.logger.debug 'Calling API: StoreApi.delete_order ...'
@ -81,7 +81,7 @@ module Petstore
# Returns pet inventories by status # Returns pet inventories by status
# Returns a map of status codes to quantities # Returns a map of status codes to quantities
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Hash<String, Integer>, Fixnum, Hash)>] Hash<String, Integer> data, response status code and response headers # @return [Array<(Hash<String, Integer>, Integer, Hash)>] Hash<String, Integer> data, response status code and response headers
def get_inventory_with_http_info(opts = {}) def get_inventory_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: StoreApi.get_inventory ...' @api_client.config.logger.debug 'Calling API: StoreApi.get_inventory ...'
@ -130,7 +130,7 @@ module Petstore
# For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions # For valid response try integer IDs with value &lt;&#x3D; 5 or &gt; 10. Other values will generated exceptions
# @param order_id [Integer] ID of pet that needs to be fetched # @param order_id [Integer] ID of pet that needs to be fetched
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Order, Fixnum, Hash)>] Order data, response status code and response headers # @return [Array<(Order, Integer, Hash)>] Order data, response status code and response headers
def get_order_by_id_with_http_info(order_id, opts = {}) def get_order_by_id_with_http_info(order_id, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: StoreApi.get_order_by_id ...' @api_client.config.logger.debug 'Calling API: StoreApi.get_order_by_id ...'
@ -189,7 +189,7 @@ module Petstore
# Place an order for a pet # Place an order for a pet
# @param order [Order] order placed for purchasing the pet # @param order [Order] order placed for purchasing the pet
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(Order, Fixnum, Hash)>] Order data, response status code and response headers # @return [Array<(Order, Integer, Hash)>] Order data, response status code and response headers
def place_order_with_http_info(order, opts = {}) def place_order_with_http_info(order, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: StoreApi.place_order ...' @api_client.config.logger.debug 'Calling API: StoreApi.place_order ...'

View File

@ -33,7 +33,7 @@ module Petstore
# This can only be done by the logged in user. # This can only be done by the logged in user.
# @param user [User] Created user object # @param user [User] Created user object
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def create_user_with_http_info(user, opts = {}) def create_user_with_http_info(user, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.create_user ...' @api_client.config.logger.debug 'Calling API: UserApi.create_user ...'
@ -83,7 +83,7 @@ module Petstore
# Creates list of users with given input array # Creates list of users with given input array
# @param user [Array<User>] List of user object # @param user [Array<User>] List of user object
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def create_users_with_array_input_with_http_info(user, opts = {}) def create_users_with_array_input_with_http_info(user, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.create_users_with_array_input ...' @api_client.config.logger.debug 'Calling API: UserApi.create_users_with_array_input ...'
@ -133,7 +133,7 @@ module Petstore
# Creates list of users with given input array # Creates list of users with given input array
# @param user [Array<User>] List of user object # @param user [Array<User>] List of user object
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def create_users_with_list_input_with_http_info(user, opts = {}) def create_users_with_list_input_with_http_info(user, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.create_users_with_list_input ...' @api_client.config.logger.debug 'Calling API: UserApi.create_users_with_list_input ...'
@ -185,7 +185,7 @@ module Petstore
# This can only be done by the logged in user. # This can only be done by the logged in user.
# @param username [String] The name that needs to be deleted # @param username [String] The name that needs to be deleted
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def delete_user_with_http_info(username, opts = {}) def delete_user_with_http_info(username, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.delete_user ...' @api_client.config.logger.debug 'Calling API: UserApi.delete_user ...'
@ -233,7 +233,7 @@ module Petstore
# Get user by user name # Get user by user name
# @param username [String] The name that needs to be fetched. Use user1 for testing. # @param username [String] The name that needs to be fetched. Use user1 for testing.
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(User, Fixnum, Hash)>] User data, response status code and response headers # @return [Array<(User, Integer, Hash)>] User data, response status code and response headers
def get_user_by_name_with_http_info(username, opts = {}) def get_user_by_name_with_http_info(username, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.get_user_by_name ...' @api_client.config.logger.debug 'Calling API: UserApi.get_user_by_name ...'
@ -286,7 +286,7 @@ module Petstore
# @param username [String] The user name for login # @param username [String] The user name for login
# @param password [String] The password for login in clear text # @param password [String] The password for login in clear text
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers # @return [Array<(String, Integer, Hash)>] String data, response status code and response headers
def login_user_with_http_info(username, password, opts = {}) def login_user_with_http_info(username, password, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.login_user ...' @api_client.config.logger.debug 'Calling API: UserApi.login_user ...'
@ -341,7 +341,7 @@ module Petstore
# Logs out current logged in user session # Logs out current logged in user session
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def logout_user_with_http_info(opts = {}) def logout_user_with_http_info(opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.logout_user ...' @api_client.config.logger.debug 'Calling API: UserApi.logout_user ...'
@ -389,7 +389,7 @@ module Petstore
# @param username [String] name that need to be deleted # @param username [String] name that need to be deleted
# @param user [User] Updated user object # @param user [User] Updated user object
# @param [Hash] opts the optional parameters # @param [Hash] opts the optional parameters
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
def update_user_with_http_info(username, user, opts = {}) def update_user_with_http_info(username, user, opts = {})
if @api_client.config.debugging if @api_client.config.debugging
@api_client.config.logger.debug 'Calling API: UserApi.update_user ...' @api_client.config.logger.debug 'Calling API: UserApi.update_user ...'

View File

@ -44,7 +44,7 @@ module Petstore
# Call an API with given options. # Call an API with given options.
# #
# @return [Array<(Object, Fixnum, Hash)>] an array of 3 elements: # @return [Array<(Object, Integer, Hash)>] an array of 3 elements:
# the data deserialized from response body (could be nil), response status code and response headers. # the data deserialized from response body (could be nil), response status code and response headers.
def call_api(http_method, path, opts = {}) def call_api(http_method, path, opts = {})
request = build_request(http_method, path, opts) request = build_request(http_method, path, opts)

View File

@ -91,7 +91,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[map_property, map_of_map_property].hash [map_property, map_of_map_property].hash
end end

View File

@ -99,7 +99,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[class_name, color].hash [class_name, color].hash
end end

View File

@ -96,7 +96,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[code, type, message].hash [code, type, message].hash
end end

View File

@ -80,7 +80,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[array_array_number].hash [array_array_number].hash
end end

View File

@ -80,7 +80,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[array_number].hash [array_number].hash
end end

View File

@ -102,7 +102,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[array_of_string, array_array_of_integer, array_array_of_model].hash [array_of_string, array_array_of_integer, array_array_of_model].hash
end end

View File

@ -124,7 +124,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[small_camel, capital_camel, small_snake, capital_snake, sca_eth_flow_points, att_name].hash [small_camel, capital_camel, small_snake, capital_snake, sca_eth_flow_points, att_name].hash
end end

View File

@ -88,7 +88,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[declawed].hash [declawed].hash
end end

View File

@ -94,7 +94,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, name].hash [id, name].hash
end end

View File

@ -79,7 +79,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[_class].hash [_class].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[client].hash [client].hash
end end

View File

@ -88,7 +88,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[breed].hash [breed].hash
end end

View File

@ -123,7 +123,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[just_symbol, array_enum].hash [just_symbol, array_enum].hash
end end

View File

@ -216,7 +216,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[enum_string, enum_string_required, enum_integer, enum_number, outer_enum, outer_enum_integer, outer_enum_default_value, outer_enum_integer_default_value].hash [enum_string, enum_string_required, enum_integer, enum_number, outer_enum, outer_enum_integer, outer_enum_default_value, outer_enum_integer_default_value].hash
end end

View File

@ -80,7 +80,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[source_uri].hash [source_uri].hash
end end

View File

@ -89,7 +89,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[file, files].hash [file, files].hash
end end

View File

@ -80,7 +80,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[bar].hash [bar].hash
end end

View File

@ -429,7 +429,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[integer, int32, int64, number, float, double, string, byte, binary, date, date_time, uuid, password, pattern_with_digits, pattern_with_digits_and_delimiter].hash [integer, int32, int64, number, float, double, string, byte, binary, date, date_time, uuid, password, pattern_with_digits, pattern_with_digits_and_delimiter].hash
end end

View File

@ -87,7 +87,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[bar, foo].hash [bar, foo].hash
end end

View File

@ -79,7 +79,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[nullable_message].hash [nullable_message].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[string].hash [string].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[_123_list].hash [_123_list].hash
end end

View File

@ -135,7 +135,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[map_map_of_string, map_of_enum_string, direct_map, indirect_map].hash [map_map_of_string, map_of_enum_string, direct_map, indirect_map].hash
end end

View File

@ -98,7 +98,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[uuid, date_time, map].hash [uuid, date_time, map].hash
end end

View File

@ -88,7 +88,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name, _class].hash [name, _class].hash
end end

View File

@ -79,7 +79,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[_return].hash [_return].hash
end end

View File

@ -111,7 +111,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[name, snake_case, property, _123_number].hash [name, snake_case, property, _123_number].hash
end end

View File

@ -189,7 +189,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[integer_prop, number_prop, boolean_prop, string_prop, date_prop, datetime_prop, array_nullable_prop, array_and_items_nullable_prop, array_items_nullable, object_nullable_prop, object_and_items_nullable_prop, object_items_nullable].hash [integer_prop, number_prop, boolean_prop, string_prop, date_prop, datetime_prop, array_nullable_prop, array_and_items_nullable_prop, array_items_nullable, object_nullable_prop, object_and_items_nullable_prop, object_items_nullable].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[just_number].hash [just_number].hash
end end

View File

@ -160,7 +160,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, pet_id, quantity, ship_date, status, complete].hash [id, pet_id, quantity, ship_date, status, complete].hash
end end

View File

@ -96,7 +96,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[my_number, my_string, my_boolean].hash [my_number, my_string, my_boolean].hash
end end

View File

@ -172,7 +172,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, category, name, photo_urls, tags, status].hash [id, category, name, photo_urls, tags, status].hash
end end

View File

@ -87,7 +87,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[bar, baz].hash [bar, baz].hash
end end

View File

@ -78,7 +78,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[special_property_name].hash [special_property_name].hash
end end

View File

@ -87,7 +87,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, name].hash [id, name].hash
end end

View File

@ -142,7 +142,7 @@ module Petstore
end end
# Calculates hash code according to all attributes. # Calculates hash code according to all attributes.
# @return [Fixnum] Hash code # @return [Integer] Hash code
def hash def hash
[id, username, first_name, last_name, email, password, phone, user_status].hash [id, username, first_name, last_name, email, password, phone, user_status].hash
end end