Safe Haskell | None |
---|---|
Language | Haskell2010 |
- fakeOuterBooleanSerialize :: Consumes FakeOuterBooleanSerialize MimeJSON => Accept accept -> OpenAPIPetstoreRequest FakeOuterBooleanSerialize MimeJSON Bool accept
- data FakeOuterBooleanSerialize
- fakeOuterCompositeSerialize :: Consumes FakeOuterCompositeSerialize MimeJSON => Accept accept -> OpenAPIPetstoreRequest FakeOuterCompositeSerialize MimeJSON OuterComposite accept
- data FakeOuterCompositeSerialize
- fakeOuterNumberSerialize :: Consumes FakeOuterNumberSerialize MimeJSON => Accept accept -> OpenAPIPetstoreRequest FakeOuterNumberSerialize MimeJSON Double accept
- data FakeOuterNumberSerialize
- fakeOuterStringSerialize :: Consumes FakeOuterStringSerialize MimeJSON => Accept accept -> OpenAPIPetstoreRequest FakeOuterStringSerialize MimeJSON Text accept
- data FakeOuterStringSerialize
- testClientModel :: (Consumes TestClientModel MimeJSON, MimeRender MimeJSON Client) => Client -> OpenAPIPetstoreRequest TestClientModel MimeJSON Client MimeJSON
- data TestClientModel
- testEndpointParameters :: Consumes TestEndpointParameters MimeFormUrlEncoded => Number -> ParamDouble -> PatternWithoutDelimiter -> Byte -> OpenAPIPetstoreRequest TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent
- data TestEndpointParameters
- testEnumParameters :: Consumes TestEnumParameters MimeFormUrlEncoded => OpenAPIPetstoreRequest TestEnumParameters MimeFormUrlEncoded NoContent MimeNoContent
- data TestEnumParameters
- testInlineAdditionalProperties :: (Consumes TestInlineAdditionalProperties MimeJSON, MimeRender MimeJSON RequestBody) => RequestBody -> OpenAPIPetstoreRequest TestInlineAdditionalProperties MimeJSON NoContent MimeNoContent
- data TestInlineAdditionalProperties
- testJsonFormData :: Consumes TestJsonFormData MimeFormUrlEncoded => Param -> Param2 -> OpenAPIPetstoreRequest TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent
- data TestJsonFormData
Operations
Fake
fakeOuterBooleanSerialize
fakeOuterBooleanSerialize Source #
:: Consumes FakeOuterBooleanSerialize MimeJSON | |
=> Accept accept | request accept ( |
-> OpenAPIPetstoreRequest FakeOuterBooleanSerialize MimeJSON Bool accept |
POST /fake/outer/boolean
Test serialization of outer boolean types
data FakeOuterBooleanSerialize Source #
MimeType mtype => Produces FakeOuterBooleanSerialize mtype Source # | */* |
Consumes FakeOuterBooleanSerialize MimeJSON Source # | application/json |
HasBodyParam FakeOuterBooleanSerialize BodyBool Source # | Body Param "body" - Input boolean as post body |
fakeOuterCompositeSerialize
fakeOuterCompositeSerialize Source #
:: Consumes FakeOuterCompositeSerialize MimeJSON | |
=> Accept accept | request accept ( |
-> OpenAPIPetstoreRequest FakeOuterCompositeSerialize MimeJSON OuterComposite accept |
POST /fake/outer/composite
Test serialization of object with outer number type
data FakeOuterCompositeSerialize Source #
MimeType mtype => Produces FakeOuterCompositeSerialize mtype Source # | */* |
Consumes FakeOuterCompositeSerialize MimeJSON Source # | application/json |
HasBodyParam FakeOuterCompositeSerialize OuterComposite Source # | Body Param OuterComposite - Input composite as post body |
fakeOuterNumberSerialize
fakeOuterNumberSerialize Source #
:: Consumes FakeOuterNumberSerialize MimeJSON | |
=> Accept accept | request accept ( |
-> OpenAPIPetstoreRequest FakeOuterNumberSerialize MimeJSON Double accept |
POST /fake/outer/number
Test serialization of outer number types
data FakeOuterNumberSerialize Source #
MimeType mtype => Produces FakeOuterNumberSerialize mtype Source # | */* |
Consumes FakeOuterNumberSerialize MimeJSON Source # | application/json |
HasBodyParam FakeOuterNumberSerialize Body Source # | Body Param "body" - Input number as post body |
fakeOuterStringSerialize
fakeOuterStringSerialize Source #
:: Consumes FakeOuterStringSerialize MimeJSON | |
=> Accept accept | request accept ( |
-> OpenAPIPetstoreRequest FakeOuterStringSerialize MimeJSON Text accept |
POST /fake/outer/string
Test serialization of outer string types
data FakeOuterStringSerialize Source #
MimeType mtype => Produces FakeOuterStringSerialize mtype Source # | */* |
Consumes FakeOuterStringSerialize MimeJSON Source # | application/json |
HasBodyParam FakeOuterStringSerialize BodyText Source # | Body Param "body" - Input string as post body |
testClientModel
:: (Consumes TestClientModel MimeJSON, MimeRender MimeJSON Client) | |
=> Client | "client" - client model |
-> OpenAPIPetstoreRequest TestClientModel MimeJSON Client MimeJSON |
PATCH /fake
To test "client" model
To test "client" model
data TestClientModel Source #
Produces TestClientModel MimeJSON Source # | application/json |
Consumes TestClientModel MimeJSON Source # | application/json |
HasBodyParam TestClientModel Client Source # | Body Param Client - client model |
testEndpointParameters
testEndpointParameters Source #
:: Consumes TestEndpointParameters MimeFormUrlEncoded | |
=> Number | "number" - None |
-> ParamDouble | "double" - None |
-> PatternWithoutDelimiter | "patternWithoutDelimiter" - None |
-> Byte | "byte" - None |
-> OpenAPIPetstoreRequest TestEndpointParameters MimeFormUrlEncoded NoContent MimeNoContent |
POST /fake
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
AuthMethod: AuthBasicHttpBasicTest
data TestEndpointParameters Source #
testEnumParameters
testEnumParameters :: Consumes TestEnumParameters MimeFormUrlEncoded => OpenAPIPetstoreRequest TestEnumParameters MimeFormUrlEncoded NoContent MimeNoContent Source #
GET /fake
To test enum parameters
To test enum parameters
data TestEnumParameters Source #
Produces TestEnumParameters MimeNoContent Source # | |
Consumes TestEnumParameters MimeFormUrlEncoded Source # | application/x-www-form-urlencoded |
HasOptionalParam TestEnumParameters EnumQueryStringArray Source # | Optional Param "enum_query_string_array" - Query parameter enum test (string array) |
HasOptionalParam TestEnumParameters EnumQueryString Source # | Optional Param "enum_query_string" - Query parameter enum test (string) |
HasOptionalParam TestEnumParameters EnumQueryInteger Source # | Optional Param "enum_query_integer" - Query parameter enum test (double) |
HasOptionalParam TestEnumParameters EnumQueryDouble Source # | Optional Param "enum_query_double" - Query parameter enum test (double) |
HasOptionalParam TestEnumParameters EnumHeaderStringArray Source # | Optional Param "enum_header_string_array" - Header parameter enum test (string array) |
HasOptionalParam TestEnumParameters EnumHeaderString Source # | Optional Param "enum_header_string" - Header parameter enum test (string) |
HasOptionalParam TestEnumParameters EnumFormStringArray Source # | Optional Param "enum_form_string_array" - Form parameter enum test (string array) |
HasOptionalParam TestEnumParameters EnumFormString Source # | Optional Param "enum_form_string" - Form parameter enum test (string) |
testInlineAdditionalProperties
testInlineAdditionalProperties Source #
:: (Consumes TestInlineAdditionalProperties MimeJSON, MimeRender MimeJSON RequestBody) | |
=> RequestBody | "requestBody" - request body |
-> OpenAPIPetstoreRequest TestInlineAdditionalProperties MimeJSON NoContent MimeNoContent |
POST /fake/inline-additionalProperties
test inline additionalProperties
data TestInlineAdditionalProperties Source #
Produces TestInlineAdditionalProperties MimeNoContent Source # | |
Consumes TestInlineAdditionalProperties MimeJSON Source # | application/json |
HasBodyParam TestInlineAdditionalProperties RequestBody Source # | Body Param "request_body" - request body |
testJsonFormData
:: Consumes TestJsonFormData MimeFormUrlEncoded | |
=> Param | "param" - field1 |
-> Param2 | "param2" - field2 |
-> OpenAPIPetstoreRequest TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent |
GET /fake/jsonFormData
test json serialization of form data
data TestJsonFormData Source #
Produces TestJsonFormData MimeNoContent Source # | |
Consumes TestJsonFormData MimeFormUrlEncoded Source # | application/x-www-form-urlencoded |