Files
ironic/releasenotes/notes/api-validation-eface4a013c58a70.yaml
Stephen Finucane 5b0134ea95 conf: Add '[api] response_validation' option
It doesn't make sense to return a HTTP 500 in production and after
everything has actually been processed just because schema validation
failed. Instead, we should only do this in test environments. Make it
so via a new config option which is now set by default in unit and
integration tests.

Change-Id: I3cac41e024d569dfe05f21767d90d585f54e3eac
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-06-09 16:39:14 +01:00

7 lines
213 B
YAML

---
features:
- |
A new configuration option, ``[api] response_validation``, has been added.
This allows operators to configure the behavior of ``ironic-api`` when a
response fails schema validation