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

Unable to generate swagger documentation for marshmallow-enum #216

Open
ujjwalmanna opened this issue Mar 15, 2021 · 2 comments
Open

Unable to generate swagger documentation for marshmallow-enum #216

ujjwalmanna opened this issue Mar 15, 2021 · 2 comments

Comments

@ujjwalmanna
Copy link

ujjwalmanna commented Mar 15, 2021

Can you please explain how can we generate swagger-documentation for marshmallow-enum field?

Checked marshmallow-code/apispec#506 this link but it seems its not working...can you please guide with some sample example

Any will help will be greatful.

@dgaedcke
Copy link

dgaedcke commented Feb 4, 2023

Yes please!! I'm using:
Python 3.9
@dataclasses
marshmallow_dataclass
flask_smorest

and I can't get my enum properties to show up in generated client code ... those properties always type as JSON objects ...
Can someone please show me how to make this work?

@adiberk
Copy link

adiberk commented Jul 13, 2023

Also not able to get this to work, even after following the above advice.
Both flasgger.Enum and marshmallow_enum EnumField don't work

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

3 participants