This commit is contained in:
2025-12-21 22:21:58 +02:00
parent e9d8877fbf
commit ac26a981b2
6 changed files with 189 additions and 197 deletions

View File

@@ -13,7 +13,7 @@ import (
// @Summary Get all resources
// @Tags acl/resources
// @Produce json
// @Success 200 {array} getResourcesResponse
// @Success 200 {object} getResourcesResponse
// @Failure 500 {object} ProblemDetails
// @Router /api/acl/resources [get]
func (h *aclAdminHandler) getResources(w http.ResponseWriter, r *http.Request) {

View File

@@ -28,8 +28,6 @@ const docTemplate = `{
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
@@ -45,7 +43,6 @@ const docTemplate = `{
}
}
}
}
},
"500": {
"description": "Internal Server Error",

View File

@@ -17,8 +17,6 @@
"200": {
"description": "OK",
"schema": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
@@ -34,7 +32,6 @@
}
}
}
}
},
"500": {
"description": "Internal Server Error",

View File

@@ -148,7 +148,6 @@ paths:
"200":
description: OK
schema:
items:
items:
properties:
id:
@@ -159,7 +158,6 @@ paths:
type: string
type: object
type: array
type: array
"500":
description: Internal Server Error
schema: