T. Franzel
T. Franzel
Glad it worked for you! That is an interesting usage of the the raw schema feature. 😲 😄 The reason, if I remember correctly, for not supporting "singular field example"...
So generally I would be willing to drop py3.6 from testing, but that seems not the only problem here. I was unable to quickly come up with a combination of...
Well, we do already implement 1/2. https://github.com/tfranzel/drf-spectacular/blob/9926bbaf23927bedadafbe2e2c99aa4fda7b691a/drf_spectacular/plumbing.py#L1400-L1404 It tries the call the view's `get_serializer_context()` method and provides that context to the serializer. Of course this only works for `ViewSet`, `GenericAPIView`...
Hey @bradydean, can you reproduce this issue or is probabilistic again? I am still confused how this can happen for you. This is a very basic assumption failure that should...
I would like to debug this as close to your setup as possible. please, if possible, state as much context as possible, e.g. * python version? (maybe even docker base...
Thanks @bradydean for the detailed info. I will try to reproduce this over the holidays and will get back to you. > Maybe it's related to daphne asgi? possibly... Generally,...
Hi, > ... is bundled under schemas or securitySchemas ... I noticed requests, responseBodies, and others that were missing. Yes that is a design choice to reduce duplication and increase...
> view so it sounds like the actions i'm using are incorrect and i'll change those. (e.g. using list instead of get i presume?) It all depends on the DRF...
`@extend_schema_view` is convenience tool, so that you can decorate view methods like `create` without having to actually override it, just so that you can tack on a `extend_schema` decorator. It...
inline serializer is supposed to behave exactly as a serializer. In fact it is a dynamically generated serializer. However, it is important to note that a serializer without fields will...