@replicate/openapi
This package contains Replicate's OpenAPI specification
Usage
import openapi from "@replicate/openapi" assert { type: "json" };
const GetPredictionParameters =
openapi.paths["/v1/predictions/{prediction_id}"].get.parameters;