Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit ab6f4db

Browse files
committed
handle {account-identifier} with a dash vs underscore. Arggg!
1 parent f445051 commit ab6f4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CloudFlare/api_decode_from_openapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
API_TYPES = ['GET', 'POST', 'PATCH', 'PUT', 'DELETE']
99

10-
match_identifier = re.compile(r'\{[A-Za-z0-9_]*\}')
10+
match_identifier = re.compile(r'\{[A-Za-z0-9_\-]*\}')
1111

1212
def do_path(cmd, values):
1313
""" do_path() """

0 commit comments

Comments
 (0)