Diogo Dutra

Results 33 issues of Diogo Dutra

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

hacktoberfest

Example: ```python from apidaora import appdaora def operation() -> str: return 'Hello' app = appdaora([operation], validate_response=True) ``` Should raises a invalid response exception

hacktoberfest

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__) ```...

hacktoberfest

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]:...

hacktoberfest

Should raises error if any argument or return variables was declared with a not supported type. Must be implemented on @path registration flow.

hacktoberfest

Should raises error if any argument or return variables was declared without annotation. Must be implemented on `@path` registration flow.

hacktoberfest