We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError generated when a blueprint's endpoint method is defined with a camel case pattern.
E.g.
In views/pet.py
PetName = Blueprint('PetName', __name__, template_folder='templates') @PetName.route('/petname', methods=['POST']) @use_kwargs({'name': fields.Str()}) @marshal_with(PetNameSchema(many=False)) def petName(): ...
In app.py
... docs.register(petName, blueprint='PetName')
Registering the doc with blueprint results in KeyError: 'PetName.petname'
KeyError: 'PetName.petname'
Changing the endpoint to lower case e.g. def petname() solves this.
def petname()
The text was updated successfully, but these errors were encountered:
Unfortunately I'm encountering the same error but it seems that a PR is already available here #100
Sorry, something went wrong.
No branches or pull requests
KeyError generated when a blueprint's endpoint method is defined with a camel case pattern.
E.g.
In views/pet.py
In app.py
Registering the doc with blueprint results in
KeyError: 'PetName.petname'
Changing the endpoint to lower case e.g.
def petname()
solves this.The text was updated successfully, but these errors were encountered: