add partial header to haskell http client (#6606)

This commit is contained in:
wing328
2017-10-02 23:52:01 +08:00
committed by GitHub
parent 900aad6da4
commit 28a5b74dbf
17 changed files with 114 additions and 21 deletions

View File

@@ -1,3 +1,4 @@
{{>partial_header}}
{-|
Module : {{title}}.API
-}

View File

@@ -1,3 +1,4 @@
{{>partial_header}}
{-|
Module : {{title}}.Client
-}

View File

@@ -1,3 +1,4 @@
{{>partial_header}}
{-|
Module : {{title}}.Lens
-}

View File

@@ -1,3 +1,4 @@
{{>partial_header}}
{-|
Module : {{title}}.Logging
Katip Logging functions

View File

@@ -1,3 +1,4 @@
{{>partial_header}}
{-|
Module : {{title}}.Logging
monad-logger Logging functions

View File

@@ -1,4 +1,4 @@
{{>partial_header}}
{-|
Module : {{title}}.MimeTypes
-}

View File

@@ -1,3 +1,4 @@
{{>partial_header}}
{-|
Module : {{title}}.Model
-}

View File

@@ -1,3 +1,4 @@
{{>partial_header}}
{-|
Module : {{title}}
-}

View File

@@ -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)
-}

View File

@@ -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
-}

View File

@@ -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
-}

View File

@@ -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
-}

View File

@@ -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
-}

View File

@@ -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

View File

@@ -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

View File

@@ -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
-}

View File

@@ -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" : {