Move location of header information

Currently, it appears after the notes, authentication and capture
information... such that if any of those exist, then the list of
header sensitivity will appear to be an item of one of the previous
ones (as they provide Markdown headers).
This commit is contained in:
Ivan Lazar Miljenovic 2017-07-28 15:32:19 +10:00
parent 213620e56a
commit 7221368cdd

View file

@ -525,10 +525,10 @@ markdown api = unlines $
printEndpoint endpoint action = printEndpoint endpoint action =
str : str :
"" : "" :
headersStr (action ^. headers) ++
notesStr (action ^. notes) ++ notesStr (action ^. notes) ++
authStr (action ^. authInfo) ++ authStr (action ^. authInfo) ++
capturesStr (action ^. captures) ++ capturesStr (action ^. captures) ++
headersStr (action ^. headers) ++
paramsStr (action ^. params) ++ paramsStr (action ^. params) ++
rqbodyStr (action ^. rqtypes) (action ^. rqbody) ++ rqbodyStr (action ^. rqtypes) (action ^. rqbody) ++
responseStr (action ^. response) ++ responseStr (action ^. response) ++