fix: resolve FastAPI deprecation warning for example fields

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
This commit is contained in:
Emmanuel Ferdman
2025-07-07 04:22:28 -07:00
committed by psychedelicious
parent 7e6cffb00c
commit db6af134b7

View File

@@ -22266,16 +22266,6 @@ export interface operations {
};
requestBody: {
content: {
/** @example {
* "path": "/path/to/model",
* "name": "model_name",
* "base": "sd-1",
* "type": "main",
* "format": "checkpoint",
* "config_path": "configs/stable-diffusion/v1-inference.yaml",
* "description": "Model description",
* "variant": "normal"
* } */
"application/json": components["schemas"]["ModelRecordChanges"];
};
};
@@ -22579,10 +22569,6 @@ export interface operations {
};
requestBody: {
content: {
/** @example {
* "name": "string",
* "description": "string"
* } */
"application/json": components["schemas"]["ModelRecordChanges"];
};
};