Fix exclude filter to not exclude MediaType
This commit removes MediaType from the list of exclude types as it looks like an error: MediaType has a constructor taking a `String` and binding works fine with it. This has the effect of properly generating the metadata for the only key that Spring Boot exposes with a MediaType type: spring.data.rest.default-media-type. Closes gh-11568
This commit is contained in:
@@ -608,6 +608,7 @@ content into your application; rather pick only the properties that you need.
|
||||
|
||||
# DATA REST ({sc-spring-boot-autoconfigure}/data/rest/RepositoryRestProperties.{sc-ext}[RepositoryRestProperties])
|
||||
spring.data.rest.base-path= # Base path to be used by Spring Data REST to expose repository resources.
|
||||
spring.data.rest.default-media-type= # Content type to use as a default when none is specified.
|
||||
spring.data.rest.default-page-size= # Default size of pages.
|
||||
spring.data.rest.detection-strategy=default # Strategy to use to determine which repositories get exposed.
|
||||
spring.data.rest.enable-enum-translation= # Enable enum value translation via the Spring Data REST default resource bundle.
|
||||
|
||||
Reference in New Issue
Block a user