diff --git a/src/backend/InvenTree/InvenTree/setting/spectacular.py b/src/backend/InvenTree/InvenTree/setting/spectacular.py index a88dc33e8d..94ee560765 100644 --- a/src/backend/InvenTree/InvenTree/setting/spectacular.py +++ b/src/backend/InvenTree/InvenTree/setting/spectacular.py @@ -30,8 +30,8 @@ def get_spectacular_settings(): 'AttachmentModelTypeEnum': 'common.models.Attachment.ModelChoices', 'DataImportSessionModelTypeEnum': 'importer.models.DataImportSession.ModelChoices', # Deconflict fields which use model_type ContentType fields - 'common.models.Parameter.model_type': 'ParameterModelTypeEnum', - 'common.models.ParameterTemplate.model_type': 'ParameterTemplateModelTypeEnum', + 'ParameterModelTypeEnum': 'common.models.Parameter.model_type', + 'ParameterTemplateModelTypeEnum': 'common.models.ParameterTemplate.model_type', # Allauth 'UnauthorizedStatus': [[401, 401]], 'IsTrueEnum': [[True, True]],