mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 04:49:05 +01:00
Rerun swagger and fix typo
This commit is contained in:
parent
fd16a1b637
commit
a39fc73345
@ -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": {
|
||||
|
@ -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
|
||||
|
@ -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": {
|
||||
|
@ -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"`
|
||||
|
Loading…
Reference in New Issue
Block a user