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

## Currenlty When client make request on api with schema unknown parameters, hapic say nothing. ## Expected Add an option to permit refuse all unknown parameters. Maybe it could be...

Currently: - hapic_data.files return different type of file for each framework (cgi.FieldStorage for pyramid, FileField for aiohttp, FileUpload for bottle, FileStorage for flask, ...) - Pyramid with serpyco input file...

User Managment exemple is better than fake_api, we should change tests for all framework to handle this kind of example instead of fake_api. this need #159

tests

Packages versions : ``` hapic==0.64 apispec==1.0.0b5 apispec-hapic-marshmallow==0.2 apispec-marshmallow-advanced==0.3 ``` Using custom error schema, in Tracim, this way: ``` context = PyramidContext( configurator=configurator, default_error_builder=ErrorSchema(), debug=app_config.DEBUG, ) ``` i get lot of...

bug

From: ``` # FIXME - G.M - 17-05-2018 - Verify if: # - other view that work/raise an other exception do not go # into this code for handle this...

tests

As soon as #156 is done, we should remove others examples in order to avoid deprecated example.

cleaning

Many tests depend now on "MyContext" which is a BottleContext, We should make them Framework agnostic using a new context which doesn't use a true framework inside.

tests

With last version for hapic/apispec-serpyco (not released yet), tests ` test_func__test_fake_api_doc_ok__aiohttp_serpyco ` is unconsistent. sometime it work correctly, sometime it just failed: Issue may come from apispec_serpyco. ``` test_client =...

bug

Currently: files are not managed in AiohttpContext. Expected: manage files in AiohttpContext.

enhancement

For tests purpose, i need to reset controllers of hapic objet. I can do this this way : ` hapic._controllers = []` but this means using private arguments which is...

enhancement