File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
templates/rspec_api_documentation Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ Feature: Generate Slate documentation from test examples
153
153
154
154
#### Endpoint
155
155
156
- ```
156
+ ```plaintext
157
157
GET /orders
158
158
Host: example.org
159
159
```
@@ -168,7 +168,7 @@ Feature: Generate Slate documentation from test examples
168
168
169
169
### Response
170
170
171
- ```
171
+ ```plaintext
172
172
Content-Type: application/json
173
173
Content-Length: 137
174
174
200 OK
@@ -220,7 +220,7 @@ Feature: Generate Slate documentation from test examples
220
220
221
221
#### Endpoint
222
222
223
- ```
223
+ ```plaintext
224
224
POST /orders
225
225
Host: example.org
226
226
Content-Type: application/x-www-form-urlencoded
@@ -246,7 +246,7 @@ Feature: Generate Slate documentation from test examples
246
246
247
247
### Response
248
248
249
- ```
249
+ ```plaintext
250
250
Content-Type: text/html;charset=utf-8
251
251
Content-Length: 0
252
252
201 Created
Original file line number Diff line number Diff line change 9
9
#### Endpoint
10
10
11
11
{ {# requests} }
12
- ```
12
+ ```plaintext
13
13
{ { request_method } } { { request_path } }
14
14
{ { request_headers_text } }
15
15
```
@@ -50,7 +50,7 @@ None known.
50
50
51
51
### Response
52
52
53
- ```
53
+ ```plaintext
54
54
{ { response_headers_text } }
55
55
{ { response_status } } { { response_status_text} }
56
56
```
You can’t perform that action at this time.
0 commit comments