Skip to content

JSON requests with strict=true

Compare
Choose a tag to compare
@marioizquierdo marioizquierdo released this 16 Nov 20:29
c5d5b19
  • #61 Requests with Content-Type: application/json; strict=true will complain if the request has unknown or invalid properties, and the response will include all the values including default zero-values. Strict mode is not used by default so changes in the schema can stay backwards compatible, but the examples in the docs have been updated to use strict mode by default to improve the debugging experience with curl and similar tools.