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'