Skip to content
New issue

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

Latest version 0.9.7.1 break Marshmallow apispec dumping #590

Open
overbost opened this issue Aug 2, 2023 · 0 comments
Open

Latest version 0.9.7.1 break Marshmallow apispec dumping #590

overbost opened this issue Aug 2, 2023 · 0 comments

Comments

@overbost
Copy link

overbost commented Aug 2, 2023

Maybe it's just an incompatible versions, but i must use this set of packages

apispec==5.2.2
marshmallow==3.15
flasgger==0.9.5

i can't upgrade apispec or marshmallow because there are other dependency.

with flasgger 0.9.7.1

TypeError: Object of type SchemaMeta is not JSON serializable

I suggest to:

  • fix version requirements with apispec/marshmallow
  • write versions changelog
  • better error output when generating apispec. It's struggle to find which API cause the problem. I use swag_from decorator

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant