From 4f274fa9af00da1ebdb7e914515d0e0092ae2a94 Mon Sep 17 00:00:00 2001 From: Lorenzo Balugani Date: Tue, 25 May 2021 15:44:48 +0200 Subject: [PATCH] Improved "window_size" description in swagger schema --- nest_backend/api_schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nest_backend/api_schemas.py b/nest_backend/api_schemas.py index 029e255..0a7becc 100644 --- a/nest_backend/api_schemas.py +++ b/nest_backend/api_schemas.py @@ -136,7 +136,7 @@ class Alert(Schema): id = fields.Integer(description="The alert id.") name = fields.String(description="The name of the alert.") 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.") evaluation_mode = fields.Integer(description="How the conditions have to be evaluated.") conditions = fields.Nested(ConditionSchema, many=True)