Skip to content

Commit

Permalink
Merge branch 'master' into bad-operation-id-to-5xx
Browse files Browse the repository at this point in the history
  • Loading branch information
jfinkhaeuser committed Sep 13, 2016
2 parents 9d4a40e + f8c7a68 commit 0bc04c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions connexion/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ def flaskify_endpoint(identifier, randomize=None):
return result

chars = string.ascii_uppercase + string.digits
return result + '|' + ''.join(
random.SystemRandom().choice(chars) for _ in range(randomize))
return "{result}|{random_string}".format(
result=result,
random_string=''.join(random.SystemRandom().choice(chars) for _ in range(randomize)))


def convert_path_parameter(match, types):
Expand Down

0 comments on commit 0bc04c5

Please sign in to comment.