class PetStore::FakeApi

Defined in:

pet_store/api/fake_api.cr

Constant Summary

TEST_ENDPOINT_PARAMETERS_MAX_FOR_DOUBLE = Float64.new("123.4")
TEST_ENDPOINT_PARAMETERS_MAX_FOR_FLOAT = Float32.new("987.6")
TEST_ENDPOINT_PARAMETERS_MAX_FOR_INT32 = Int32.new("200")
TEST_ENDPOINT_PARAMETERS_MAX_FOR_INTEGER = Int32.new("100")
TEST_ENDPOINT_PARAMETERS_MAX_FOR_NUMBER = Float64.new("543.2")
TEST_ENDPOINT_PARAMETERS_MAX_LENGTH_FOR_PASSWORD = 64
TEST_ENDPOINT_PARAMETERS_MIN_FOR_DOUBLE = Float64.new("67.8")
TEST_ENDPOINT_PARAMETERS_MIN_FOR_INT32 = Int32.new("20")
TEST_ENDPOINT_PARAMETERS_MIN_FOR_INTEGER = Int32.new("10")
TEST_ENDPOINT_PARAMETERS_MIN_FOR_NUMBER = Float64.new("32.1")
TEST_ENDPOINT_PARAMETERS_MIN_LENGTH_FOR_PASSWORD = 10
TEST_ENDPOINT_PARAMETERS_PATTERN_FOR_PATTERN_WITHOUT_DELIMITER = /^[A-Z].*/
TEST_ENDPOINT_PARAMETERS_PATTERN_FOR_STRING = /[a-z]/i
TEST_ENUM_PARAMETERS_VALID_VALUES_FOR_ENUM_FORM_STRING = String.static_array("_abc", "-efg", "(xyz)")
TEST_ENUM_PARAMETERS_VALID_VALUES_FOR_ENUM_FORM_STRING_ARRAY = String.static_array(">", "$")
TEST_ENUM_PARAMETERS_VALID_VALUES_FOR_ENUM_HEADER_STRING = String.static_array("_abc", "-efg", "(xyz)")
TEST_ENUM_PARAMETERS_VALID_VALUES_FOR_ENUM_HEADER_STRING_ARRAY = String.static_array(">", "$")
TEST_ENUM_PARAMETERS_VALID_VALUES_FOR_ENUM_QUERY_DOUBLE = Float64.static_array("1.1", "-1.2")
TEST_ENUM_PARAMETERS_VALID_VALUES_FOR_ENUM_QUERY_INTEGER = Int32.static_array("1", "-2")
TEST_ENUM_PARAMETERS_VALID_VALUES_FOR_ENUM_QUERY_STRING = String.static_array("_abc", "-efg", "(xyz)")
TEST_ENUM_PARAMETERS_VALID_VALUES_FOR_ENUM_QUERY_STRING_ARRAY = String.static_array(">", "$")

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_client : PetStore::ApiClient = ApiClient.default) #

[View source]

Instance Method Detail

def api_client : ApiClient #

[View source]
def api_client=(api_client : ApiClient) #

