forked from loafle/openapi-generator-original
add partial header to haskell http client (#6606)
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
{-
|
||||
Swagger Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
|
||||
OpenAPI spec version: 1.0.0
|
||||
Contact: apiteam@swagger.io
|
||||
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
-}
|
||||
|
||||
{-|
|
||||
Module : SwaggerPetstore
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
{-
|
||||
Swagger Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
|
||||
OpenAPI spec version: 1.0.0
|
||||
Contact: apiteam@swagger.io
|
||||
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
-}
|
||||
|
||||
{-|
|
||||
Module : SwaggerPetstore.API
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
{-
|
||||
Swagger Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
|
||||
OpenAPI spec version: 1.0.0
|
||||
Contact: apiteam@swagger.io
|
||||
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
-}
|
||||
|
||||
{-|
|
||||
Module : SwaggerPetstore.Client
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
{-
|
||||
Swagger Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
|
||||
OpenAPI spec version: 1.0.0
|
||||
Contact: apiteam@swagger.io
|
||||
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
-}
|
||||
|
||||
{-|
|
||||
Module : SwaggerPetstore.Lens
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
{-
|
||||
Swagger Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
|
||||
OpenAPI spec version: 1.0.0
|
||||
Contact: apiteam@swagger.io
|
||||
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
-}
|
||||
|
||||
{-|
|
||||
Module : SwaggerPetstore.Logging
|
||||
Katip Logging functions
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
{-
|
||||
Swagger Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
|
||||
OpenAPI spec version: 1.0.0
|
||||
Contact: apiteam@swagger.io
|
||||
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
-}
|
||||
|
||||
{-|
|
||||
Module : SwaggerPetstore.MimeTypes
|
||||
|
||||
@@ -1,3 +1,13 @@
|
||||
{-
|
||||
Swagger Petstore
|
||||
|
||||
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
||||
|
||||
OpenAPI spec version: 1.0.0
|
||||
Contact: apiteam@swagger.io
|
||||
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
-}
|
||||
|
||||
{-|
|
||||
Module : SwaggerPetstore.Model
|
||||
-}
|
||||
@@ -1413,4 +1423,4 @@ _readBinaryBase64 = P.either P.fail (pure . Binary) . BL64.decode . BL.fromStric
|
||||
|
||||
_showBinaryBase64 :: Binary -> Text
|
||||
_showBinaryBase64 = T.decodeUtf8 . BL.toStrict . BL64.encode . unBinary
|
||||
{-# INLINE _showBinaryBase64 #-}
|
||||
{-# INLINE _showBinaryBase64 #-}
|
||||
|
||||
@@ -108,8 +108,8 @@
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"enum" : [ "available", "pending", "sold" ],
|
||||
"default" : "available"
|
||||
"default" : "available",
|
||||
"enum" : [ "available", "pending", "sold" ]
|
||||
},
|
||||
"collectionFormat" : "csv"
|
||||
} ],
|
||||
@@ -680,8 +680,8 @@
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"enum" : [ ">", "$" ],
|
||||
"default" : "$"
|
||||
"default" : "$",
|
||||
"enum" : [ ">", "$" ]
|
||||
}
|
||||
}, {
|
||||
"name" : "enum_form_string",
|
||||
@@ -699,8 +699,8 @@
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"enum" : [ ">", "$" ],
|
||||
"default" : "$"
|
||||
"default" : "$",
|
||||
"enum" : [ ">", "$" ]
|
||||
}
|
||||
}, {
|
||||
"name" : "enum_header_string",
|
||||
@@ -718,8 +718,8 @@
|
||||
"type" : "array",
|
||||
"items" : {
|
||||
"type" : "string",
|
||||
"enum" : [ ">", "$" ],
|
||||
"default" : "$"
|
||||
"default" : "$",
|
||||
"enum" : [ ">", "$" ]
|
||||
}
|
||||
}, {
|
||||
"name" : "enum_query_string",
|
||||
@@ -1662,15 +1662,6 @@
|
||||
"type" : "string",
|
||||
"enum" : [ "placed", "approved", "delivered" ]
|
||||
},
|
||||
"OuterNumber" : {
|
||||
"type" : "number"
|
||||
},
|
||||
"OuterString" : {
|
||||
"type" : "string"
|
||||
},
|
||||
"OuterBoolean" : {
|
||||
"type" : "boolean"
|
||||
},
|
||||
"OuterComposite" : {
|
||||
"type" : "object",
|
||||
"properties" : {
|
||||
@@ -1684,6 +1675,15 @@
|
||||
"$ref" : "#/definitions/OuterBoolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"OuterNumber" : {
|
||||
"type" : "number"
|
||||
},
|
||||
"OuterString" : {
|
||||
"type" : "string"
|
||||
},
|
||||
"OuterBoolean" : {
|
||||
"type" : "boolean"
|
||||
}
|
||||
},
|
||||
"externalDocs" : {
|
||||
|
||||
Reference in New Issue
Block a user