MAILLOL Vincent

Results 15 comments of MAILLOL Vincent

Could you more explain your issue please? Send me a minimal code example that reproduce your issue and tell me what do you expect.

This feature seems hard to provide. We should extend r200, object to write a code liking this: ``` class Link: operationId = "GetUserAddress" parameters = { "userId": "$request.path.id" } class...

I would like use `typing.NewType` to define which parameters can be used as input in other method. https://docs.python.org/3.8/library/typing.html#typing.NewType ``` UserIdType = NewType('UserIdType', UUID) # All parameters typed UserIdType will be...

Hello @Bengreen I started a MR to represente the links. https://github.com/Maillol/aiohttp-pydantic/compare/add_oas_link_references Do you want continue ?

Please, in the readme, add paragraph "Custom Open API Schema" between "Custom Validation error" and "Demo" paragraphs. and a unittest

Good job! Have a decorator for HTTP handler function is a great feature but the handler decorator should works with `aiohttp_pydantic.oas.view.generate_oas()`. and the decorator should take the `on_validation_error` hook in...

No problem, I try to do that the next week. Thanks for your message it's always good to know how people use aiohttp-pydantic or what's it need.

Hi, According to the pydantic documentation you can define the `__root__` attribute in your pydantic model : https://pydantic-docs.helpmanual.io/usage/models/#custom-root-types ```python class Pet(BaseModel): id: int name: str age: int friends: Friend class...

Hello, did you try to use the Group. ``` class AgeFilter(Group): age_gt: int = 0 age_lt: int = 99 class Pet(PydanticView): def get(self, name: AgeFilter): pets = PetModel.filter(**name.to_dict()) .... ```...

Thanks a lot ! It's a good job, please apply the asked modification and I will merge your Pull Request.