Description from docstring in the Swagger UI #397
-
Hello Everyone, As the FastAPI we have a feature to add the description from doc-string in the Swagger UI? |
Beta Was this translation helpful? Give feedback.
Answered by
harshalizode
Sep 16, 2024
Replies: 2 comments 15 replies
-
You also have in Esmerald, when you do add the handler like a get or a post or whatever, you can pass a description there. Example: @post("/create", description=".....") This is also in the docs |
Beta Was this translation helpful? Give feedback.
0 replies
-
FastAPI? |
Beta Was this translation helpful? Give feedback.
15 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
yes, is it working as expected.
Thanks for the release.