Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- createXmlItem :: (Consumes CreateXmlItem contentType, MimeRender contentType XmlItem) => ContentType contentType -> XmlItem -> OpenAPIPetstoreRequest CreateXmlItem contentType NoContent MimeNoContent
- data CreateXmlItem
- fakeOuterBooleanSerialize :: Consumes FakeOuterBooleanSerialize contentType => ContentType contentType -> Accept accept -> OpenAPIPetstoreRequest FakeOuterBooleanSerialize contentType Bool accept
- data FakeOuterBooleanSerialize
- fakeOuterCompositeSerialize :: Consumes FakeOuterCompositeSerialize contentType => ContentType contentType -> Accept accept -> OpenAPIPetstoreRequest FakeOuterCompositeSerialize contentType OuterComposite accept
- data FakeOuterCompositeSerialize
- fakeOuterNumberSerialize :: Consumes FakeOuterNumberSerialize contentType => ContentType contentType -> Accept accept -> OpenAPIPetstoreRequest FakeOuterNumberSerialize contentType Double accept
- data FakeOuterNumberSerialize
- fakeOuterStringSerialize :: Consumes FakeOuterStringSerialize contentType => ContentType contentType -> Accept accept -> OpenAPIPetstoreRequest FakeOuterStringSerialize contentType Text accept
- data FakeOuterStringSerialize
- testBodyWithFileSchema :: (Consumes TestBodyWithFileSchema MimeJSON, MimeRender MimeJSON FileSchemaTestClass) => FileSchemaTestClass -> OpenAPIPetstoreRequest TestBodyWithFileSchema MimeJSON NoContent MimeNoContent
- data TestBodyWithFileSchema
- testBodyWithQueryParams :: (Consumes TestBodyWithQueryParams MimeJSON, MimeRender MimeJSON User) => User -> Query -> OpenAPIPetstoreRequest TestBodyWithQueryParams MimeJSON NoContent MimeNoContent
- data TestBodyWithQueryParams
- 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
- testGroupParameters :: RequiredStringGroup -> RequiredBooleanGroup -> RequiredInt64Group -> OpenAPIPetstoreRequest TestGroupParameters MimeNoContent NoContent MimeNoContent
- data TestGroupParameters
- testInlineAdditionalProperties :: (Consumes TestInlineAdditionalProperties MimeJSON, MimeRender MimeJSON ParamMapMapStringText) => ParamMapMapStringText -> OpenAPIPetstoreRequest TestInlineAdditionalProperties MimeJSON NoContent MimeNoContent
- data TestInlineAdditionalProperties
- testJsonFormData :: Consumes TestJsonFormData MimeFormUrlEncoded => Param -> Param2 -> OpenAPIPetstoreRequest TestJsonFormData MimeFormUrlEncoded NoContent MimeNoContent
- data TestJsonFormData
Operations
Fake
createXmlItem
:: (Consumes CreateXmlItem contentType, MimeRender contentType XmlItem) | |
=> ContentType contentType | request content-type ( |
-> XmlItem | "xmlItem" - XmlItem Body |
-> OpenAPIPetstoreRequest CreateXmlItem contentType NoContent MimeNoContent |
POST /fake/create_xml_item
creates an XmlItem
this route creates an XmlItem
data CreateXmlItem Source #
Instances
fakeOuterBooleanSerialize
fakeOuterBooleanSerialize Source #
:: Consumes FakeOuterBooleanSerialize contentType | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> OpenAPIPetstoreRequest FakeOuterBooleanSerialize contentType Bool accept |
POST /fake/outer/boolean
Test serialization of outer boolean types
data FakeOuterBooleanSerialize Source #
Instances
MimeType mtype => Produces FakeOuterBooleanSerialize mtype Source # | */* |
Defined in OpenAPIPetstore.API.Fake | |
MimeType mtype => Consumes FakeOuterBooleanSerialize mtype Source # | */* |
Defined in OpenAPIPetstore.API.Fake | |
HasBodyParam FakeOuterBooleanSerialize BodyBool Source # | Body Param "body" - Input boolean as post body |
Defined in OpenAPIPetstore.API.Fake setBodyParam :: (Consumes FakeOuterBooleanSerialize contentType, MimeRender contentType BodyBool) => OpenAPIPetstoreRequest FakeOuterBooleanSerialize contentType res accept -> BodyBool -> OpenAPIPetstoreRequest FakeOuterBooleanSerialize contentType res accept Source # |
fakeOuterCompositeSerialize
fakeOuterCompositeSerialize Source #
:: Consumes FakeOuterCompositeSerialize contentType | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> OpenAPIPetstoreRequest FakeOuterCompositeSerialize contentType OuterComposite accept |
POST /fake/outer/composite
Test serialization of object with outer number type
data FakeOuterCompositeSerialize Source #
Instances
MimeType mtype => Produces FakeOuterCompositeSerialize mtype Source # | */* |
Defined in OpenAPIPetstore.API.Fake | |
MimeType mtype => Consumes FakeOuterCompositeSerialize mtype Source # | */* |
Defined in OpenAPIPetstore.API.Fake | |
HasBodyParam FakeOuterCompositeSerialize OuterComposite Source # | Body Param "body" - Input composite as post body |
Defined in OpenAPIPetstore.API.Fake setBodyParam :: (Consumes FakeOuterCompositeSerialize contentType, MimeRender contentType OuterComposite) => OpenAPIPetstoreRequest FakeOuterCompositeSerialize contentType res accept -> OuterComposite -> OpenAPIPetstoreRequest FakeOuterCompositeSerialize contentType res accept Source # |
fakeOuterNumberSerialize
fakeOuterNumberSerialize Source #
:: Consumes FakeOuterNumberSerialize contentType | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> OpenAPIPetstoreRequest FakeOuterNumberSerialize contentType Double accept |
POST /fake/outer/number
Test serialization of outer number types
data FakeOuterNumberSerialize Source #
Instances
MimeType mtype => Produces FakeOuterNumberSerialize mtype Source # | */* |
Defined in OpenAPIPetstore.API.Fake | |
MimeType mtype => Consumes FakeOuterNumberSerialize mtype Source # | */* |
Defined in OpenAPIPetstore.API.Fake | |
HasBodyParam FakeOuterNumberSerialize BodyDouble Source # | Body Param "body" - Input number as post body |
Defined in OpenAPIPetstore.API.Fake setBodyParam :: (Consumes FakeOuterNumberSerialize contentType, MimeRender contentType BodyDouble) => OpenAPIPetstoreRequest FakeOuterNumberSerialize contentType res accept -> BodyDouble -> OpenAPIPetstoreRequest FakeOuterNumberSerialize contentType res accept Source # |
fakeOuterStringSerialize
fakeOuterStringSerialize Source #
:: Consumes FakeOuterStringSerialize contentType | |
=> ContentType contentType | request content-type ( |
-> Accept accept | request accept ( |
-> OpenAPIPetstoreRequest FakeOuterStringSerialize contentType Text accept |
POST /fake/outer/string
Test serialization of outer string types
data FakeOuterStringSerialize Source #
Instances
MimeType mtype => Produces FakeOuterStringSerialize mtype Source # | */* |
Defined in OpenAPIPetstore.API.Fake | |
MimeType mtype => Consumes FakeOuterStringSerialize mtype Source # | */* |
Defined in OpenAPIPetstore.API.Fake | |
HasBodyParam FakeOuterStringSerialize BodyText Source # | Body Param "body" - Input string as post body |
Defined in OpenAPIPetstore.API.Fake setBodyParam :: (Consumes FakeOuterStringSerialize contentType, MimeRender contentType BodyText) => OpenAPIPetstoreRequest FakeOuterStringSerialize contentType res accept -> BodyText -> OpenAPIPetstoreRequest FakeOuterStringSerialize contentType res accept Source # |
testBodyWithFileSchema
testBodyWithFileSchema Source #
:: (Consumes TestBodyWithFileSchema MimeJSON, MimeRender MimeJSON FileSchemaTestClass) | |
=> FileSchemaTestClass | "body" |
-> OpenAPIPetstoreRequest TestBodyWithFileSchema MimeJSON NoContent MimeNoContent |
PUT /fake/body-with-file-schema
For this test, the body for this request much reference a schema named File
.
data TestBodyWithFileSchema Source #
Instances
Produces TestBodyWithFileSchema MimeNoContent Source # | |
Defined in OpenAPIPetstore.API.Fake | |
Consumes TestBodyWithFileSchema MimeJSON Source # | application/json |
Defined in OpenAPIPetstore.API.Fake | |
HasBodyParam TestBodyWithFileSchema FileSchemaTestClass Source # | |
Defined in OpenAPIPetstore.API.Fake setBodyParam :: (Consumes TestBodyWithFileSchema contentType, MimeRender contentType FileSchemaTestClass) => OpenAPIPetstoreRequest TestBodyWithFileSchema contentType res accept -> FileSchemaTestClass -> OpenAPIPetstoreRequest TestBodyWithFileSchema contentType res accept Source # |
testBodyWithQueryParams
testBodyWithQueryParams Source #
:: (Consumes TestBodyWithQueryParams MimeJSON, MimeRender MimeJSON User) | |
=> User | "body" |
-> Query | "query" |
-> OpenAPIPetstoreRequest TestBodyWithQueryParams MimeJSON NoContent MimeNoContent |
PUT /fake/body-with-query-params
data TestBodyWithQueryParams Source #
Instances
Produces TestBodyWithQueryParams MimeNoContent Source # | |
Defined in OpenAPIPetstore.API.Fake | |
Consumes TestBodyWithQueryParams MimeJSON Source # | application/json |
Defined in OpenAPIPetstore.API.Fake | |
HasBodyParam TestBodyWithQueryParams User Source # | |
Defined in OpenAPIPetstore.API.Fake setBodyParam :: (Consumes TestBodyWithQueryParams contentType, MimeRender contentType User) => OpenAPIPetstoreRequest TestBodyWithQueryParams contentType res accept -> User -> OpenAPIPetstoreRequest TestBodyWithQueryParams contentType res accept Source # |
testClientModel
:: (Consumes TestClientModel MimeJSON, MimeRender MimeJSON Client) | |
=> Client | "body" - client model |
-> OpenAPIPetstoreRequest TestClientModel MimeJSON Client MimeJSON |
PATCH /fake
To test "client" model
To test "client" model
data TestClientModel Source #
Instances
Produces TestClientModel MimeJSON Source # | application/json |
Defined in OpenAPIPetstore.API.Fake | |
Consumes TestClientModel MimeJSON Source # | application/json |
Defined in OpenAPIPetstore.API.Fake | |
HasBodyParam TestClientModel Client Source # | Body Param "body" - client model |
Defined in OpenAPIPetstore.API.Fake setBodyParam :: (Consumes TestClientModel contentType, MimeRender contentType Client) => OpenAPIPetstoreRequest TestClientModel contentType res accept -> Client -> OpenAPIPetstoreRequest TestClientModel contentType res accept Source # |
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 #
Instances
testEnumParameters
testEnumParameters :: Consumes TestEnumParameters MimeFormUrlEncoded => OpenAPIPetstoreRequest TestEnumParameters MimeFormUrlEncoded NoContent MimeNoContent Source #
GET /fake
To test enum parameters
To test enum parameters
data TestEnumParameters Source #
Instances
testGroupParameters
:: RequiredStringGroup | "requiredStringGroup" - Required String in group parameters |
-> RequiredBooleanGroup | "requiredBooleanGroup" - Required Boolean in group parameters |
-> RequiredInt64Group | "requiredInt64Group" - Required Integer in group parameters |
-> OpenAPIPetstoreRequest TestGroupParameters MimeNoContent NoContent MimeNoContent |
DELETE /fake
Fake endpoint to test group parameters (optional)
Fake endpoint to test group parameters (optional)
data TestGroupParameters Source #
Instances
testInlineAdditionalProperties
testInlineAdditionalProperties Source #
POST /fake/inline-additionalProperties
test inline additionalProperties
data TestInlineAdditionalProperties Source #
Instances
Produces TestInlineAdditionalProperties MimeNoContent Source # | |
Defined in OpenAPIPetstore.API.Fake | |
Consumes TestInlineAdditionalProperties MimeJSON Source # | application/json |
Defined in OpenAPIPetstore.API.Fake | |
HasBodyParam TestInlineAdditionalProperties ParamMapMapStringText Source # | Body Param "param" - request body |
Defined in OpenAPIPetstore.API.Fake setBodyParam :: (Consumes TestInlineAdditionalProperties contentType, MimeRender contentType ParamMapMapStringText) => OpenAPIPetstoreRequest TestInlineAdditionalProperties contentType res accept -> ParamMapMapStringText -> OpenAPIPetstoreRequest TestInlineAdditionalProperties contentType res accept Source # |
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 #
Instances
Produces TestJsonFormData MimeNoContent Source # | |
Defined in OpenAPIPetstore.API.Fake | |
Consumes TestJsonFormData MimeFormUrlEncoded Source # | application/x-www-form-urlencoded |
Defined in OpenAPIPetstore.API.Fake |