diff --git a/src/layouts/api-resource.hbs b/src/layouts/api-resource.hbs new file mode 100644 index 00000000..3c6d76b3 --- /dev/null +++ b/src/layouts/api-resource.hbs @@ -0,0 +1,46 @@ +{{#each resources}} +{{#if description}} +{{description}} +{{/if}} + +## `{{name}}` + +{{#each properties}} +### `{{name}}` +{{#if isDeprecated}} + +{% hint style="warning" %} +**Deprecated** use something else. +{% endhint %} +{{/if}} +{{#if description}} + +{{description}} +{{/if}} + +Type: `{{jsonType}}` +{{#if format}} +Format: `{{format}}` +{{/if}} +--- + +{{/each}} +{{/each}} +## Endpoints + +{{#each endpoints}} +### [`{{path}}`]() + +{{description}} +--- + +{{/each}} +## Events + +{{~#each events}} +### `{{name}}` + +{{description}} +--- + +{{~/each}} \ No newline at end of file