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