From 4720f133a437f56ba81bec73b606263f0268edea Mon Sep 17 00:00:00 2001 From: ddangelorb Date: Mon, 16 Aug 2021 15:50:49 -0300 Subject: [PATCH] swagger doc pages --- swagger.yaml | 72 ++++++++++++++++++++++++++-------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/swagger.yaml b/swagger.yaml index fc4fae3..d8e4ecd 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -59,6 +59,42 @@ paths: - global - apiKey: [] deprecated: false + /users/login: + post: + tags: + - users + summary: ${UserController.signin} + operationId: loginUsingPOST + consumes: + - application/json + produces: + - '*/*' + parameters: + - name: password + in: query + description: Password + required: false + type: string + allowEmptyValue: false + - name: username + in: query + description: Username + required: false + type: string + allowEmptyValue: false + responses: + '200': + description: OK + schema: + type: string + '400': + description: Something went wrong + '422': + description: Invalid username/password supplied + security: + - Authorization: + - global + deprecated: false /users/me: get: tags: @@ -100,42 +136,6 @@ paths: - Authorization: - global deprecated: false - /users/signin: - post: - tags: - - users - summary: ${UserController.signin} - operationId: loginUsingPOST - consumes: - - application/json - produces: - - '*/*' - parameters: - - name: password - in: query - description: Password - required: false - type: string - allowEmptyValue: false - - name: username - in: query - description: Username - required: false - type: string - allowEmptyValue: false - responses: - '200': - description: OK - schema: - type: string - '400': - description: Something went wrong - '422': - description: Invalid username/password supplied - security: - - Authorization: - - global - deprecated: false /users/signup: post: tags: