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

Think about hapic usage where devs would like to replace class by another. Permit to change some hardcoded classes.

enhancement

@lebouquetin Actual hapic code dosen't matter about if the output is a list or not. Schema know it. Is it ths good way ?

question

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...

question

When hapic inputs are used, `hapic_data` parameter is given to controllers. The name of this parameter should be personalize-able.

enhancement

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...

enhancement

Do we should consider Marshmallow as an extension like bottle ? To permit usage of non marshmallow schemas ?

question

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...

enhancement
extension