hapic
hapic copied to clipboard
Input/Output/Error management for your python controllers with Swagger doc generation
Think about hapic usage where devs would like to replace class by another. Permit to change some hardcoded classes.
@lebouquetin Actual hapic code dosen't matter about if the output is a list or not. Schema know it. Is it ths good way ?
When we generate doc and a decorated route is not found in framework: Do we should stop, or simply print an error ? @lebouquetin If we choose option of print...
When hapic inputs are used, `hapic_data` parameter is given to controllers. The name of this parameter should be personalize-able.
Review code with @lebouquetin about usage of `DECORATION_ATTRIBUTE_NAME`.
In `hapic.decorator.OutputControllerWrapper#after_wrapped_function` we must directly return response if it's a "already HTTP response". Actually: * It is hardcoded * It is bottle specific Use context to be context agnostic and...
Do we should consider Marshmallow as an extension like bottle ? To permit usage of non marshmallow schemas ?
Actually, setup.py directly require packages like bottle. But it must be a dependencie only if need it. Two options: * Hapic source code never contain extension code and we maintain...