I'm using flask-swagger-0.2.14
but when i ran the first example like in your README.md
@app.route("/spec")
def spec():
base_path = os.path.join(app.root_path, 'docs')
return jsonify(swagger(app), from_file_keyword="swagger_from_file", base_path=base_path)
@app.route('/test', methods=['POST'])
def login():
"""
swagger_from_file: test.yml
"""
I got this error
swagger() got an unexpected keyword argument 'base_path'
Could you tell me how to resolve it!
Thank in advance!