swagger-core icon indicating copy to clipboard operation
swagger-core copied to clipboard

Include source info in Jackson exceptions

Open Philzen opened this issue 1 year ago • 0 comments

The default behavior for JsonParser.Feature.INCLUDE_SOURCE_IN_LOCATION was changed from true to false in Jackson 2.16:

https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.16#streaming-jackson-core

As swagger / OAI specs pretty much by definition are open and thus should never include sensitive data, it's much more helpful to the DX having such details in the exception messages.

Philzen avatar Jun 04 '24 01:06 Philzen