From e82ab0c67baf5d758ff9b9c56a74c29d5e6897b2 Mon Sep 17 00:00:00 2001 From: Ambroise Maupate Date: Tue, 30 Jun 2026 14:18:09 +0200 Subject: [PATCH] chore: Update Swagger UI configuration in api_platform.yaml Add configuration to hide Schemas section in Swagger UI --- config/packages/api_platform.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/packages/api_platform.yaml b/config/packages/api_platform.yaml index 7503822..fd0438c 100644 --- a/config/packages/api_platform.yaml +++ b/config/packages/api_platform.yaml @@ -20,6 +20,9 @@ api_platform: show_webby: false swagger: versions: [3] + # hide Schemas section in Swagger UI + swagger_ui_extra_configuration: + defaultModelsExpandDepth: -1 title: "%env(string:APP_TITLE)%" description: "%env(string:APP_DESCRIPTION)%" version: '%env(string:APP_VERSION)%'