Skip to content

Commit b9d7801

Browse files
committed
Fix attributes
1 parent 56873e7 commit b9d7801

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

templates/rspec_api_documentation/api_blueprint_index.mustache

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,24 @@ description: {{ description }}
2828
{{# has_parameters? }}
2929

3030
+ Parameters
31+
3132
{{# parameters }}
32-
+ {{ name }}{{# example }}: {{ example }}{{/ example }}{{# properties_description }} ({{ properties_description }}){{/ properties_description }}{{# description }} - {{ description }}{{/ description }}
33+
+ {{ name }}{{# example }}: {{ example }}{{/ example }}{{# properties_description }} ({{ properties_description }}){{/ properties_description }}{{# description }} - {{ description }}{{/ description }}
3334
{{/ parameters }}
3435
{{/ has_parameters? }}
36+
{{# http_methods }}
37+
38+
### {{ description }} [{{ http_method }}]
3539
{{# has_attributes? }}
3640

37-
+ Attributes (object)
41+
+ Parameters
42+
3843
{{# attributes }}
39-
+ {{ name }}{{# example }}: {{ example }}{{/ example }}{{# properties_description }} ({{ properties_description }}){{/ properties_description }}{{# description }} - {{ description }}{{/ description }}
44+
+ {{ name }}{{# example }}: {{ example }}{{/ example }}{{# properties_description }} ({{ properties_description }}){{/ properties_description }}{{# description }} - {{ description }}{{/ description }}
4045
{{/ attributes }}
4146
{{/ has_attributes? }}
42-
{{# http_methods }}
43-
44-
### {{ description }} [{{ http_method }}]
45-
4647
{{# explanation }}
48+
4749
{{{ explanation }}}
4850
{{/ explanation }}
4951

0 commit comments

Comments
 (0)