• Andy Wilkinson's avatar
    Ensure that HATEOAS sample does not try to produce XML · 1f923605
    Andy Wilkinson authored
    The HATEOAS sample does not support XML responses. Previously, the
    controller doesn't constrain the media types that it could produce.
    This would result in a failure when handling a request that prefers
    XML responses.
    
    This commit updates the produces clauses in the controller so that
    the sample will only attempt to produce JSON.
    
    Closes gh-4343
    1f923605
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...