summaryrefslogtreecommitdiff
path: root/internal/api/client/admin/domainallowcreate.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/admin/domainallowcreate.go')
-rw-r--r--internal/api/client/admin/domainallowcreate.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/api/client/admin/domainallowcreate.go b/internal/api/client/admin/domainallowcreate.go
index d7ccac620..756ded829 100644
--- a/internal/api/client/admin/domainallowcreate.go
+++ b/internal/api/client/admin/domainallowcreate.go
@@ -103,21 +103,35 @@ import (
// schema:
// "$ref": "#/definitions/domainPermission"
// '400':
+// schema:
+// "$ref": "#/definitions/error"
// description: bad request
// '401':
+// schema:
+// "$ref": "#/definitions/error"
// description: unauthorized
// '403':
+// schema:
+// "$ref": "#/definitions/error"
// description: forbidden
// '404':
+// schema:
+// "$ref": "#/definitions/error"
// description: not found
// '406':
+// schema:
+// "$ref": "#/definitions/error"
// description: not acceptable
// '409':
+// schema:
+// "$ref": "#/definitions/error"
// description: >-
// Conflict: There is already an admin action running that conflicts with this action.
// Check the error message in the response body for more information. This is a temporary
// error; it should be possible to process this action if you try again in a bit.
// '500':
+// schema:
+// "$ref": "#/definitions/error"
// description: internal server error
func (m *Module) DomainAllowsPOSTHandler(c *gin.Context) {
m.createDomainPermissions(c,