Browse Source

swagger doc pages

main
ddangelorb 4 years ago
parent
commit
4720f133a4
  1. 72
      swagger.yaml

72
swagger.yaml

@ -59,6 +59,42 @@ paths:
- global - global
- apiKey: [] - apiKey: []
deprecated: false 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: /users/me:
get: get:
tags: tags:
@ -100,42 +136,6 @@ paths:
- Authorization: - Authorization:
- global - global
deprecated: false 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: /users/signup:
post: post:
tags: tags:

Loading…
Cancel
Save