From 6fdf7f3c05a3c1273b67a9f3ee0f71176dc928ab Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Thu, 6 Jun 2024 22:35:22 +0200 Subject: [PATCH] Test api.doc. --- thermostat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thermostat.py b/thermostat.py index d0f244d..0a4c5af 100644 --- a/thermostat.py +++ b/thermostat.py @@ -181,6 +181,7 @@ Set_mode_parser.add_argument( @ns_thermostat.route('/set_mode') class Set_mode_thermostat(Resource): @auth_required + @api.doc(parser=Set_mode_parser) @api.expect(Set_mode_parser, validate=True) def post(self): global new_forced_mode