Thanks for quart-openapi! I noticed that the documentation at https://factset.github.io/quart-openapi/ was missing for nearly all of the methods in pint.py. This PR addresses that in three ways:
Using the correct class name for OpenApiView instead of the outdated SwaggerView.
Explicitly specifying and rendering the 'hidden' methods in Pint and PintBlueprint due their importing BaseRest even though BaseRest is not imported in __init__.py (meaning it can't be directly autodoc'd by Sphinx).
Un-recursiving one of the types in typing.py. Without this, Sphinx dies with a recursion error when trying to render response().
Let me know if you need anything done to make this PR fit your standards (or feel free to push up commits yourself if GitHub lets you). In particular, we may want to move from specifying members directly and using :inherited-members:, showing all the members of Quart in the process.
Thanks for
quart-openapi
! I noticed that the documentation at https://factset.github.io/quart-openapi/ was missing for nearly all of the methods inpint.py
. This PR addresses that in three ways:OpenApiView
instead of the outdatedSwaggerView
.Pint
andPintBlueprint
due their importingBaseRest
even thoughBaseRest
is not imported in__init__.py
(meaning it can't be directlyautodoc
'd by Sphinx).typing.py
. Without this, Sphinx dies with a recursion error when trying to renderresponse()
.Let me know if you need anything done to make this PR fit your standards (or feel free to push up commits yourself if GitHub lets you). In particular, we may want to move from specifying members directly and using
:inherited-members:
, showing all the members ofQuart
in the process.Thanks!