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

Using swagger ui view (pyramid context) i get 'red' error box in view with a link pointing to swagger validator with relative path instead of absolute ![error_issue](https://user-images.githubusercontent.com/7851652/54346816-065e2900-4646-11e9-8bab-93b89aa5a422.png) This cause not...

bug

## Currenlty Some times, `apispec.ext.marshmallow.common.get_unique_schema_name` increment generated schema class (generated to manager "without fields"). Behavior can be found in test `tests.func.fake_api.test_fake_api.test_func__test_fake_api_doc_ok__all_framework`. See try/except AssertionError. ## Expected Identify reason of this...

Currently ======= When run packaging process to build new version, version number change is done on master branch. So, version is not visible in develop branch. Expected ======= Change the...

from: https://github.com/algoo/hapic/blob/7e61d8fe1e7deb680be5bee0e6e4de9a79e6034b/hapic/doc/main.py#L171 openapi 2.0 doesn't support different schema, that why, in order to support multiple error message in documentation for one http error_code (like 400 BAD REQUEST), we pretend that...

Currently: - Only one description for each http status error (if multiple exception give same error we can't know each of them) - Description for exception is just same as...

enhancement

This PR was written without tests: https://github.com/algoo/hapic/pull/97 To do: Write tests to cover these changes

Hapic don't permit to specify the responses return types. See OpenAPI 2.0 about that: https://swagger.io/docs/specification/2-0/describing-responses/ Solution can be to add information in schema of `hapic.output_body` ? Then extract it and...

Upgrade to latest version the source code of swagger-ui. Than, add a file who store actuel swagger-ui coe version.

#92 patch (see https://github.com/algoo/hapic/pull/94) resolve issue but work fully only for pyramid because context exception are related to pyramid context code. We need to find a solution to refactor this...

Using "handle exception" mecanism of hapic" there is no more traceback easily available in log file or stdin. Hapic should be able to log exceptions and others issues in a...