Skip to content

Commit

Permalink
Merge pull request #346 from terry90/patch-1
Browse files Browse the repository at this point in the history
Fix Slate template
  • Loading branch information
oestrich authored Jun 6, 2017
2 parents 9b5fdcb + de16a14 commit 1c1f8de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions features/slate_documentation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Feature: Generate Slate documentation from test examples
#### Endpoint
```
```plaintext
GET /orders
Host: example.org
```
Expand All @@ -168,7 +168,7 @@ Feature: Generate Slate documentation from test examples
### Response
```
```plaintext
Content-Type: application/json
Content-Length: 137
200 OK
Expand Down Expand Up @@ -220,7 +220,7 @@ Feature: Generate Slate documentation from test examples
#### Endpoint
```
```plaintext
POST /orders
Host: example.org
Content-Type: application/x-www-form-urlencoded
Expand All @@ -246,7 +246,7 @@ Feature: Generate Slate documentation from test examples
### Response
```
```plaintext
Content-Type: text/html;charset=utf-8
Content-Length: 0
201 Created
Expand Down
4 changes: 2 additions & 2 deletions templates/rspec_api_documentation/slate_example.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#### Endpoint

{{# requests}}
```
```plaintext
{{ request_method }} {{ request_path }}
{{ request_headers_text }}
```
Expand Down Expand Up @@ -50,7 +50,7 @@ None known.

### Response

```
```plaintext
{{ response_headers_text }}
{{ response_status }} {{ response_status_text}}
```
Expand Down

0 comments on commit 1c1f8de

Please sign in to comment.