Skip to content

Commit 5bbfd64

Browse files
Update check_openapi_version.py
1 parent f873248 commit 5bbfd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_openapi_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# if the version is different, print a message
2222
latest_folder_path = "./openapi_specs/latest"
2323
files = os.listdir(latest_folder_path)
24-
first_openapi_file = next((f for f in file_names if f.startswith("openapi-v")), None)
24+
first_openapi_file = next((f for f in files if f.startswith("openapi-v")), None)
2525
file_path = os.path.join(latest_folder_path, first_openapi_file)
2626
with open(file_path, 'r') as file:
2727
openapi_spec = json.load(file)

0 commit comments

Comments
 (0)