python-restx / flask-restx

Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
https://flask-restx.readthedocs.io/en/latest/
Other
2.16k stars 335 forks source link

Strip only the first occurence of summary from details #536

Open FrostyX opened 1 year ago

FrostyX commented 1 year ago

If we have the following method docstring

"""
Create a package
Create a package inside your project. And now diving deep into the details...
"""

Then IMHO the expected behavior is "Create a package" displayed as a summary and the rest displayed as details. That's not what happens using raw.replace, the result is now only "inside your project. And now diving deep into the details..."

FrostyX commented 1 year ago

bump

FrostyX commented 1 year ago

bump