Skip to content

Commit

Permalink
#18 download api definition from url:
Browse files Browse the repository at this point in the history
  • Loading branch information
KissPeter committed Feb 9, 2020
1 parent eef473d commit 72c0b37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions apifuzzer/swagger_template_generator.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from apifuzzer.base_template import BaseTemplate
from apifuzzer.template_generator_base import TemplateGenerator
from apifuzzer.utils import get_sample_data_by_type, get_fuzz_type_by_param_type, transform_data_to_bytes, \
param_to_container_name
from apifuzzer.utils import get_sample_data_by_type, get_fuzz_type_by_param_type, transform_data_to_bytes


class ParamTypes(object):
Expand Down
4 changes: 0 additions & 4 deletions apifuzzer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ def try_b64encode(data_in):
return data_in


def param_to_container_name(normalized_url, method, param):
return '{}|{}|{}'.format(normalized_url, method, param)


def container_name_to_param(container_name):
return container_name.split('|')[-1]

Expand Down

0 comments on commit 72c0b37

Please sign in to comment.