From b5ebf836e38dc2e16afeb4c7c635943776e5a8d5 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 25 May 2021 10:32:59 +0200 Subject: [PATCH] Document spring.profiles.default Closes gh-26592 --- .../META-INF/additional-spring-configuration-metadata.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 6da7fc0f3f61..47ec5f7627be 100644 --- a/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -760,6 +760,12 @@ "sourceType": "org.springframework.boot.context.config.ConfigFileApplicationListener", "description": "Comma-separated list of active profiles. Can be overridden by a command line switch." }, + { + "name": "spring.profiles.default", + "type": "java.lang.String", + "description": "Name of the profile to enable if no profile is active.", + "defaultValue": "default" + }, { "name": "spring.profiles.include", "type": "java.util.List",