📝 Support `SlugConverter` and `PathConverter` from Django in path parameters (#1441)
Currently we only support
int and uuid converters from django:django-modern-rest/dmr/openapi/generators/component_parsers.py
Lines 36 to 41 in 87a02f5
However, there are two more that we can support:
•
path, we can add {"description": "Can contain slashes"} to the schema•
slug, we can add the pattern from SlugConverterThis needs to be tested. Probably we can also change the storage API. I am not sure how currently represent in for all possible providers. Probably we can store prepared schemas for types that exist.
#feature #good_first_issue #help_wanted #openapi #opensource_september #django_modern_rest
sent via relator