fix api.template.py to work with swagger
1 file changed