jmcarp / flask-apispec

MIT License
655 stars 156 forks source link

TypeError: schema2parameters() got an unexpected keyword argument 'default_in' #209

Closed ggarcia-civis closed 4 years ago

ggarcia-civis commented 4 years ago

Hello, When using the @use_kwargs decorator I get this error: TypeError: schema2parameters() got an unexpected keyword argument 'default_in'.

I noticed this was brought up recently and marked resolved by the recent release but I am continuing to get this error while using v0.11.0. The stack trace says it's coming from: ...flask_apispec/apidoc.py", line 99, in get_parameters.

Here are the current versions I have in my environment: flask-apispec: 0.11.0 apispec: 4.0.0 webargs: 6.1.1 flask: 1.1.1

Any help or recommendations are appreciated, thanks.

ggarcia-civis commented 4 years ago

It seems I was actually using an older version and didn't realize it. Sorry about the trouble, comparing the line numbers in my original comment made me realize there was probably some differences in my environments. I'll go ahead and close this.