Document `spring.main.web-application-type`

Closes gh-9159
pull/4041/merge
Stephane Nicoll 8 years ago
parent 3319be1c5a
commit bb2a81cb6e

@ -106,7 +106,7 @@ content into your application; rather pick only the properties that you need.
# APPLICATION SETTINGS ({sc-spring-boot}/SpringApplication.{sc-ext}[SpringApplication])
spring.main.banner-mode=console # Mode used to display the banner when the application runs.
spring.main.sources= # Sources (class name, package name or XML resource location) to include in the ApplicationContext.
spring.main.web-environment= # Run the application in a web environment (auto-detected by default).
spring.main.web-application-type= # Flag to explicitly request a specific type of web application. Auto-detected based on the classpath if not set.
# FILE ENCODING ({sc-spring-boot}/context/FileEncodingApplicationListener.{sc-ext}[FileEncodingApplicationListener])
spring.mandatory-file-encoding= # Expected character encoding the application must use.

@ -170,11 +170,19 @@
"sourceType": "org.springframework.boot.SpringApplication",
"description": "Sources (class name, package name or XML resource location) to include in the ApplicationContext."
},
{
"name": "spring.main.web-application-type",
"type": "org.springframework.boot.WebApplicationType",
"sourceType": "org.springframework.boot.SpringApplication",
"description": "Flag to explicitly request a specific type of web application. Auto-detected based on the classpath if not set."
},
{
"name": "spring.main.web-environment",
"type": "java.lang.Boolean",
"sourceType": "org.springframework.boot.SpringApplication",
"description": "Run the application in a web environment (auto-detected by default)."
"description": "Run the application in a web environment (auto-detected by default).",
"deprecated": true,
"deprecation": {"replacement": "spring.main.web-application-type"}
},
{
"name": "spring.output.ansi.enabled",

Loading…
Cancel
Save