This commit is contained in:
parent
e39d286742
commit
0b470ec9ad
4 changed files with 82 additions and 12 deletions
|
|
@ -175,12 +175,23 @@ definitions:
|
|||
example: error
|
||||
type: string
|
||||
type: object
|
||||
responses.NotFound:
|
||||
properties:
|
||||
error:
|
||||
example: error
|
||||
type: string
|
||||
type: object
|
||||
responses.Unauthorized:
|
||||
properties:
|
||||
error:
|
||||
example: error
|
||||
type: string
|
||||
type: object
|
||||
user.MeDTO:
|
||||
properties:
|
||||
user_uuid:
|
||||
type: string
|
||||
type: object
|
||||
info:
|
||||
contact: {}
|
||||
description: Stores data about merch and prices
|
||||
|
|
@ -851,10 +862,12 @@ paths:
|
|||
delete:
|
||||
consumes:
|
||||
- application/json
|
||||
description: Marks user as deleted by user uuid
|
||||
description: Returns user data
|
||||
responses:
|
||||
"204":
|
||||
description: No Content
|
||||
"200":
|
||||
description: OK
|
||||
schema:
|
||||
$ref: '#/definitions/user.MeDTO'
|
||||
"400":
|
||||
description: Bad Request
|
||||
schema:
|
||||
|
|
@ -863,11 +876,15 @@ paths:
|
|||
description: Unauthorized
|
||||
schema:
|
||||
$ref: '#/definitions/responses.Unauthorized'
|
||||
"404":
|
||||
description: Not Found
|
||||
schema:
|
||||
$ref: '#/definitions/responses.NotFound'
|
||||
"500":
|
||||
description: Internal Server Error
|
||||
schema:
|
||||
$ref: '#/definitions/responses.InternalServerError'
|
||||
summary: Delete user
|
||||
summary: Returns user data
|
||||
tags:
|
||||
- User
|
||||
post:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue