Skip to content

Allow custom serializer class for request and response #8526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

Smixi
Copy link

@Smixi Smixi commented Jun 14, 2022

Description

This is a rerun of the CI of khamaileon's commit (#8347) because of an error with mkdoc and jinja at the time (mkdocs/mkdocs#2799). If I remember correctly, the OpenApi schema part is already there in this commit 8812394 but the handler for generics views in the generic.py was missing. No change from previous commit otherwise than merging with a recent master branch.

CI: https://github.com/Smixi/django-rest-framework/actions/runs/2492005353

The feature allow to define different serializers for input/output in generic views, and integrate with schema spec generation for such usecase.

I don't know how to properly push into an already created PR (if it is possible ?), if that's not the way to do it then close this :/.

@khamaileon
Copy link

Hi @Smixi I just saw your commit, I feel like we need the same things at the same time because I rebased with master too a few days ago! Feel free to close this PR and participate in the discussion on the other one :)

@Smixi Smixi closed this Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants