T. Franzel
T. Franzel
I'm no expert on redoc, but usually grouping happens through tags. auto-tagging works like this by default: https://github.com/tfranzel/drf-spectacular/blob/f9344b266db01a90ebcba9e541721034a5b739c3/drf_spectacular/settings.py#L08-L13 either change that setting or manually tag your viewsets like: ```python @extend_schema(tags=["academic-document-names"])...
Not even sure they support this. Details about redocly are out of scope for us. We just provide convenient access. They might have some `x-` extensions for this but I...
Turns out they broke the interface by forgetting to return the param list from the method. Created a PR upstream: https://github.com/openwisp/django-rest-framework-gis/pull/293 You could also hotfix it with an [OpenApiFilterExtension](https://drf-spectacular.readthedocs.io/en/latest/customization.html#declare-custom-library-filters-with-openapifilterextension) that...
This has not changed in a long time. Have a look at your console output. You will find a warning to the effect of enum naming encountered a non-optimally resolvable...
> This has not changed in a long time Sry, I have to take that back. We fixed some bugs and issues with choice extraction in 0.27.0 now that I...
Hi! As you correctly noticed, we cannot guess what happens in a custom `to_representation`. We have 2 workarounds currently. We call this construction an "envelope". Searching the repo with that...
@rui-antunes yes, exactly like that. Depending on how your setup works, I would like likely use an import string instead of the actual class for `target_class`. also make sure you...
1. I recommend import strings because they are more fool-proof. Using the classes directly requires an import, and that has created problem for some users due to import loops. Never...
So `--validate` means that your schema is checked against the relevent JSON Schema (OpenAPI specification) for **compliance**. It raises an non-zero code if anything does not look right structurally. Spectacular...
Interesting. I was not aware of that new field type. Will have to investigate on how to handle the field. Seems like `output_field` is pretty much the only option for...