Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit bb97612

Browse files
authored
chore: update set default engine docs (#1800)
1 parent c7982ae commit bb97612

File tree

1 file changed

+23
-18
lines changed

1 file changed

+23
-18
lines changed

docs/static/openapi/cortex.json

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2522,26 +2522,31 @@
25222522
"default": "llama-cpp"
25232523
},
25242524
"description": "The type of engine"
2525-
},
2526-
{
2527-
"name": "version",
2528-
"in": "query",
2529-
"required": true,
2530-
"schema": {
2531-
"type": "string"
2532-
},
2533-
"description": "The version of the engine variant"
2534-
},
2535-
{
2536-
"name": "variant",
2537-
"in": "query",
2538-
"required": true,
2539-
"schema": {
2540-
"type": "string"
2541-
},
2542-
"description": "The variant of the engine"
25432525
}
25442526
],
2527+
"requestBody": {
2528+
"required": true,
2529+
"content": {
2530+
"application/json": {
2531+
"schema": {
2532+
"type": "object",
2533+
"required": ["version", "variant"],
2534+
"properties": {
2535+
"version": {
2536+
"type": "string",
2537+
"description": "The version of the engine variant",
2538+
"example": "0.1.34"
2539+
},
2540+
"variant": {
2541+
"type": "string",
2542+
"description": "The variant of the engine",
2543+
"example": "mac-arm64"
2544+
}
2545+
}
2546+
}
2547+
}
2548+
}
2549+
},
25452550
"responses": {
25462551
"200": {
25472552
"description": "Successful response",

0 commit comments

Comments
 (0)