GitHub Action 1 месяц назад
Родитель
Сommit
c8b3b31d27
1 измененных файлов с 35 добавлено и 11 удалено
  1. 35 11
      packages/sdk/openapi.json

+ 35 - 11
packages/sdk/openapi.json

@@ -3209,6 +3209,19 @@
                                     }
                                   },
                                   "required": ["npm"]
+                                },
+                                "variants": {
+                                  "type": "object",
+                                  "propertyNames": {
+                                    "type": "string"
+                                  },
+                                  "additionalProperties": {
+                                    "type": "object",
+                                    "propertyNames": {
+                                      "type": "string"
+                                    },
+                                    "additionalProperties": {}
+                                  }
                                 }
                               },
                               "required": [
@@ -8061,6 +8074,23 @@
                     }
                   },
                   "required": ["npm"]
+                },
+                "variants": {
+                  "description": "Variant-specific configuration",
+                  "type": "object",
+                  "propertyNames": {
+                    "type": "string"
+                  },
+                  "additionalProperties": {
+                    "type": "object",
+                    "properties": {
+                      "disabled": {
+                        "description": "Disable this variant for the model",
+                        "type": "boolean"
+                      }
+                    },
+                    "additionalProperties": {}
+                  }
                 }
               }
             }
@@ -8948,16 +8978,6 @@
         },
         "required": ["name", "template"]
       },
-      "Variant": {
-        "type": "object",
-        "properties": {
-          "disabled": {
-            "type": "boolean"
-          }
-        },
-        "required": ["disabled"],
-        "additionalProperties": {}
-      },
       "Model": {
         "type": "object",
         "properties": {
@@ -9154,7 +9174,11 @@
               "type": "string"
             },
             "additionalProperties": {
-              "$ref": "#/components/schemas/Variant"
+              "type": "object",
+              "propertyNames": {
+                "type": "string"
+              },
+              "additionalProperties": {}
             }
           }
         },