mansenfranzen / autodoc_pydantic

Seamlessly integrate pydantic models in your Sphinx documentation.
MIT License
159 stars 27 forks source link

Hide serializer methods #292

Open nickeldan opened 5 months ago

nickeldan commented 5 months ago

Methods decorated with pydantic.field_serializer get displayed by autopydantic_model. It would be nice if either they were disabled by default or there was an option to disable them.

mansenfranzen commented 1 month ago

Hi @nickeldan,

thanks for raising the feature request! I agree, this would be a sensible feature to add that provides value for many.

I won't be able to add it short-term but I'm happy to assist with reviews and support.