This repository has been archived on 2026-08-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-08-20 00:45:43 +02:00

9 lines
253 B
Bash

#!/bin/bash
# Check what the /models/load endpoint expects
curl -s http://localhost:8080/openapi.json | python3 -c '
import sys, json
d = json.load(sys.stdin)
load = d["paths"].get("/models/load", {}).get("post", {})
print(json.dumps(load, indent=2))
'