__init__.py 689B

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