Repository navigation
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? |
Answered by
guillaume-alvarez
Aug 13, 2024
Replies: 1 comment
|
I found the solution: pydantic/pydantic#10106
|
0 replies
Answer selected by
guillaume-alvarez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the solution: pydantic/pydantic#10106