fix empty build fail (#6462)

Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
This commit is contained in:
Danglewood
2024-05-27 06:09:36 -07:00
committed by GitHub
parent 8d51761b3e
commit bfad015fcb

View File

@@ -1686,6 +1686,8 @@ class ReferenceGenerator:
reference: Dict[str, Dict] = {}
for path, route in route_map.items():
# Initialize the provider parameter fields as an empty dictionary
provider_parameter_fields = {"type": ""}
# Initialize the reference fields as empty dictionaries
reference[path] = {field: {} for field in cls.REFERENCE_FIELDS}
# Route method is used to distinguish between GET and POST methods