Skip to content
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

Pass either model object or dictionary to the body parameter #23

Open
mnojek opened this issue Mar 7, 2022 · 0 comments
Open

Pass either model object or dictionary to the body parameter #23

mnojek opened this issue Mar 7, 2022 · 0 comments

Comments

@mnojek
Copy link
Member

mnojek commented Mar 7, 2022

At this moment, the body parameter only accepts dictionary, which can be optionally validated by providing a boolean value for validate_payload parameter. The endpoint methods should also accept providing the payload using an object that later can be serialized into a dictionary.

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

No branches or pull requests

1 participant