mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-25 21:09:05 +01:00
Rerun swagger and fix typo
This commit is contained in:
parent
fd16a1b637
commit
a39fc73345
@ -261,7 +261,7 @@
|
|||||||
"ApiKeyAuth": []
|
"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": [
|
"produces": [
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
@ -1062,7 +1062,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schema.Tag": {
|
"schema.Tag": {
|
||||||
"description": "Defines B tag using name and type.",
|
"description": "Defines a tag using name and type.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
|
@ -347,7 +347,7 @@ definitions:
|
|||||||
type: array
|
type: array
|
||||||
type: object
|
type: object
|
||||||
schema.Tag:
|
schema.Tag:
|
||||||
description: Defines B tag using name and type.
|
description: Defines a tag using name and type.
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
description: The unique DB identifier of a tag
|
description: The unique DB identifier of a tag
|
||||||
@ -536,8 +536,8 @@ paths:
|
|||||||
- remove
|
- remove
|
||||||
/jobs/delete_job_before/{ts}:
|
/jobs/delete_job_before/{ts}:
|
||||||
delete:
|
delete:
|
||||||
description: Job to stop is specified by database ID. This will not remove the
|
description: Remove all jobs with start time before timestamp. The jobs will
|
||||||
job from the job archive.
|
not be removed from the job archive.
|
||||||
parameters:
|
parameters:
|
||||||
- description: Unix epoch timestamp
|
- description: Unix epoch timestamp
|
||||||
in: path
|
in: path
|
||||||
|
@ -268,7 +268,7 @@ const docTemplate = `{
|
|||||||
"ApiKeyAuth": []
|
"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": [
|
"produces": [
|
||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
@ -1069,7 +1069,7 @@ const docTemplate = `{
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schema.Tag": {
|
"schema.Tag": {
|
||||||
"description": "Defines B tag using name and type.",
|
"description": "Defines a tag using name and type.",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
|
@ -100,7 +100,7 @@ type JobStatistics struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Tag model
|
// Tag model
|
||||||
// @Description Defines B tag using name and type.
|
// @Description Defines a tag using name and type.
|
||||||
type Tag struct {
|
type Tag struct {
|
||||||
// The unique DB identifier of a tag
|
// The unique DB identifier of a tag
|
||||||
ID int64 `json:"id" db:"id"`
|
ID int64 `json:"id" db:"id"`
|
||||||
|
Loading…
Reference in New Issue
Block a user