hapic
hapic copied to clipboard
Input/Output/Error management for your python controllers with Swagger doc generation
Hello, I was trying to use pyramid with hapic and marshmallow, and i do wanted to validate that origin user do accept "text/event-stream" as response using the Accept header. My...
## Currently: There is no way to configure serve_directory method. So, there is no way to send specific header like cache-related one with resource obtain with serve_directory. ## Expected: Allow...
When using pyramid backend and formdata file upload, we may have trouble with utf8 or other non-ascii encoded filename, in api depending on the client implementation of file upload This...
## Currently In this environmment: - hapic - marshmallow - pyramid. using input file with schema like: `files = marshmallow.fields.Raw(required=True, description="a file")` Do not work properly because of required =...
Currently hapic do need file to have name, this mean we cannot support case where we want to allow to support unlimited file upload in form. We should support this...
Commit e2a9d9351aa064a83b6c879f3075657792a67ded introduce hooks about exception catch. Tests have been wrote only for aiohttp. Must write for all supported web framework.
line 53 of ext/pyramid/context.py does : ` if req.body and req.content_type in ("application/json", "application/json-rpc"): json_body = req.json_body # TODO : raise exception if not correct , return 400 if uncorrect...
**Currently:** origin : https://github.com/algoo/hapic/issues/184 We accept empty body of content_type json request in pyramid context (and maybe other context) **Expected:** - Raise 400 error in case of unvalid json for...
related to #156 need #161, #182 Todo: - fix tests related to serpyco, see https://gitlab.com/sgrignard/serpyco/issues/28 and https://gitlab.com/sgrignard/serpyco/issues/29 - add more tests in usermanagment (test avatar upload/download) , etc..
Few month ago we create this french doc about hapic usage. Do we include it into code source ?