File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
templates/rspec_api_documentation Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ Feature: Generate Markdown documentation from test examples
164
164
* [Updating an order](orders/updating_an_order.markdown)
165
165
"""
166
166
167
- Scenario : Example 'Getting al ist of orders' file should look like we expect
167
+ Scenario : Example 'Getting a list of orders' file should look like we expect
168
168
Then the file "doc/api/orders/getting_a_list_of_orders.markdown" should contain exactly:
169
169
"""
170
170
# Orders API
@@ -175,8 +175,9 @@ Feature: Generate Markdown documentation from test examples
175
175
176
176
### Response Fields
177
177
178
- Name : page
179
- Description : Current page
178
+ | Name | Description | Scope |
179
+ |------|-------------|-------|
180
+ | page | Current page | |
180
181
181
182
### Request
182
183
@@ -276,5 +277,3 @@ Feature: Generate Markdown documentation from test examples
276
277
277
278
Scenario : Example 'Getting welcome message' file should be created
278
279
Then a file named "doc/api/help/getting_welcome_message.markdown" should exist
279
-
280
-
Original file line number Diff line number Diff line change 25
25
{ {# has_response_fields? } }
26
26
27
27
### Response Fields
28
- { {# response_fields } }
29
28
30
- Name : { { name } }
31
- Description : { { description } }
29
+ | Name | Description | Scope |
30
+ |------|-------------|-------|
31
+ { {# response_fields } }
32
+ | { { name } } | { { description } } | { { scope } } |
32
33
{ {/ response_fields } }
33
34
34
35
{ {/ has_response_fields? } }
You can’t perform that action at this time.
0 commit comments