From 8a12a6ce36135d08ab75ddd4fb54b2dd9e16aadb Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 25 Aug 2017 16:28:18 +0200 Subject: [PATCH] Add deprecated metadata for Thymeleaf See gh-10076 --- .../additional-spring-configuration-metadata.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 7658d09d7c..0bcfed3c8c 100644 --- a/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -942,6 +942,16 @@ "replacement": "spring.session.jdbc.initialize-schema", "level": "error" } + }, + { + "name": "spring.thymeleaf.content-type", + "type": "org.springframework.util.MimeType", + "description": "Content-Type value.", + "defaultValue": "text/html", + "deprecation": { + "replacement": "spring.thymeleaf.servlet.content-type", + "level": "error" + } } ],"hints": [ {