Initial commit: SIBU 2.0 MISSION
This commit is contained in:
12
backend/list_paths.py
Normal file
12
backend/list_paths.py
Normal file
@ -0,0 +1,12 @@
|
||||
import json
|
||||
|
||||
try:
|
||||
with open("vertexdc_openapi.json", "r", encoding="utf-16") as f:
|
||||
data = json.load(f)
|
||||
except Exception:
|
||||
with open("vertexdc_openapi.json", "r", encoding="utf-8") as f:
|
||||
data = json.load(f)
|
||||
|
||||
print("Paths found in OpenAPI:")
|
||||
for path in sorted(data.get("paths", {}).keys()):
|
||||
print(f"- {path}")
|
||||
Reference in New Issue
Block a user