Skip to content

Commit

Permalink
Merge pull request #4903 from open-formulieren/fix/4899-validationerr…
Browse files Browse the repository at this point in the history
…or-in-zgw-registration

[#4899] Fix optional serializer fields in ZaakOptionsSerializer
  • Loading branch information
vaszig authored Dec 11, 2024
2 parents 1ecc79f + ec54837 commit e03dbbd
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 e03dbbd

Please sign in to comment.