From 7b40e3bd3ce3e699b99bd4f9a94e5abe3d9bb054 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Fri, 7 Jun 2024 18:31:11 +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 6bcfe24..e2abc2d 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(params={"id": "An ID", description:"My resource"}) def post(self): global new_forced_mode try: