on master help sign in
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).

commit7221368cddc3e286528ef6bc107cc36f6b7d6e81 authorIvan Lazar Miljenovic <Ivan.Miljenovic@gmail.com> dateFri 28 Jul 2017, 15:32 (9 years ago) parent213620e
1 file changed+1−1
servant-docs/src/Servant/Docs/Internal.hs+1−1
servant-docs/src/Servant/Docs/Internal.hs+1−1
@@ -525,10 +525,10 @@ markdown api = unlines $
525525 printEndpoint endpoint action =
526526 str :
527527 "" :
528+ headersStr (action ^. headers) ++
528529 notesStr (action ^. notes) ++
529530 authStr (action ^. authInfo) ++
530531 capturesStr (action ^. captures) ++
531− headersStr (action ^. headers) ++
532532 paramsStr (action ^. params) ++
533533 rqbodyStr (action ^. rqtypes) (action ^. rqbody) ++
534534 responseStr (action ^. response) ++