aiohttp-swagger icon indicating copy to clipboard operation
aiohttp-swagger copied to clipboard

Pass definitions yaml as str

Open eLvErDe opened this issue 6 years ago • 0 comments

setup_swagger now accepts "definitions" kwarg containing definitions as YAML formatted-string

By doing this you may want to generate marshmallow models using swagger-marshmallow-codegen, or simply mutualise objects definitions among multiple routes

eLvErDe avatar Feb 26 '19 12:02 eLvErDe