Add support for documenting HTTP headers
This commit adds support for documenting HTTP headers in both requests and responses. Closes gh-140
This commit is contained in:
committed by
Andy Wilkinson
parent
5a010160a1
commit
48f4d1343a
@@ -0,0 +1,10 @@
|
||||
|===
|
||||
|Name|Description|Foo
|
||||
|
||||
{{#headers}}
|
||||
|{{name}}
|
||||
|{{description}}
|
||||
|{{foo}}
|
||||
|
||||
{{/headers}}
|
||||
|===
|
||||
@@ -0,0 +1,10 @@
|
||||
.{{title}}
|
||||
|===
|
||||
|Name|Description
|
||||
|
||||
{{#headers}}
|
||||
|{{name}}
|
||||
|{{description}}
|
||||
|
||||
{{/headers}}
|
||||
|===
|
||||
@@ -0,0 +1,10 @@
|
||||
|===
|
||||
|Name|Description|Foo
|
||||
|
||||
{{#headers}}
|
||||
|{{name}}
|
||||
|{{description}}
|
||||
|{{foo}}
|
||||
|
||||
{{/headers}}
|
||||
|===
|
||||
@@ -0,0 +1,10 @@
|
||||
.{{title}}
|
||||
|===
|
||||
|Name|Description
|
||||
|
||||
{{#headers}}
|
||||
|{{name}}
|
||||
|{{description}}
|
||||
|
||||
{{/headers}}
|
||||
|===
|
||||
Reference in New Issue
Block a user