T. Franzel

Results 315 comments of T. Franzel

@paulsmirnov let me know your findings. I will set aside some time too.

Hey @jayvdb, i see! Since you also commented on #101, you are probably aware this entails a whole package things. I believe we should have a setting to turn on...

> Note that permission_classes can also be set to (permissions.AllowAny,) which does not require authentication, so the 401 response should not be included in those cases. if you have a...

As a channels user myself, this has been cumbersome for me too.I was not aware of DCRF, so thanks for that. > so perhaps some of drf-spectactular's infrastructure could be...

Hi, generating a schema for ```python def test_i759(no_warnings): class TblRole(models.Model): name = models.CharField(max_length=64) desc = models.CharField(max_length=256) class RoleSerializers(serializers.ModelSerializer): class Meta: model = TblRole fields = '__all__' class XViewset(viewsets.ModelViewSet): serializer_class =...

Hi! do you mean this? https://github.com/tfranzel/drf-spectacular/blob/66086cf2d18ca007224a79269efdfa74f1a035e1/tests/test_specification_extensions.py#L165 otherwise, please provide an example to make this easier to talk about.

> but no examples show up in SwaggerUI and then even if it were to work, ... examples injected via `extend_schema_serializer` for parameters is simply not implemented I believe. nobody...

Hey @PaulWay, due to the missing test I scheduled some time to look at it in more detail later but then unfortunately totally forgot about it. In the meantime there...

Hi @marcintabaka, so the short answer is no. It is currently not possible as we do not expose the _encoding object_ and give only limited access to the _media type...

I don't think a global setting is the right way. It is too coarse and also since it's bound to the field name, unwanted collisions might occur. It would be...