def __init__(self, config): apiConfig = config.get("eos_test_control_plugin", {}) if not apiConfig: apiConfig = {} args = [ apiConfig.get("scheme", "http"), apiConfig.get("hostname", "eosio.havokmud"), apiConfig.get("port", 8000), ] SwaggerAPI.__init__(self, "EOSTestControl", "test_control.swagger.yaml", *args, "/v1", "https://eosio.github.io/schemata/v2.0/oas")
def __init__(self, config): apiConfig = config.get("eos_wallet_plugin", {}) if not apiConfig: apiConfig = {} args = [ apiConfig.get("scheme", "http"), apiConfig.get("hostname", "eosio.havokmud"), apiConfig.get("port", 6666), ] SwaggerAPI.__init__(self, "EOSWallet", "wallet.swagger.yaml", *args, "/v1/wallet", "https://eosio.github.io/schemata/v2.0/oas")