Add recipe download and copy yaml (#6201)

This commit is contained in:
Zane
2026-01-05 09:55:50 -08:00
committed by GitHub
parent 901cac9441
commit edcd011543
12 changed files with 300 additions and 19 deletions
+62
View File
@@ -1558,6 +1558,46 @@
}
}
},
"/recipes/to-yaml": {
"post": {
"tags": [
"Recipe Management"
],
"operationId": "recipe_to_yaml",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RecipeToYamlRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Recipe converted to YAML successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RecipeToYamlResponse"
}
}
}
},
"400": {
"description": "Bad request - Failed to convert recipe to YAML",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/reply": {
"post": {
"tags": [
@@ -4762,6 +4802,28 @@
"user_prompt"
]
},
"RecipeToYamlRequest": {
"type": "object",
"required": [
"recipe"
],
"properties": {
"recipe": {
"$ref": "#/components/schemas/Recipe"
}
}
},
"RecipeToYamlResponse": {
"type": "object",
"required": [
"yaml"
],
"properties": {
"yaml": {
"type": "string"
}
}
},
"RedactedThinkingContent": {
"type": "object",
"required": [