Merge pull request #788 from ivan-m/header-location
Move location of header information
This commit is contained in:
commit
a9bc22d5c9
1 changed files with 6 additions and 1 deletions
|
@ -588,7 +588,12 @@ markdown api = unlines $
|
|||
|
||||
headersStr :: [Text] -> [String]
|
||||
headersStr [] = []
|
||||
headersStr l = [""] ++ map headerStr l ++ [""]
|
||||
headersStr l =
|
||||
"#### Headers:" :
|
||||
"" :
|
||||
map headerStr l ++
|
||||
"" :
|
||||
[]
|
||||
|
||||
where headerStr hname = "- This endpoint is sensitive to the value of the **"
|
||||
++ unpack hname ++ "** HTTP header."
|
||||
|
|
Loading…
Reference in a new issue