This commit is contained in:
@@ -391,6 +391,7 @@
|
||||
},
|
||||
"/login": {
|
||||
"post": {
|
||||
"summary": "login",
|
||||
"operationId": "SmmCore_Login",
|
||||
"responses": {
|
||||
"200": {
|
||||
@@ -480,39 +481,6 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/users": {
|
||||
"post": {
|
||||
"summary": "users",
|
||||
"operationId": "SmmCore_AddUser",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/smm_coreUser"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/rpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/smm_coreAddUserReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"SmmCore"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/wastes": {
|
||||
"post": {
|
||||
"summary": "wastes",
|
||||
@@ -546,6 +514,38 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/wastes/text": {
|
||||
"post": {
|
||||
"operationId": "SmmCore_AddWasteByText",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A successful response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/smm_coreWaste"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "An unexpected error response.",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/rpcStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "body",
|
||||
"in": "body",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"$ref": "#/definitions/smm_coreAddWasteTextReq"
|
||||
}
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"SmmCore"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/wastes/{id}": {
|
||||
"delete": {
|
||||
"operationId": "SmmCore_DeleteWaste",
|
||||
@@ -667,17 +667,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"smm_coreAddUserReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"username": {
|
||||
"type": "string"
|
||||
},
|
||||
"password": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"smm_coreAddWasteReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -695,6 +684,26 @@
|
||||
"categoryId": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"budgetId": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
"smm_coreAddWasteTextReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"categoryId": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"budgetId": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user