From dde9136668eb66a3a92470f326103bbadeb02538 Mon Sep 17 00:00:00 2001 From: ISHIMWE Ami Paradis <141851169+amiparadis250@users.noreply.github.com> Date: Thu, 29 Feb 2024 19:00:57 +0200 Subject: [PATCH] Swagger documenation --- src/swagger.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/swagger.json b/src/swagger.json index 246bbb7..c3caf48 100644 --- a/src/swagger.json +++ b/src/swagger.json @@ -91,7 +91,7 @@ "properties": { "email": { "type": "string", "example": "ishimweamiparadis265@gmail.com" }, "password": { "type": "string", "example": "12345790003Us*@" }, - "FullName": { "type": "string", "example": "ISHIMWEAIME7@gmail7.com" } + "fullName": { "type": "string", "example": "ISHIMWEAIME7@gmail7.com" } }, "required": ["email", "password", "FullName"] } @@ -106,7 +106,7 @@ "schema": { "type": "object", "properties": { - "FullName": { "type": "string" }, + "fullName": { "type": "string" }, "email": { "type": "string" }, "password": { "type": "string" } }, @@ -236,7 +236,7 @@ "title": { "type": "string" }, "desc": { "type": "string" }, "content": { "type": "string" }, - "image": { "type": "string", "format": "binary" } + "file": { "type": "string", "format": "binary" } } } } @@ -418,7 +418,7 @@ "title": { "type": "string" }, "desc": { "type": "string" }, "content": { "type": "string" }, - "image": { "type": "string", "format": "binary" } + "file": { "type": "string", "format": "binary" } } } }