From 02f29ed4d0a2a7d1c94430de6c29c21c2c3521ad Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 15 Dec 2022 08:18:29 +0100 Subject: [PATCH] :tada: Add webhooks to the API doc --- .../app/templates/api-doc-entry.tmpl | 19 +++++++++++++------ backend/src/app/rpc/doc.clj | 3 +++ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/backend/resources/app/templates/api-doc-entry.tmpl b/backend/resources/app/templates/api-doc-entry.tmpl index 97ce8a507..43af67c24 100644 --- a/backend/resources/app/templates/api-doc-entry.tmpl +++ b/backend/resources/app/templates/api-doc-entry.tmpl @@ -6,14 +6,21 @@
{% if item.deprecated %} - Deprecated: - since v{{item.deprecated}}, + DEPRECATED + + {% endif %} + + {% if item.auth %} + + AUTH + + {% endif %} + + {% if item.webhook %} + + WEBHOOK {% endif %} - - Auth: - {% if item.auth %}YES{% else %}NO{% endif %} -