📝 Add `Settings.semantic_responses` flag (#589)
Users might not need our semantic responses at all. It needs a kill switch.
We need to add
Settings.semantic_responses flag, which should be True by default.If set to
False, we should not add any extra response specs to the final metadata.Probably, we should add
if check for this in EndpointMetadata.response_spec_providersThis would need several tests:
1. Snapshot test for the resulting OpenAPI spec
2. Test that response validation would still be required, missing responses must raise
419Also, this would require docs in
configuration.rst#enhancement #good_first_issue #help_wanted #django_modern_rest
sent via relator