docs(swagger): New swaggerdoc
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Nicolai Ort 2024-12-12 18:50:21 +01:00
parent ef25adf5ed
commit 1d068b2655
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
3 changed files with 0 additions and 19 deletions

View File

@ -312,18 +312,11 @@ const docTemplate = `{
"models.Group": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"parent_group": {
"$ref": "#/definitions/models.Group"
}
}
},

View File

@ -303,18 +303,11 @@
"models.Group": {
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
},
"parent_group": {
"$ref": "#/definitions/models.Group"
}
}
},

View File

@ -94,14 +94,9 @@ definitions:
type: object
models.Group:
properties:
id:
type: integer
name:
type: string
parent_group:
$ref: '#/definitions/models.Group'
required:
- id
- name
type: object
models.Runner: