hapic
hapic copied to clipboard
Input/Output/Error management for your python controllers with Swagger doc generation
## 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
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...
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...
As soon as #156 is done, we should remove others examples in order to avoid deprecated example.
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.
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 =...
Currently: files are not managed in AiohttpContext. Expected: manage files in AiohttpContext.
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...