From ea480ab9c9295fe7ba551e32bcb63c2fe87c6f10 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 18 Nov 2021 12:38:40 +0100
Subject: [PATCH] Move comments into the yaml config

We can only add comments in the yaml config via flex and in the .env file, keep it consistent.
---
 .env                                | 2 --
 config/packages/dbp_relay_auth.yaml | 3 ++-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/.env b/.env
index aac9733..2380502 100644
--- a/.env
+++ b/.env
@@ -18,8 +18,6 @@ APP_SECRET=
 
 # Auth related
 AUTH_SERVER_URL=https://auth.your-server/auth/realms/your-realm
-# (optional) This allows you to log into the auto generated OpenAPI documentation page
-# which you can see when visiting the server with a browser. Leave empty to disable.
 AUTH_APIDOCS_KEYCLOAK_SERVER=https://auth.your-server/auth
 AUTH_APIDOCS_KEYCLOAK_REALM=your-realm
 AUTH_APIDOCS_KEYCLOAK_CLIENT_ID=api-docs-client-id
diff --git a/config/packages/dbp_relay_auth.yaml b/config/packages/dbp_relay_auth.yaml
index 786d7ba..2d171d7 100644
--- a/config/packages/dbp_relay_auth.yaml
+++ b/config/packages/dbp_relay_auth.yaml
@@ -1,6 +1,7 @@
 dbp_relay_auth:
   server_url: '%env(AUTH_SERVER_URL)%'
-  # OpenAPI Docs Keycloak Settings
+  # (optional) This allows you to log into the auto generated OpenAPI documentation page
+  # which you can see when visiting the server with a browser. Remove to disable.
   frontend_keycloak_server: '%env(AUTH_APIDOCS_KEYCLOAK_SERVER)%'
   frontend_keycloak_realm: '%env(AUTH_APIDOCS_KEYCLOAK_REALM)%'
   frontend_keycloak_client_id: '%env(AUTH_APIDOCS_KEYCLOAK_CLIENT_ID)%'
\ No newline at end of file
-- 
GitLab