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

How to add description about marshmallow schema fields #117

Closed
liyichao opened this issue Mar 10, 2017 · 1 comment
Closed

How to add description about marshmallow schema fields #117

liyichao opened this issue Mar 10, 2017 · 1 comment

Comments

@liyichao
Copy link

apispec can add definitions according to marshmallow schema like this:

spec.definition("test", schema=TestSchema)

Howevery, we can not add description about field except the type information.

@liyichao
Copy link
Author

Sorry, it is supported by:

email  = fields.Email(description='email address of the user')

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