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
You take the object description from Meta.description in
apispec/src/apispec/ext/marshmallow/openapi.py
Line 260 in 8cbbbeb
Do you have interest in a pull request to also get it from the Schema docstring? Something like:
if hasattr(Meta, "description"): jsonschema["description"] = Meta.description elif schema.__doc__: jsonschema["description"] = schema.__doc__
You can do the same formating as in https://flask-smorest.readthedocs.io/en/latest/openapi.html#add-summary-and-description.
Makes sense?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
You take the object description from Meta.description in
apispec/src/apispec/ext/marshmallow/openapi.py
Line 260 in 8cbbbeb
Do you have interest in a pull request to also get it from the Schema docstring? Something like:
You can do the same formating as in https://flask-smorest.readthedocs.io/en/latest/openapi.html#add-summary-and-description.
Makes sense?
The text was updated successfully, but these errors were encountered: