From 0acfbf56850e8da921cd35f78717107369de54a2 Mon Sep 17 00:00:00 2001 From: b1ek Date: Thu, 29 Aug 2024 19:23:29 +1000 Subject: [PATCH] fix: strip out some unnecessary functionality --- public/openapi.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/public/openapi.yml b/public/openapi.yml index 5be2706..be9201d 100644 --- a/public/openapi.yml +++ b/public/openapi.yml @@ -19,7 +19,18 @@ paths: type: object properties: user: - $ref: '#/components/schemas/User' + type: object + properties: + last_name: + type: string + name: + type: string + middle_name: + type: string + email: + type: string + phone: + type: string password: type: string example: 'strong_password123' @@ -37,8 +48,6 @@ paths: | key | val | | --- | --- | - | `bad_password` | the password is too weak. it must score at least 3 by zxcvbn | - | `bad_email` | email doesn't match the email regex | | `email_taken` | the email is already registered. user is expected to either log in or reset password | This error also might be sent by laravel if your body is corrupted