[emacs] Add Swagg for documented APIs

This commit is contained in:
Correl Roush 2023-09-05 13:45:01 -04:00
parent 75b73549a1
commit 16d79e64ad
2 changed files with 12 additions and 0 deletions

View file

@ -1565,6 +1565,16 @@ Manage background services
keypression-y-offset 100
keypression-font-face-attribute '(:height 400 :weight bold)))
#+end_src
** Swagger API documentation
Make calls to swagger-documented APIs with completion support.
#+begin_src emacs-lisp
(use-package! swagg
:commands (swagg-request swagg-request-with-rest-block)
:config (setq swagg-rest-block-prelude "#+BEGIN_SRC http
"
swagg-rest-block-postlude "#+END_SRC"))
#+end_src
** UUID Generation
#+begin_src emacs-lisp
(use-package! uuidgen

View file

@ -17,6 +17,7 @@
(package! exwm)
(package! gnuplot)
(package! jira-api :recipe (:host github :repo "correl/jira-api"))
(package! json-mode)
(package! kanji-glasses-mode :recipe (:host github :repo "correl/kanji-glasses-mode"))
(package! kanji-mode)
(package! kerl :recipe (:host github :repo "correl/kerl.el"))
@ -44,6 +45,7 @@
(package! paredit)
(package! poetry)
(package! python-black)
(package! swagg :recipe (:host github :repo "isamert/swagg.el"))
(package! unfill)
(package! uuidgen)
(package! websocket)