forked from loafle/openapi-generator-original
add partial header to haskell http client (#6606)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
{{>partial_header}}
|
||||
{-|
|
||||
Module : {{title}}.API
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{>partial_header}}
|
||||
{-|
|
||||
Module : {{title}}.Client
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{>partial_header}}
|
||||
{-|
|
||||
Module : {{title}}.Lens
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{>partial_header}}
|
||||
{-|
|
||||
Module : {{title}}.Logging
|
||||
Katip Logging functions
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{>partial_header}}
|
||||
{-|
|
||||
Module : {{title}}.Logging
|
||||
monad-logger Logging functions
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
{{>partial_header}}
|
||||
{-|
|
||||
Module : {{title}}.MimeTypes
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{>partial_header}}
|
||||
{-|
|
||||
Module : {{title}}.Model
|
||||
-}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
{{>partial_header}}
|
||||
{-|
|
||||
Module : {{title}}
|
||||
-}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
{-
|
||||
{{#appName}}
|
||||
{{{appName}}}
|
||||
|
||||
{{/appName}}
|
||||
{{#appDescription}}
|
||||
{{{appDescription}}}
|
||||
|
||||
{{/appDescription}}
|
||||
{{#version}}
|
||||
OpenAPI spec version: {{{version}}}
|
||||
{{/version}}
|
||||
{{#infoEmail}}
|
||||
Contact: {{{infoEmail}}}
|
||||
{{/infoEmail}}
|
||||
Generated by Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
||||
-}
|
||||
@@ -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
|
||||
-}
|
||||
|
||||
@@ -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