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 authored and ewurch committed Mar 25, 2024
1 parent c716a50 commit 6a9c35e
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 6a9c35e

Please sign in to comment.