• 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
..
main/java/sample Loading commit data...
test/java/sample Loading commit data...