Add API documentation using OpenAPI and SwaggerUI

This commit is contained in:
2026-02-01 01:45:18 +01:00
parent 3ca0514b7a
commit 1f62fe6f66
3 changed files with 83 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
(defproject yohoho "0.1.0-SNAPSHOT"
:description "Yo-Ho-Ho, a take home assignment for the brave"
(defproject yohoho "0.42.0"
:description "Yo-ho-ho, a take home assignment for the brave"
:url "https://git.dromaludaire.info/yohoho"
:license {:name "WTFPL Do What the Fuck You Want to Public License"
:url "https://www.wtfpl.net/about/"}
@@ -8,6 +8,8 @@
[ring/ring-jetty-adapter "1.15.3"]
[metosin/reitit "0.10.0"]
[metosin/reitit-malli "0.10.0"]
[fi.metosin/reitit-openapi "0.10.0"]
[metosin/reitit-swagger-ui "0.10.0"]
[metosin/muuntaja "0.6.11"]
[com.github.seancorfield/next.jdbc "1.3.1086"]
[org.xerial/sqlite-jdbc "3.51.1.0"]]