Skip to content

Commit

Permalink
[#4899] Fixed optional serializer fields in ZaakOptionsSerializer
Browse files Browse the repository at this point in the history
  • Loading branch information
vaszig committed Dec 11, 2024
1 parent 27a9852 commit ec54837
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/openforms/registrations/contrib/zgw_apis/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,24 +86,27 @@ class ZaakOptionsSerializer(JsonSchemaSerializerMixin, serializers.Serializer):
default="",
)
product_url = serializers.URLField(
required=False,
label=_("Product url"),
help_text=_(
"The product url will be retrieved from the specified case type "
"and the version that is active at that moment. "
),
required=False,
allow_blank=True,
default="",
)

# DeprecationWarning - deprecated, will be removed in OF 3.0 or 4.0
zaaktype = serializers.URLField(
required=False,
help_text=_("URL of the ZAAKTYPE in the Catalogi API"),
required=False,
allow_blank=True,
default="",
)
informatieobjecttype = serializers.URLField(
required=False,
help_text=_("URL of the INFORMATIEOBJECTTYPE in the Catalogi API"),
required=False,
allow_blank=True,
default="",
)
organisatie_rsin = serializers.CharField(
Expand Down

0 comments on commit ec54837

Please sign in to comment.