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

User-provided dumps to build swagger_dict #128

Open
letrec opened this issue Aug 26, 2022 · 0 comments
Open

User-provided dumps to build swagger_dict #128

letrec opened this issue Aug 26, 2022 · 0 comments

Comments

@letrec
Copy link

letrec commented Aug 26, 2022

It would be great if it was possible to pass a dumps function to setup_aiohttp_apispec that should be used in https://github.com/maximdanilchenko/aiohttp-apispec/blob/master/aiohttp_apispec/aiohttp_apispec.py#L97 to serialize swagger dict.
That would enable usage of types in parameter defaults and request schema examples that the default serializer is not able to handle.

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