hapic icon indicating copy to clipboard operation
hapic copied to clipboard

Input/Output/Error management for your python controllers with Swagger doc generation

Results 78 hapic issues
Sort by recently updated
recently updated
newest added

**actually**: get_validation_error return empty dict for details of error in FileOutputProcessor. That's mean using file output decorator, there is no explicit error when output validation failed. Explicit errors message about...

Actually hapic create itself response object, some time, we can need to change the behaviour of get_response according to info in request object.

Actually : by_pass_output_wrapping method is not correctly supported in pyramid context. Todo : Make it work like for other framework.

In Aiohttp context, rzquest object is get from first view parameter. But, for class method views, the first parameter is `self`. Must be compatible.

extension

When hapic check output body, it make a marshmallow dump, then marshmallow load and look at errors. But this way is not very explicit: marshmallow dump ignore non compliuant fields...

Add aiohttp support. aiohttp: https://aiohttp.readthedocs.io/en/stable/

enhancement
extension

- Inswagger files, index.html file conatins link on google.com for the fonts: make it local - In https://github.com/buxx/hapic_workshop, course 01: There is missing lines add instructions to add doc view...

Related to: https://github.com/tracim/tracim/issues/594 Current problem ============= When views are decorated with decorators who are not using `functools.wraps`, doc string is lost during the process. Example: ``` def my_decorator(func): def wrapper(*args,...

bottle_generate_operations should have another name as hapic is now framework agnostic.