Diogo Dutra
Diogo Dutra
Related to #17
Could work as Makefile include
The cython version must follow the same interface of the python version.
The index.md is copied to README.md when the docs are build
Example: ```python from apidaora import appdaora def operation() -> str: return 'Hello' app = appdaora([operation], validate_response=True) ``` Should raises a invalid response exception
Uses an openapi file to create the asgi app, looking like this: ```python from apidaora import appdaora_spec async def my_operation(user_name): return 'Hello World!' app = appdaora_spec('myapi.yaml', {'my_operation': my_operation}, modulefile=__file__) ```...
Example: ```python from http import HTTPStatus from apidaora import appdaora, MethodType, path @path('hello', MethodType.GET) def operation(name: str) -> str: return f'Hello {name}!' @path('hello/{name}', MethodType.POST) def created_operation(name: str) -> Tuple[HTTPStatus, str]:...
Should raises error if any argument or return variables was declared with a not supported type. Must be implemented on @path registration flow.
Should raises error if any argument or return variables was declared without annotation. Must be implemented on `@path` registration flow.