We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f873248 commit 5bbfd64Copy full SHA for 5bbfd64
scripts/check_openapi_version.py
@@ -21,7 +21,7 @@
21
# if the version is different, print a message
22
latest_folder_path = "./openapi_specs/latest"
23
files = os.listdir(latest_folder_path)
24
-first_openapi_file = next((f for f in file_names if f.startswith("openapi-v")), None)
+first_openapi_file = next((f for f in files if f.startswith("openapi-v")), None)
25
file_path = os.path.join(latest_folder_path, first_openapi_file)
26
with open(file_path, 'r') as file:
27
openapi_spec = json.load(file)
0 commit comments