0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 01:01:30 -05:00

🐛 Fix backend api doc generation for auth required endpoints

This commit is contained in:
Alejandro Alonso 2023-08-08 10:37:17 +02:00 committed by Andrey Antukh
parent 19d88cc1a6
commit fcdf33b134

View file

@ -54,7 +54,7 @@
{:name (::sv/name mdata) {:name (::sv/name mdata)
:module (or (some-> (::module mdata) d/name) :module (or (some-> (::module mdata) d/name)
(-> (:ns mdata) (str/split ".") last)) (-> (:ns mdata) (str/split ".") last))
:auth (:auth mdata true) :auth (::rpc/auth mdata true)
:webhook (::webhooks/event? mdata false) :webhook (::webhooks/event? mdata false)
:docs (::sv/docstring mdata) :docs (::sv/docstring mdata)
:deprecated (::deprecated mdata) :deprecated (::deprecated mdata)