Skip to content

Commit c32ad25

Browse files
committed
update layouts/api-route.hbs
1 parent d8b593c commit c32ad25

1 file changed

Lines changed: 21 additions & 13 deletions

File tree

src/layouts/api-route.hbs

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
{{#each resources}}
44
{{> api-resource }}
55
{{#if errors.length}}
6+
67
## Errors
78

89
{{#each errors}}
9-
### `{{name}}`
10+
**`{{name}}`**
1011

1112
{{description}}
1213

@@ -15,10 +16,11 @@
1516
{{/each}}
1617
{{/if}}
1718
{{#if warnings.length}}
19+
1820
## Warnings
1921
2022
{{#each warnings}}
21-
### `{{name}}`
23+
**`{{name}}`**
2224
2325
{{description}}
2426
@@ -27,31 +29,37 @@
2729
{{/each}}
2830
{{/if}}
2931
{{/each}}
30-
## Endpoints
31-
32-
{{#each endpoints}}
33-
### [`{{path}}`](./{{name}}.md)
34-
35-
{{description}}
36-
{{/each}}
3732
{{#if events.length}}
3833

39-
---
40-
4134
## Events
4235

4336
{{#each events}}
44-
### `{{name}}`
37+
**`{{name}}`**
4538

4639
{{#if description}}
4740
{{description}}
4841

4942
{{/if}}
43+
<details>
44+
45+
<summary>Properties</summary>
5046
{{#each properties}}
51-
{{> property-collapsible this}}
5247

48+
- {{> property-nested this}}
5349
{{/each}}
50+
</details>
51+
5452
---
5553
5654
{{/each}}
5755
{{/if}}
56+
## Endpoints
57+
58+
{{#each endpoints}}
59+
60+
[**`{{path}}`**](./{{name}}.md)
61+
62+
{{description}}
63+
64+
{{/each}}
65+

0 commit comments

Comments
 (0)