From 198aa8dbebf4f91c4e5deffa24673e13f68d77c9 Mon Sep 17 00:00:00 2001 From: DSeeLP <46624152+DSeeLP@users.noreply.github.com> Date: Sun, 23 Mar 2025 22:52:16 +0100 Subject: [PATCH] document 422 response for register endpoint --- openapi-def.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openapi-def.yaml b/openapi-def.yaml index 98be9a5..59c5f21 100644 --- a/openapi-def.yaml +++ b/openapi-def.yaml @@ -78,6 +78,8 @@ paths: example: id: conflict message: string + 422: + $ref: '#/components/responses/InvalidBody' default: $ref: '#/components/responses/Default'