We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's ok not to define separate class for POST body, but to use it's arguments
The text was updated successfully, but these errors were encountered:
How about to do something like that? I can write full API description if it will be approved
@dataclass class Entity: ... class EntityClient(AiohttpClient): @methods.get("/entities") async def get_all_entities(self, limit: Annotated[int, Query(default=100)], offset: Annotated[int, Query(default=0)]): pass @methods.patch("/entity/{entity_id}") async def update_entity(self, entity_id: Annotated[int, Query(alias="entityId")], entity: Annotated[Entity, Body(...)]): pass
Sorry, something went wrong.
No branches or pull requests
It's ok not to define separate class for POST body, but to use it's arguments
The text was updated successfully, but these errors were encountered: