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

@@ -30,18 +30,15 @@ const docTemplate = `{
"schema": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"key": {
"type": "string",
"example": "html.view"
}
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"key": {
"type": "string",
"example": "html.view"
}
}
}

View File

@@ -19,18 +19,15 @@
"schema": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"key": {
"type": "string",
"example": "html.view"
}
"type": "object",
"properties": {
"id": {
"type": "integer",
"example": 1
},
"key": {
"type": "string",
"example": "html.view"
}
}
}

View File

@@ -149,16 +149,14 @@ paths:
description: OK
schema:
items:
items:
properties:
id:
example: 1
type: integer
key:
example: html.view
type: string
type: object
type: array
properties:
id:
example: 1
type: integer
key:
example: html.view
type: string
type: object
type: array
"500":
description: Internal Server Error