Skip to content

Commit 1c1f8de

Browse files
authored
Merge pull request #346 from terry90/patch-1
Fix Slate template
2 parents 9b5fdcb + de16a14 commit 1c1f8de

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

features/slate_documentation.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ Feature: Generate Slate documentation from test examples
153153
154154
#### Endpoint
155155
156-
```
156+
```plaintext
157157
GET /orders
158158
Host: example.org
159159
```
@@ -168,7 +168,7 @@ Feature: Generate Slate documentation from test examples
168168
169169
### Response
170170
171-
```
171+
```plaintext
172172
Content-Type: application/json
173173
Content-Length: 137
174174
200 OK
@@ -220,7 +220,7 @@ Feature: Generate Slate documentation from test examples
220220
221221
#### Endpoint
222222
223-
```
223+
```plaintext
224224
POST /orders
225225
Host: example.org
226226
Content-Type: application/x-www-form-urlencoded
@@ -246,7 +246,7 @@ Feature: Generate Slate documentation from test examples
246246
247247
### Response
248248
249-
```
249+
```plaintext
250250
Content-Type: text/html;charset=utf-8
251251
Content-Length: 0
252252
201 Created

templates/rspec_api_documentation/slate_example.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#### Endpoint
1010

1111
{{# requests}}
12-
```
12+
```plaintext
1313
{{ request_method }} {{ request_path }}
1414
{{ request_headers_text }}
1515
```
@@ -50,7 +50,7 @@ None known.
5050

5151
### Response
5252

53-
```
53+
```plaintext
5454
{{ response_headers_text }}
5555
{{ response_status }} {{ response_status_text}}
5656
```

0 commit comments

Comments
 (0)