From a5c7ee336d4b2c5ebc596b0053a580b6e467f756 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Fri, 28 Nov 2025 09:03:52 +0000 Subject: [PATCH] Revert "Invert key:value" This reverts commit d555658db21a9e464125aae4f3d956e514358f24. --- src/backend/InvenTree/InvenTree/setting/spectacular.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/InvenTree/InvenTree/setting/spectacular.py b/src/backend/InvenTree/InvenTree/setting/spectacular.py index 94ee560765..a88dc33e8d 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 - 'ParameterModelTypeEnum': 'common.models.Parameter.model_type', - 'ParameterTemplateModelTypeEnum': 'common.models.ParameterTemplate.model_type', + 'common.models.Parameter.model_type': 'ParameterModelTypeEnum', + 'common.models.ParameterTemplate.model_type': 'ParameterTemplateModelTypeEnum', # Allauth 'UnauthorizedStatus': [[401, 401]], 'IsTrueEnum': [[True, True]],