class PetStore::FakeApi
- PetStore::FakeApi
- Reference
- Object
Defined in:
pet_store/api/fake_api.crConstant 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
- #api_client : ApiClient
- #api_client=(api_client : ApiClient)
-
#build_api_request_for_fake_health_get : Crest::Request
@return Crest::Request
-
#build_api_request_for_fake_outer_boolean_serialize(*, body : Bool | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_fake_outer_composite_serialize(*, outer_composite : PetStore::OuterComposite | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_fake_outer_number_serialize(*, body : Float64 | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_fake_outer_string_serialize(*, body : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_find_pet_by_id(*, id : String | Nil = "954b95b6-43cf-4104-8354-dea4d9b10ddf") : Crest::Request
@return Crest::Request
-
#build_api_request_for_test_body_with_file_schema(*, file_schema_test_class : PetStore::FileSchemaTestClass | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_test_body_with_query_params(*, query : String | Nil = nil, user : PetStore::User | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_test_client_model(*, client : PetStore::Client | Nil = nil) : Crest::Request
@return Crest::Request
-
#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
-
#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
-
#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
-
#build_api_request_for_test_inline_additional_properties(*, request_body : Hash(String, String) | Nil = nil) : Crest::Request
@return Crest::Request
-
#build_api_request_for_test_json_form_data(*, param : String | Nil = nil, param2 : String | Nil = nil) : Crest::Request
@return Crest::Request
-
#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
-
#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
- #client_side_validation(*args, **options)
- #client_side_validation(*args, **options, &)
- #debugging(*args, **options)
- #debugging(*args, **options, &)
-
#fake_health_get : PetStore::HealthCheckResult
Health check endpoint @return [PetStore::HealthCheckResult]
-
#fake_health_get(&block : Crest::Response -> ) : Nil
Health check endpoint @return nil
-
#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
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
-
#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
. -
#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`.
-
#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`.
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
-
#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]
-
#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
-
#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
-
#test_inline_additional_properties(*, request_body : Hash(String, String) | Nil = nil) : Nil
test inline additionalProperties
-
#test_inline_additional_properties(*, request_body : Hash(String, String) | Nil = nil, &block : Crest::Response -> ) : Nil
test inline additionalProperties
-
#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
-
#test_json_form_data(*, param : String | Nil = nil, param2 : String | Nil = nil) : Nil
test json serialization of form data
-
#test_json_form_data(*, param : String | Nil = nil, param2 : String | Nil = nil, &block : Crest::Response -> ) : Nil
test json serialization of form data
-
#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
-
#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]
-
#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
-
#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
-
#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)]
-
#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
-
#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
Constructor Detail
Instance Method Detail
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
Health check endpoint @return [PetStore::HealthCheckResult]
Health check endpoint @return [Tuple(PetStore::HealthCheckResult, Integer, Hash)] PetStore::HealthCheckResult, response status code and response headers
Test serialization of outer boolean types @optional @param body [Bool?] Input boolean as post body @return [Bool]
Test serialization of outer boolean types @optional @param body [Bool?] Input boolean as post body @return nil
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
Test serialization of object with outer number type @optional @param outer_composite [PetStore::OuterComposite?] Input composite as post body @return [PetStore::OuterComposite]
Test serialization of object with outer number type @optional @param outer_composite [PetStore::OuterComposite?] Input composite as post body @return nil
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
Test serialization of outer number types @optional @param body [Float64?] Input number as post body @return [Float64]
Test serialization of outer number types @optional @param body [Float64?] Input number as post body @return nil
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
Test serialization of outer string types @optional @param body [String?] Input string as post body @return [String]
Test serialization of outer string types @optional @param body [String?] Input string as post body @return nil
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
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]
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
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
For this test, the body for this request much reference a schema named File
.
@required @param file_schema_test_class [PetStore::FileSchemaTestClass?]
@return [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
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
@required @param query [String?] @required @param user [PetStore::User?] @return [Nil]
@required @param query [String?] @required @param user [PetStore::User?] @return nil
@required @param query [String?] @required @param user [PetStore::User?] @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
To test "client" model To test "client" model @required @param client [PetStore::Client?] client model @return [PetStore::Client]
To test "client" model To test "client" model @required @param client [PetStore::Client?] client model @return nil
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
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]
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
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
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]
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
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
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]
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
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
test inline additionalProperties
@required @param request_body [Hash(String, String)?] request body @return [Nil]
test inline additionalProperties
@required @param request_body [Hash(String, String)?] request body @return nil
test inline additionalProperties
@required @param request_body [Hash(String, String)?] request body @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers
test json serialization of form data
@required @param param [String?] field1 @required @param param2 [String?] field2 @return [Nil]
test json serialization of form data
@required @param param [String?] field1 @required @param param2 [String?] field2 @return nil
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
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]
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
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
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)]
To test unique items in header and query parameters @required @param query_unique [Array(String)?] @required @param header_unique [Array(String)?] @return nil
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