An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie
PR #140 fixed the issue with the support for OpenAPI basePath, but the code can be improved. This PR moves spec parsing code out of cli.py and put it to Context constructor. Also adds two test cases in test_cli.py.
PR #140 fixed the issue with the support for OpenAPI
basePath
, but the code can be improved. This PR movesspec
parsing code out ofcli.py
and put it toContext
constructor. Also adds two test cases intest_cli.py
.cc @nheisterkamp, you might want to take a look.