You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't take much time to look into it any deeper.
Marking as 1.0 as I would like to at least take needed utils out of yaml_utils.py (trim_docstring, maybe dedent) back into utils (those have no yaml dependency).
Marking as backward incompatible in case the feature is activated by default.
The text was updated successfully, but these errors were encountered:
On second thought, apispec does not need this as summary and description are passed in the YAML section. My bad.
Yet, I'd still like to do this before 1.0:
Marking as 1.0 as I would like to at least take needed utils out of yaml_utils.py (trim_docstring, maybe dedent) back into utils (those have no yaml dependency).
Following up on a discussion in flask-rest-api: marshmallow-code/flask-smorest#3.
A contributor suggested to parse the docstrings for
summary
. I think we can go further and also getdescription
:This could be done in apispec and it is compatible with the YAML docstring parsing:
I didn't take much time to look into it any deeper.
Marking as 1.0 as I would like to at least take needed utils out of yaml_utils.py (
trim_docstring
, maybededent
) back into utils (those have no yaml dependency).Marking as backward incompatible in case the feature is activated by default.
The text was updated successfully, but these errors were encountered: