Rerun swagger and fix typo

This commit is contained in:
Christoph Kluge 2022-11-30 12:40:07 +01:00
parent fd16a1b637
commit a39fc73345
4 changed files with 8 additions and 8 deletions

View File

@ -261,7 +261,7 @@
"ApiKeyAuth": []
}
],
"description": "Job to stop is specified by database ID. This will not remove the job from the job archive.",
"description": "Remove all jobs with start time before timestamp. The jobs will not be removed from the job archive.",
"produces": [
"application/json"
],
@ -1062,7 +1062,7 @@
}
},
"schema.Tag": {
"description": "Defines B tag using name and type.",
"description": "Defines a tag using name and type.",
"type": "object",
"properties": {
"id": {

View File

@ -347,7 +347,7 @@ definitions:
type: array
type: object
schema.Tag:
description: Defines B tag using name and type.
description: Defines a tag using name and type.
properties:
id:
description: The unique DB identifier of a tag
@ -536,8 +536,8 @@ paths:
- remove
/jobs/delete_job_before/{ts}:
delete:
description: Job to stop is specified by database ID. This will not remove the
job from the job archive.
description: Remove all jobs with start time before timestamp. The jobs will
not be removed from the job archive.
parameters:
- description: Unix epoch timestamp
in: path

View File

@ -268,7 +268,7 @@ const docTemplate = `{
"ApiKeyAuth": []
}
],
"description": "Job to stop is specified by database ID. This will not remove the job from the job archive.",
"description": "Remove all jobs with start time before timestamp. The jobs will not be removed from the job archive.",
"produces": [
"application/json"
],
@ -1069,7 +1069,7 @@ const docTemplate = `{
}
},
"schema.Tag": {
"description": "Defines B tag using name and type.",
"description": "Defines a tag using name and type.",
"type": "object",
"properties": {
"id": {

View File

@ -100,7 +100,7 @@ type JobStatistics struct {
}
// Tag model
// @Description Defines B tag using name and type.
// @Description Defines a tag using name and type.
type Tag struct {
// The unique DB identifier of a tag
ID int64 `json:"id" db:"id"`