__init__.py 775B

12345678910111213141516171819202122
  1. # -*- coding: utf-8 -*-
  2. from hapic.hapic import Hapic
  3. from hapic.data import HapicData
  4. _hapic_default = Hapic()
  5. with_api_doc = _hapic_default.with_api_doc
  6. input_headers = _hapic_default.input_headers
  7. input_body = _hapic_default.input_body
  8. input_path = _hapic_default.input_path
  9. input_query = _hapic_default.input_query
  10. input_forms = _hapic_default.input_forms
  11. input_files = _hapic_default.input_files
  12. output_headers = _hapic_default.output_headers
  13. output_body = _hapic_default.output_body
  14. output_file = _hapic_default.output_file
  15. generate_doc = _hapic_default.generate_doc
  16. set_context = _hapic_default.set_context
  17. reset_context = _hapic_default.reset_context
  18. add_documentation_view = _hapic_default.add_documentation_view
  19. handle_exception = _hapic_default.handle_exception