From 5e0d651c5ae230cd60746ab4a31ece734fa5cf1b Mon Sep 17 00:00:00 2001 From: Anna Shamray Date: Wed, 10 Jul 2024 16:36:40 +0200 Subject: [PATCH] :memo: [https://github.com/open-zaak/open-zaak/issues/1708] fix 'max_length' and 'min_lenth' OAS properties --- src/nrc/utils/oas_extensions/hyperlink_identity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nrc/utils/oas_extensions/hyperlink_identity.py b/src/nrc/utils/oas_extensions/hyperlink_identity.py index 2a19ea3f..d9855630 100644 --- a/src/nrc/utils/oas_extensions/hyperlink_identity.py +++ b/src/nrc/utils/oas_extensions/hyperlink_identity.py @@ -18,6 +18,6 @@ def map_serializer_field(self, auto_schema, direction): "URL-referentie naar dit object. Dit is de unieke " "identificatie en locatie van dit object." ), - "min_length": 1, - "max_length": 1000, + "minLength": 1, + "maxLength": 1000, }