
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>
7 lines
213 B
YAML
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
|