[View source]
def build_api_request_for_fake_health_get : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fake_outer_boolean_serialize(*, body : Bool | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fake_outer_composite_serialize(*, outer_composite : PetStore::OuterComposite | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fake_outer_number_serialize(*, body : Float64 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fake_outer_string_serialize(*, body : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_find_pet_by_id(*, id : String | Nil = "954b95b6-43cf-4104-8354-dea4d9b10ddf") : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_body_with_file_schema(*, file_schema_test_class : PetStore::FileSchemaTestClass | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_body_with_query_params(*, query : String | Nil = nil, user : PetStore::User | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_client_model(*, client : PetStore::Client | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_endpoint_parameters(*, number : Float64 | Nil = nil, double : Float64 | Nil = nil, pattern_without_delimiter : String | Nil = nil, byte : String | Nil = nil, integer : Int32 | Nil = nil, int32 : Int32 | Nil = nil, int64 : Int64 | Nil = nil, float : Float32 | Nil = nil, string : String | Nil = nil, binary : ::File | Nil = nil, date : Time | Nil = nil, date_time : Time | Nil = nil, password : String | Nil = nil, callback : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_enum_parameters(*, enum_header_string_array : Array(String) | Nil = nil, enum_header_string : String | Nil = "-efg", enum_query_string_array : Array(String) | Nil = nil, enum_query_string : String | Nil = "-efg", enum_query_integer : Int32 | Nil = nil, enum_query_double : Float64 | Nil = nil, enum_form_string_array : Array(String) | Nil = ["$"], enum_form_string : String | Nil = "-efg") : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_group_parameters(*, required_string_group : Int32 | Nil = nil, required_boolean_group : Bool | Nil = nil, required_int64_group : Int64 | Nil = nil, string_group : Int32 | Nil = nil, boolean_group : Bool | Nil = nil, int64_group : Int64 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_inline_additional_properties(*, request_body : Hash(String, String) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_json_form_data(*, param : String | Nil = nil, param2 : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_query_parameter_collection_format(*, pipe : Array(String) | Nil = nil, ioutil : Array(String) | Nil = nil, http : Array(String) | Nil = nil, url : Array(String) | Nil = nil, context : Array(String) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_test_unique_items_header_and_query_parameter_collection_format(*, query_unique : Array(String) | Nil = nil, header_unique : Array(String) | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def client_side_validation(*args, **options) #

[View source]
def client_side_validation(*args, **options, &) #

[View source]
def debugging(*args, **options) #

[View source]
def debugging(*args, **options, &) #

[View source]
def fake_health_get : PetStore::HealthCheckResult #

Health check endpoint @return [PetStore::HealthCheckResult]


[View source]
def fake_health_get(&block : Crest::Response -> ) : Nil #

Health check endpoint @return nil


[View source]
def fake_health_get_with_http_info : Tuple(PetStore::HealthCheckResult, Int32, Hash(String, Array(String) | String)) #

Health check endpoint @return [Tuple(PetStore::HealthCheckResult, Integer, Hash)] PetStore::HealthCheckResult, response status code and response headers


[View source]
def fake_outer_boolean_serialize(*, body : Bool | Nil = nil) : Bool #

Test serialization of outer boolean types @optional @param body [Bool?] Input boolean as post body @return [Bool]


[View source]
def fake_outer_boolean_serialize(*, body : Bool | Nil = nil, &block : Crest::Response -> ) : Nil #

Test serialization of outer boolean types @optional @param body [Bool?] Input boolean as post body @return nil


[View source]
def fake_outer_boolean_serialize_with_http_info(*, body : Bool | Nil = nil) : Tuple(Bool, Int32, Hash(String, Array(String) | String)) #

Test serialization of outer boolean types @optional @param body [Bool?] Input boolean as post body @return [Tuple(Bool, Integer, Hash)] Bool, response status code and response headers


[View source]
def fake_outer_composite_serialize(*, outer_composite : PetStore::OuterComposite | Nil = nil) : PetStore::OuterComposite #

Test serialization of object with outer number type @optional @param outer_composite [PetStore::OuterComposite?] Input composite as post body @return [PetStore::OuterComposite]


[View source]
def fake_outer_composite_serialize(*, outer_composite : PetStore::OuterComposite | Nil = nil, &block : Crest::Response -> ) : Nil #

Test serialization of object with outer number type @optional @param outer_composite [PetStore::OuterComposite?] Input composite as post body @return nil


[View source]
def fake_outer_composite_serialize_with_http_info(*, outer_composite : PetStore::OuterComposite | Nil = nil) : Tuple(PetStore::OuterComposite, Int32, Hash(String, Array(String) | String)) #

Test serialization of object with outer number type @optional @param outer_composite [PetStore::OuterComposite?] Input composite as post body @return [Tuple(PetStore::OuterComposite, Integer, Hash)] PetStore::OuterComposite, response status code and response headers


[View source]
def fake_outer_number_serialize(*, body : Float64 | Nil = nil) : Float64 #

Test serialization of outer number types @optional @param body [Float64?] Input number as post body @return [Float64]


[View source]
def fake_outer_number_serialize(*, body : Float64 | Nil = nil, &block : Crest::Response -> ) : Nil #

Test serialization of outer number types @optional @param body [Float64?] Input number as post body @return nil


[View source]
def fake_outer_number_serialize_with_http_info(*, body : Float64 | Nil = nil) : Tuple(Float64, Int32, Hash(String, Array(String) | String)) #

Test serialization of outer number types @optional @param body [Float64?] Input number as post body @return [Tuple(Float64, Integer, Hash)] Float64, response status code and response headers


[View source]
def fake_outer_string_serialize(*, body : String | Nil = nil) : String #

Test serialization of outer string types @optional @param body [String?] Input string as post body @return [String]


[View source]
def fake_outer_string_serialize(*, body : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Test serialization of outer string types @optional @param body [String?] Input string as post body @return nil


[View source]
def fake_outer_string_serialize_with_http_info(*, body : String | Nil = nil) : Tuple(String, Int32, Hash(String, Array(String) | String)) #

Test serialization of outer string types @optional @param body [String?] Input string as post body @return [Tuple(String, Integer, Hash)] String, response status code and response headers


[View source]
def find_pet_by_id(*, id : String | Nil = "954b95b6-43cf-4104-8354-dea4d9b10ddf") : PetStore::Pet #

Returns a user based on a single ID, if the user does not have access to the pet @required @param id [String?] ID of pet to fetch @return [PetStore::Pet]


[View source]
def find_pet_by_id(*, id : String | Nil = "954b95b6-43cf-4104-8354-dea4d9b10ddf", &block : Crest::Response -> ) : Nil #

Returns a user based on a single ID, if the user does not have access to the pet @required @param id [String?] ID of pet to fetch @return nil


[View source]
def find_pet_by_id_with_http_info(*, id : String | Nil = "954b95b6-43cf-4104-8354-dea4d9b10ddf") : Tuple(PetStore::Pet, Int32, Hash(String, Array(String) | String)) #

Returns a user based on a single ID, if the user does not have access to the pet @required @param id [String?] ID of pet to fetch @return [Tuple(PetStore::Pet, Integer, Hash)] PetStore::Pet, response status code and response headers


[View source]
def test_body_with_file_schema(*, file_schema_test_class : PetStore::FileSchemaTestClass | Nil = nil) : Nil #

For this test, the body for this request much reference a schema named File. @required @param file_schema_test_class [PetStore::FileSchemaTestClass?] @return [Nil]


[View source]
def test_body_with_file_schema(*, file_schema_test_class : PetStore::FileSchemaTestClass | Nil = nil, &block : Crest::Response -> ) : Nil #

For this test, the body for this request much reference a schema named `File`. @required @param file_schema_test_class [PetStore::FileSchemaTestClass?] @return nil


[View source]
def test_body_with_file_schema_with_http_info(*, file_schema_test_class : PetStore::FileSchemaTestClass | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

For this test, the body for this request much reference a schema named `File`. @required @param file_schema_test_class [PetStore::FileSchemaTestClass?] @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def test_body_with_query_params(*, query : String | Nil = nil, user : PetStore::User | Nil = nil) : Nil #

@required @param query [String?] @required @param user [PetStore::User?] @return [Nil]


[View source]
def test_body_with_query_params(*, query : String | Nil = nil, user : PetStore::User | Nil = nil, &block : Crest::Response -> ) : Nil #

@required @param query [String?] @required @param user [PetStore::User?] @return nil


[View source]
def test_body_with_query_params_with_http_info(*, query : String | Nil = nil, user : PetStore::User | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

@required @param query [String?] @required @param user [PetStore::User?] @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def test_client_model(*, client : PetStore::Client | Nil = nil) : PetStore::Client #

To test "client" model To test "client" model @required @param client [PetStore::Client?] client model @return [PetStore::Client]


[View source]
def test_client_model(*, client : PetStore::Client | Nil = nil, &block : Crest::Response -> ) : Nil #

To test "client" model To test "client" model @required @param client [PetStore::Client?] client model @return nil


[View source]
def test_client_model_with_http_info(*, client : PetStore::Client | Nil = nil) : Tuple(PetStore::Client, Int32, Hash(String, Array(String) | String)) #

To test "client" model To test "client" model @required @param client [PetStore::Client?] client model @return [Tuple(PetStore::Client, Integer, Hash)] PetStore::Client, response status code and response headers


[View source]
def test_endpoint_parameters(*, number : Float64 | Nil = nil, double : Float64 | Nil = nil, pattern_without_delimiter : String | Nil = nil, byte : String | Nil = nil, integer : Int32 | Nil = nil, int32 : Int32 | Nil = nil, int64 : Int64 | Nil = nil, float : Float32 | Nil = nil, string : String | Nil = nil, binary : ::File | Nil = nil, date : Time | Nil = nil, date_time : Time | Nil = nil, password : String | Nil = nil, callback : String | Nil = nil) : Nil #

Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 @required @param number [Float64?] None @required @param double [Float64?] None @required @param pattern_without_delimiter [String?] None @required @param byte [String?] None @optional @param integer [Int32?] None @optional @param int32 [Int32?] None @optional @param int64 [Int64?] None @optional @param float [Float32?] None @optional @param string [String?] None @optional @param binary [::File?] None @optional @param date [Time?] None @optional @param date_time [Time?] None @optional @param password [String?] None @optional @param callback [String?] None @return [Nil]


[View source]
def test_endpoint_parameters(*, number : Float64 | Nil = nil, double : Float64 | Nil = nil, pattern_without_delimiter : String | Nil = nil, byte : String | Nil = nil, integer : Int32 | Nil = nil, int32 : Int32 | Nil = nil, int64 : Int64 | Nil = nil, float : Float32 | Nil = nil, string : String | Nil = nil, binary : ::File | Nil = nil, date : Time | Nil = nil, date_time : Time | Nil = nil, password : String | Nil = nil, callback : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 @required @param number [Float64?] None @required @param double [Float64?] None @required @param pattern_without_delimiter [String?] None @required @param byte [String?] None @optional @param integer [Int32?] None @optional @param int32 [Int32?] None @optional @param int64 [Int64?] None @optional @param float [Float32?] None @optional @param string [String?] None @optional @param binary [::File?] None @optional @param date [Time?] None @optional @param date_time [Time?] None @optional @param password [String?] None @optional @param callback [String?] None @return nil


[View source]
def test_endpoint_parameters_with_http_info(*, number : Float64 | Nil = nil, double : Float64 | Nil = nil, pattern_without_delimiter : String | Nil = nil, byte : String | Nil = nil, integer : Int32 | Nil = nil, int32 : Int32 | Nil = nil, int64 : Int64 | Nil = nil, float : Float32 | Nil = nil, string : String | Nil = nil, binary : ::File | Nil = nil, date : Time | Nil = nil, date_time : Time | Nil = nil, password : String | Nil = nil, callback : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 @required @param number [Float64?] None @required @param double [Float64?] None @required @param pattern_without_delimiter [String?] None @required @param byte [String?] None @optional @param integer [Int32?] None @optional @param int32 [Int32?] None @optional @param int64 [Int64?] None @optional @param float [Float32?] None @optional @param string [String?] None @optional @param binary [::File?] None @optional @param date [Time?] None @optional @param date_time [Time?] None @optional @param password [String?] None @optional @param callback [String?] None @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def test_enum_parameters(*, enum_header_string_array : Array(String) | Nil = nil, enum_header_string : String | Nil = "-efg", enum_query_string_array : Array(String) | Nil = nil, enum_query_string : String | Nil = "-efg", enum_query_integer : Int32 | Nil = nil, enum_query_double : Float64 | Nil = nil, enum_form_string_array : Array(String) | Nil = ["$"], enum_form_string : String | Nil = "-efg") : Nil #

To test enum parameters To test enum parameters @optional @param enum_header_string_array [Array(String)?] Header parameter enum test (string array) @optional @param enum_header_string [String?] Header parameter enum test (string) @optional @param enum_query_string_array [Array(String)?] Query parameter enum test (string array) @optional @param enum_query_string [String?] Query parameter enum test (string) @optional @param enum_query_integer [Int32?] Query parameter enum test (double) @optional @param enum_query_double [Float64?] Query parameter enum test (double) @optional @param enum_form_string_array [Array(String)?] Form parameter enum test (string array) @optional @param enum_form_string [String?] Form parameter enum test (string) @return [Nil]


[View source]
def test_enum_parameters(*, enum_header_string_array : Array(String) | Nil = nil, enum_header_string : String | Nil = "-efg", enum_query_string_array : Array(String) | Nil = nil, enum_query_string : String | Nil = "-efg", enum_query_integer : Int32 | Nil = nil, enum_query_double : Float64 | Nil = nil, enum_form_string_array : Array(String) | Nil = ["$"], enum_form_string : String | Nil = "-efg", &block : Crest::Response -> ) : Nil #

To test enum parameters To test enum parameters @optional @param enum_header_string_array [Array(String)?] Header parameter enum test (string array) @optional @param enum_header_string [String?] Header parameter enum test (string) @optional @param enum_query_string_array [Array(String)?] Query parameter enum test (string array) @optional @param enum_query_string [String?] Query parameter enum test (string) @optional @param enum_query_integer [Int32?] Query parameter enum test (double) @optional @param enum_query_double [Float64?] Query parameter enum test (double) @optional @param enum_form_string_array [Array(String)?] Form parameter enum test (string array) @optional @param enum_form_string [String?] Form parameter enum test (string) @return nil


[View source]
def test_enum_parameters_with_http_info(*, enum_header_string_array : Array(String) | Nil = nil, enum_header_string : String | Nil = "-efg", enum_query_string_array : Array(String) | Nil = nil, enum_query_string : String | Nil = "-efg", enum_query_integer : Int32 | Nil = nil, enum_query_double : Float64 | Nil = nil, enum_form_string_array : Array(String) | Nil = ["$"], enum_form_string : String | Nil = "-efg") : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

To test enum parameters To test enum parameters @optional @param enum_header_string_array [Array(String)?] Header parameter enum test (string array) @optional @param enum_header_string [String?] Header parameter enum test (string) @optional @param enum_query_string_array [Array(String)?] Query parameter enum test (string array) @optional @param enum_query_string [String?] Query parameter enum test (string) @optional @param enum_query_integer [Int32?] Query parameter enum test (double) @optional @param enum_query_double [Float64?] Query parameter enum test (double) @optional @param enum_form_string_array [Array(String)?] Form parameter enum test (string array) @optional @param enum_form_string [String?] Form parameter enum test (string) @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def test_group_parameters(*, required_string_group : Int32 | Nil = nil, required_boolean_group : Bool | Nil = nil, required_int64_group : Int64 | Nil = nil, string_group : Int32 | Nil = nil, boolean_group : Bool | Nil = nil, int64_group : Int64 | Nil = nil) : Nil #

Fake endpoint to test group parameters (optional) Fake endpoint to test group parameters (optional) @required @param required_string_group [Int32?] Required String in group parameters @required @param required_boolean_group [Bool?] Required Boolean in group parameters @required @param required_int64_group [Int64?] Required Integer in group parameters @optional @param string_group [Int32?] String in group parameters @optional @param boolean_group [Bool?] Boolean in group parameters @optional @param int64_group [Int64?] Integer in group parameters @return [Nil]


[View source]
def test_group_parameters(*, required_string_group : Int32 | Nil = nil, required_boolean_group : Bool | Nil = nil, required_int64_group : Int64 | Nil = nil, string_group : Int32 | Nil = nil, boolean_group : Bool | Nil = nil, int64_group : Int64 | Nil = nil, &block : Crest::Response -> ) : Nil #

Fake endpoint to test group parameters (optional) Fake endpoint to test group parameters (optional) @required @param required_string_group [Int32?] Required String in group parameters @required @param required_boolean_group [Bool?] Required Boolean in group parameters @required @param required_int64_group [Int64?] Required Integer in group parameters @optional @param string_group [Int32?] String in group parameters @optional @param boolean_group [Bool?] Boolean in group parameters @optional @param int64_group [Int64?] Integer in group parameters @return nil


[View source]
def test_group_parameters_with_http_info(*, required_string_group : Int32 | Nil = nil, required_boolean_group : Bool | Nil = nil, required_int64_group : Int64 | Nil = nil, string_group : Int32 | Nil = nil, boolean_group : Bool | Nil = nil, int64_group : Int64 | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

Fake endpoint to test group parameters (optional) Fake endpoint to test group parameters (optional) @required @param required_string_group [Int32?] Required String in group parameters @required @param required_boolean_group [Bool?] Required Boolean in group parameters @required @param required_int64_group [Int64?] Required Integer in group parameters @optional @param string_group [Int32?] String in group parameters @optional @param boolean_group [Bool?] Boolean in group parameters @optional @param int64_group [Int64?] Integer in group parameters @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def test_inline_additional_properties(*, request_body : Hash(String, String) | Nil = nil) : Nil #

test inline additionalProperties

@required @param request_body [Hash(String, String)?] request body @return [Nil]


[View source]
def test_inline_additional_properties(*, request_body : Hash(String, String) | Nil = nil, &block : Crest::Response -> ) : Nil #

test inline additionalProperties

@required @param request_body [Hash(String, String)?] request body @return nil


[View source]
def test_inline_additional_properties_with_http_info(*, request_body : Hash(String, String) | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

test inline additionalProperties

@required @param request_body [Hash(String, String)?] request body @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def test_json_form_data(*, param : String | Nil = nil, param2 : String | Nil = nil) : Nil #

test json serialization of form data

@required @param param [String?] field1 @required @param param2 [String?] field2 @return [Nil]


[View source]
def test_json_form_data(*, param : String | Nil = nil, param2 : String | Nil = nil, &block : Crest::Response -> ) : Nil #

test json serialization of form data

@required @param param [String?] field1 @required @param param2 [String?] field2 @return nil


[View source]
def test_json_form_data_with_http_info(*, param : String | Nil = nil, param2 : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

test json serialization of form data

@required @param param [String?] field1 @required @param param2 [String?] field2 @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def test_query_parameter_collection_format(*, pipe : Array(String) | Nil = nil, ioutil : Array(String) | Nil = nil, http : Array(String) | Nil = nil, url : Array(String) | Nil = nil, context : Array(String) | Nil = nil) : Nil #

To test the collection format in query parameters @required @param pipe [Array(String)?] @required @param ioutil [Array(String)?] @required @param http [Array(String)?] @required @param url [Array(String)?] @required @param context [Array(String)?] @return [Nil]


[View source]
def test_query_parameter_collection_format(*, pipe : Array(String) | Nil = nil, ioutil : Array(String) | Nil = nil, http : Array(String) | Nil = nil, url : Array(String) | Nil = nil, context : Array(String) | Nil = nil, &block : Crest::Response -> ) : Nil #

To test the collection format in query parameters @required @param pipe [Array(String)?] @required @param ioutil [Array(String)?] @required @param http [Array(String)?] @required @param url [Array(String)?] @required @param context [Array(String)?] @return nil


[View source]
def test_query_parameter_collection_format_with_http_info(*, pipe : Array(String) | Nil = nil, ioutil : Array(String) | Nil = nil, http : Array(String) | Nil = nil, url : Array(String) | Nil = nil, context : Array(String) | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

To test the collection format in query parameters @required @param pipe [Array(String)?] @required @param ioutil [Array(String)?] @required @param http [Array(String)?] @required @param url [Array(String)?] @required @param context [Array(String)?] @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def test_unique_items_header_and_query_parameter_collection_format(*, query_unique : Array(String) | Nil = nil, header_unique : Array(String) | Nil = nil) : Array(PetStore::Pet) #

To test unique items in header and query parameters @required @param query_unique [Array(String)?] @required @param header_unique [Array(String)?] @return [Array(PetStore::Pet)]


[View source]
def test_unique_items_header_and_query_parameter_collection_format(*, query_unique : Array(String) | Nil = nil, header_unique : Array(String) | Nil = nil, &block : Crest::Response -> ) : Nil #

To test unique items in header and query parameters @required @param query_unique [Array(String)?] @required @param header_unique [Array(String)?] @return nil


[View source]
def test_unique_items_header_and_query_parameter_collection_format_with_http_info(*, query_unique : Array(String) | Nil = nil, header_unique : Array(String) | Nil = nil) : Tuple(Array(PetStore::Pet), Int32, Hash(String, Array(String) | String)) #

To test unique items in header and query parameters @required @param query_unique [Array(String)?] @required @param header_unique [Array(String)?] @return [Tuple(Array(PetStore::Pet), Integer, Hash)] Array(PetStore::Pet), response status code and response headers


[View source]