diff --git a/CHANGES/9265.misc b/CHANGES/9265.misc new file mode 100644 index 0000000000..9aecf40585 --- /dev/null +++ b/CHANGES/9265.misc @@ -0,0 +1,2 @@ +Removing OpenAPI blank enums +(backported from #9056) diff --git a/pulpcore/app/settings.py b/pulpcore/app/settings.py index 8a544803a8..89a15e0b95 100644 --- a/pulpcore/app/settings.py +++ b/pulpcore/app/settings.py @@ -250,6 +250,7 @@ "SERVE_URLCONF": ROOT_URLCONF, "DEFAULT_GENERATOR_CLASS": "pulpcore.openapi.PulpSchemaGenerator", "DEFAULT_SCHEMA_CLASS": "pulpcore.openapi.PulpAutoSchema", + "ENUM_ADD_EXPLICIT_BLANK_NULL_CHOICE": False, "COMPONENT_SPLIT_REQUEST": True, "COMPONENT_NO_READ_ONLY_REQUIRED": True, "GENERIC_ADDITIONAL_PROPERTIES": None,