Confirming api declaration from flask with latest api declaration

Latest swagger api declaration expects a nickname parameter inside each item in operations list. I have added an extra parameter nickname in Api class to fix that. https://github.com/wordnik/swagger-core/wiki/API-Declaration

Path of the apis were missing leading slash (/) which in fact broke the swagger-ui. I explicitly added a forward slash before the path. 

In example.py, there was no access control settings added. Which resulted in the following error;
    Can't read from server. It may not have the appropriate access-control-origin settings.

I added @app.after_request and added a response header with 
    response.headers['Access-Control-Allow-Origin'] = '*'

Good day.