You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But MarshmallowPlugin created inside AiohttpApiSpec and not exposed explicitly.
What do you think about instantiating MarshmallowPlugin at module level or put into global context? It will allows me to import this plugin and decorate my own custom fields.
Thanks for your attention!
The text was updated successfully, but these errors were encountered:
Hello!
I've spend some time and cannot figure out, how to register custom fields for
apispec
throughaiohttp-apispec
library.Docs about this at
apispec
:https://apispec.readthedocs.io/en/latest/using_plugins.html#custom-fields
But
MarshmallowPlugin
created insideAiohttpApiSpec
and not exposed explicitly.What do you think about instantiating
MarshmallowPlugin
at module level or put into global context? It will allows me to import this plugin and decorate my own custom fields.Thanks for your attention!
The text was updated successfully, but these errors were encountered: