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
ROCm-Research-Archive/Scripts and Tests/check_schema.sh
T
2026-08-20 00:45:43 +02:00

8 lines
214 B
Bash

#!/bin/bash
curl -s http://localhost:8080/openapi.json | python3 -c '
import sys, json
d = json.load(sys.stdin)
schema = d["components"]["schemas"].get("LoadModelRequest", {})
print(json.dumps(schema, indent=2))
'