Test api.doc.
This commit is contained in:
parent
be8588d039
commit
6fdf7f3c05
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user