Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

'base_path' argument error #63

Description

@lamhai1401

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions