swagger docs update
This commit is contained in:
parent
77c678dd7a
commit
e3f893ac2d
3 changed files with 135 additions and 6 deletions
|
|
@ -231,7 +231,7 @@
|
|||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "merch_uuid",
|
||||
"description": "period in days",
|
||||
"name": "days",
|
||||
"in": "query"
|
||||
}
|
||||
|
|
@ -261,6 +261,55 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/prices/{uuid}": {
|
||||
"get": {
|
||||
"security": [
|
||||
{
|
||||
"BearerAuth": []
|
||||
}
|
||||
],
|
||||
"description": "Получить перепады цен мерча за период по его merch_uuid",
|
||||
"tags": [
|
||||
"Merch"
|
||||
],
|
||||
"summary": "Получить перепады цен мерча за период по его merch_uuid",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "merch_uuid",
|
||||
"name": "uuid",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"description": "period in days",
|
||||
"name": "days",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/merch.PricesResponse"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/responses.ErrorResponse400"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/responses.ErrorResponse500"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/user": {
|
||||
"get": {
|
||||
"security": [
|
||||
|
|
@ -617,7 +666,7 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"created_at": {
|
||||
"type": "string"
|
||||
"type": "integer"
|
||||
},
|
||||
"value": {
|
||||
"type": "integer"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue