Skip to content

Commit 3317258

Browse files
author
Tom Reitz
committed
fix typo
1 parent 935a3af commit 3317258

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lightbeam/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def get_identity_params_from_swagger(self, swagger, definition, prefix=""):
367367
self.logger.critical(f"Swagger contains neither `definitions` nor `components.schemas` - check that the Swagger is valid.")
368368

369369
for prop in schema["properties"]:
370-
if prop.endswith("Reference") and "requied" in schema.keys() and prop in schema['required']:
370+
if prop.endswith("Reference") and "required" in schema.keys() and prop in schema['required']:
371371
sub_definition = schema["properties"][prop]["$ref"]
372372
sub_schema = util.resolve_swagger_ref(swagger, sub_definition)
373373
for sub_prop in sub_schema["required"]:

0 commit comments

Comments
 (0)