From 73ce8c6636a456e6851fccd0c7911c82d0246e12 Mon Sep 17 00:00:00 2001 From: mrothauer Date: Fri, 2 Feb 2024 22:26:23 +0100 Subject: [PATCH] Add format validation for logoUrl and iconUrl in swagger.yaml --- swagger.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/swagger.yaml b/swagger.yaml index 0c87a76..abb40b9 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -63,6 +63,7 @@ components: type: "string" logoUrl: type: "string" + format: "uri" category: $ref: "#/components/schemas/Category" Category: @@ -74,4 +75,5 @@ components: label: type: "string" iconUrl: - type: "string" \ No newline at end of file + type: "string" + format: "uri"