Skip to content

Commit

Permalink
Removing OpenAPI blank enums
Browse files Browse the repository at this point in the history
backports #9056

fixes #9265

(cherry picked from commit eab862a)
  • Loading branch information
dralley committed Aug 24, 2021
1 parent 091de32 commit 1205007
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES/9265.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Removing OpenAPI blank enums
(backported from #9056)
1 change: 1 addition & 0 deletions pulpcore/app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1205007

Please sign in to comment.