royhzq / djagger

OpenAPI 3 schema generator for Django and Django Rest Framework based on pydantic
MIT License
19 stars 5 forks source link

Converting DRF filterset_class to pydantic model #8

Open tonioo opened 2 years ago

tonioo commented 2 years ago

Is it something supported by Djagger? It could be useful to specify a filterset class directly in the query_params attribute.

royhzq commented 2 years ago

Hi @tonioo if you are referring to the FilterSet class from the django-filter library, it is unfortunately currently not supported by Djagger. I'll leave this issue open as it is potentially a useful feature to have.

tonioo commented 2 years ago

@royhzq yes, I'm talking about that. Thanks for the answer.