Skip to content

Commit

Permalink
fix: Ensure SearchCriteria are not seen as Requests
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelm committed Mar 23, 2024
1 parent 0078007 commit 3aa41dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utilities/process_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,8 @@ def process_schema(
xsd_component = schema.types[item]
if xsd_component.is_complex():
match = re.search(
r"(Request|Response)(\d+((mp|sp|V)\d+)?)?$",
# Look for Requests/Responses but exclude SearchCriteria
r"^(?!SearchCriteria).+(Request|Response)(\d+((mp|sp|V)\d+)?)?$",
xsd_component.name,
)
if match and match.group(1) == "Request":
Expand Down

0 comments on commit 3aa41dd

Please sign in to comment.