dchaplinsky / aiohttp_validate

Simple library that helps you validate your API endpoints requests/responses with json schema
MIT License
48 stars 10 forks source link

add support handler's view #154

Open afanasevps opened 5 years ago

afanasevps commented 5 years ago

Hi, at the moment, it case of class-based handler view, self argument is removed

organizing handlers in classes - https://docs.aiohttp.org/en/stable/web_quickstart.html#organizing-handlers-in-classes

similarly issue - https://github.com/dchaplinsky/aiohttp_validate/pull/151

Thanks!

andreyrusanov commented 5 years ago

@afanasevps it has been fixed here: https://github.com/dchaplinsky/aiohttp_validate/pull/151

Try to install from master branch. Perhaps it hasn't been released yet.