mirror of
https://github.com/pds-nest/nest.git
synced 2024-11-25 06:24:19 +00:00
Improved "window_size" description in swagger schema
This commit is contained in:
parent
36971f9cb5
commit
4f274fa9af
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ class Alert(Schema):
|
||||||
id = fields.Integer(description="The alert id.")
|
id = fields.Integer(description="The alert id.")
|
||||||
name = fields.String(description="The name of the alert.")
|
name = fields.String(description="The name of the alert.")
|
||||||
limit = fields.Integer(description="The number of tweets in a time window.")
|
limit = fields.Integer(description="The number of tweets in a time window.")
|
||||||
window_size = fields.Integer(description="The size of the time window.")
|
window_size = fields.Integer(description="The size of the time window (in hours).")
|
||||||
repository_id = fields.Integer(description="The id of the related repository.")
|
repository_id = fields.Integer(description="The id of the related repository.")
|
||||||
evaluation_mode = fields.Integer(description="How the conditions have to be evaluated.")
|
evaluation_mode = fields.Integer(description="How the conditions have to be evaluated.")
|
||||||
conditions = fields.Nested(ConditionSchema, many=True)
|
conditions = fields.Nested(ConditionSchema, many=True)
|
||||||
|
|
Loading…
Reference in a new issue