summaryrefslogtreecommitdiff
path: root/internal/api/client/accounts/accountmove.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/accounts/accountmove.go')
-rw-r--r--internal/api/client/accounts/accountmove.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/api/client/accounts/accountmove.go b/internal/api/client/accounts/accountmove.go
index cdb2cdddb..d95462f07 100644
--- a/internal/api/client/accounts/accountmove.go
+++ b/internal/api/client/accounts/accountmove.go
@@ -61,16 +61,28 @@ import (
// '202':
// description: The account move has been accepted and the account will be moved.
// '400':
+// schema:
+// "$ref": "#/definitions/error"
// description: bad request
// '401':
+// schema:
+// "$ref": "#/definitions/error"
// description: unauthorized
// '404':
+// schema:
+// "$ref": "#/definitions/error"
// description: not found
// '406':
+// schema:
+// "$ref": "#/definitions/error"
// description: not acceptable
// '422':
+// schema:
+// "$ref": "#/definitions/error"
// description: Unprocessable. Check the response body for more details.
// '500':
+// schema:
+// "$ref": "#/definitions/error"
// description: internal server error
func (m *Module) AccountMovePOSTHandler(c *gin.Context) {
authed, errWithCode := apiutil.TokenAuth(c,