mirror of
https://github.com/penpot/penpot.git
synced 2025-06-12 21:11:40 +02:00
🎉 Add entrypoint for autogenerated api docs.
This commit is contained in:
parent
a7241d4128
commit
55784f64b8
11 changed files with 328 additions and 38 deletions
|
@ -204,6 +204,7 @@
|
|||
(s/keys :req-un [::profile-id ::id]))
|
||||
|
||||
(sv/defmethod ::file
|
||||
"Retrieve a file by its ID. Only authenticated users."
|
||||
[{:keys [pool] :as cfg} {:keys [profile-id id] :as params}]
|
||||
(db/with-atomic [conn pool]
|
||||
(let [cfg (assoc cfg :conn conn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue