From d5c6863e0a7ebc246a76ae56e23bb005c6aa41cb Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Tue, 28 Oct 2025 16:12:26 +0100 Subject: [PATCH] Improved the "head" and "tail" properties for the Amiibo type of the Open API specification document in the library target. --- Sources/AmiiboService/openapi.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/AmiiboService/openapi.yaml b/Sources/AmiiboService/openapi.yaml index 45986d3..8cf7d16 100644 --- a/Sources/AmiiboService/openapi.yaml +++ b/Sources/AmiiboService/openapi.yaml @@ -357,6 +357,8 @@ components: The positions 0 to 7 of the hexadecimal string. type: string + pattern: "^[0-9a-fA-F]+$" + minLength: 8 maxLength: 8 image: description: An image URL related to an amiibo. @@ -374,6 +376,8 @@ components: The positions 8 to 15 of the hexadecimal string. type: string + pattern: "^[0-9a-fA-F]+$" + minLength: 8 maxLength: 8 type: description: A name for the type an amiibo belongs to.