drf-social-oauth2 icon indicating copy to clipboard operation
drf-social-oauth2 copied to clipboard

Use serializers for views

Open denizdogan opened this issue 3 years ago • 1 comments

It would be nice if there were DRF serializers for the various token views so that it would be easier to see exactly what is expected from the client side. This could also help with generating the OpenAPI spec, using drf-spectacular.

denizdogan avatar Jan 07 '22 15:01 denizdogan

Hi @denizdogan.

I will keep this in mind. I may work on it soon, actually. Thank you for your sugestion.

wagnerdelima avatar Jan 10 '22 12:01 wagnerdelima

@denizdogan I started working on this. You can see PR attached to this issue.

Any suggestion and contribution will be very welcomed.

wagnerdelima avatar Apr 21 '23 13:04 wagnerdelima

@wagnerdelima Thanks. I don't use Django in general anymore, so unfortunately I won't be able to assist here.

denizdogan avatar Apr 22 '23 10:04 denizdogan

@denizdogan that's alright. The idea is still valid.

wagnerdelima avatar Apr 22 '23 13:04 wagnerdelima