From c2d6efc01ea51c1bf4f610c5cc94a535875e9cca Mon Sep 17 00:00:00 2001 From: Ling-I Huang Date: Thu, 20 May 2021 17:27:45 -0400 Subject: [PATCH] fixbug: in users/login - replace 'email' with 'password' --- app/public/openapi.yaml | 2 +- docs/openapi/paths/users/_users_login.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/public/openapi.yaml b/app/public/openapi.yaml index 172281b..4adb0e6 100644 --- a/app/public/openapi.yaml +++ b/app/public/openapi.yaml @@ -218,7 +218,7 @@ paths: type: string example: username: bob - email: bob@company.com + password: mypassword responses: "200": description: OK diff --git a/docs/openapi/paths/users/_users_login.yaml b/docs/openapi/paths/users/_users_login.yaml index 64e6486..1ed63af 100644 --- a/docs/openapi/paths/users/_users_login.yaml +++ b/docs/openapi/paths/users/_users_login.yaml @@ -15,7 +15,7 @@ post: type: string password: type: string - example: { username: bob, email: bob@company.com } + example: { username: bob, password: mypassword } responses: 200: description: OK