Aiohttp API constructor with dataclass based request validation.
Simple example:
import typing
from aiojsonapi import JSONTemplate
@JSONTemplate({
"messages": [{
"id": int,
"text": typing.Optional[str]
}])
async def received_message(request):
pass