aiohttp-swagger
aiohttp-swagger copied to clipboard
Swagger API Documentation builder for aiohttp server
basically I replaced `loop` with `event_loop` in all tests
**Issue**: Empty dict values in the definitions are rendered not to `{}` but to `null` incorrectly. **PoC code**: ```python from json import loads from aiohttp import web from aiohttp_swagger.helpers import...
This PR fixes the internal `nesteddict2yaml()` function to process empty dict values properly. Without this PR, empty dict values are rendered to `null` so that [openapi-spec-validator](https://github.com/python-openapi/openapi-spec-validator) fails on the Swagger...