The documentation's right but the real runtime behavior is wrong. This mismatch has occurred because the tests that produce the documentation aren't using the EndpointObjectMapper.