Skip to content

Commit

Permalink
Fixes APIB requests without explicit content-type
Browse files Browse the repository at this point in the history
Connects to #313
  • Loading branch information
kurko committed Dec 9, 2016
1 parent 33a6dcb commit 2f5cceb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions features/api_blueprint_documentation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ Feature: Generate API Blueprint documentation from test examples
### Returns all instructions [GET]
+ Request List all instructions ()
+ Request List all instructions
+ Headers
Expand Down Expand Up @@ -315,7 +315,7 @@ Feature: Generate API Blueprint documentation from test examples
### Return all orders [GET]
+ Request Getting a list of orders ()
+ Request Getting a list of orders
+ Headers
Expand Down Expand Up @@ -382,7 +382,7 @@ Feature: Generate API Blueprint documentation from test examples
### Returns a single order [GET]
+ Request Getting a specific order ()
+ Request Getting a specific order
+ Headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ explanation: {{ explanation }}
{{# requests }}
{{# has_request? }}

+ Request {{ description }} ({{ request_content_type }})
+ Request {{ description }}{{# request_content_type }} ({{ request_content_type }}){{/ request_content_type }}
{{/ has_request? }}
{{# request_headers_text }}

Expand Down

0 comments on commit 2f5cceb

Please sign in to comment.