Is it possible to use fields docstrings as descriptions? #169
-
Hi! I'm trying to use flask-openapi3 to generate the OpenAPI description for my API and its objects. It looks like the fields docstring isn't used to generate the field description in OpenAPI, is that right? For instance with
I get the AlertSearchRequest description from its docstring (as expected) but the fields descriptions are empty, their docstrings are ignored. Is it intended? a known issue or limitation? Am I missing some setting to correct this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I found the solution: pydantic/pydantic#10106
|
Beta Was this translation helpful? Give feedback.
I found the solution: pydantic/pydantic#10106