From 91e331425e93dfbb1eb759c7af9035ed350719c9 Mon Sep 17 00:00:00 2001
From: Nicholas Jaunsen <3789764+skykanin@users.noreply.github.com>
Date: Mon, 11 Mar 2024 10:10:38 +0100
Subject: [PATCH] fix openapi docs

---
 openapi.properties | 18 +++++++-----------
 1 file changed, 7 insertions(+), 11 deletions(-)

diff --git a/openapi.properties b/openapi.properties
index 3281455..c56b90c 100644
--- a/openapi.properties
+++ b/openapi.properties
@@ -1,11 +1,7 @@
-mapping.path=api-docs
-
-swagger-ui.enabled=true
-
-redoc.enabled=true
-rapidoc.enabled=true
-#rapidoc.bg-color=#14191f
-#rapidoc.text-color=#aec2e0
-#rapidoc.sort-endpoints-by=method
-
-redoc.description=blah
+micronaut.openapi.views.spec = mapping.path=/,\
+  swagger-ui.enabled=true,\
+  redoc.enabled=true,\
+  redoc.description=blah,\
+  openapi-explorer.enabled=true,\
+  rapidoc.enabled=true
+micronaut.openapi.server.context.path=/api-docs
\ No newline at end of file