From a8d7e7d93cb05492b459c27d97970c4ca8e94a86 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Fri, 7 Jun 2024 18:55:48 +0200 Subject: [PATCH] Test api.doc. --- thermostat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thermostat.py b/thermostat.py index e2abc2d..350237c 100755 --- a/thermostat.py +++ b/thermostat.py @@ -211,7 +211,7 @@ Set_mode_model = api.model('Set_mode_Model', Set_mode_resource_fields) class Set_mode_thermostat(Resource): @auth_required @api.expect(Set_mode_model, validate=True) - @api.doc(params={"id": "An ID", description:"My resource"}) + @api.doc(description="My resource") def post(self): global new_forced_mode try: