From ec2d1e7626af6c3e89442a0f1559fba90c1c1b32 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Fri, 7 Jun 2024 18:28:24 +0200 Subject: [PATCH] Test api.doc. --- thermostat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thermostat.py b/thermostat.py index d627bfd..6bcfe24 100755 --- a/thermostat.py +++ b/thermostat.py @@ -211,6 +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"}) def post(self): global new_forced_mode try: