diff --git a/src/layouts/api-route.hbs b/src/layouts/api-route.hbs index 43342f3a..5307e393 100644 --- a/src/layouts/api-route.hbs +++ b/src/layouts/api-route.hbs @@ -56,14 +56,42 @@ Possible enum values: {{description}} {{/each}} {{#if events.length}} + ## Events -{{~#each events}} +{{#each events}} ### `{{name}}` +{{#if description}} +{{description}} + +{{/if}} +{{#each properties}} +
+ +{{name}} {{format}} +{{#if isDeprecated}} + +{% hint style="warning" %} +**Deprecated**. {{deprecationMessage}} +{% endhint %} +{{/if}} + +{{#if description}} {{description}} +{{/if}} +{{#if enumValues}} +Possible enum values: +{{#each enumValues}} +- `{{this}}` +{{/each}} + +{{/if}} +
+ +{{/each}} --- -{{~/each}} +{{/each}} {{/if}}