diff --git a/.doom.d/config.org b/.doom.d/config.org index 93fe4ed..645f6b8 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -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 diff --git a/.doom.d/packages.el b/.doom.d/packages.el index 73ee9fd..0287622 100644 --- a/.doom.d/packages.el +++ b/.doom.d/packages.el @@ -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)