chore: update openapi schema
This commit is contained in:
parent
6abec14a7e
commit
19c41824cb
|
@ -375,7 +375,8 @@
|
|||
"$ref": "#/components/schemas/GenerateParameters"
|
||||
},
|
||||
"stream": {
|
||||
"type": "boolean"
|
||||
"type": "boolean",
|
||||
"default": "false"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -459,6 +460,10 @@
|
|||
"minimum": 0.0,
|
||||
"exclusiveMinimum": 0.0
|
||||
},
|
||||
"decoder_input_details": {
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
},
|
||||
"details": {
|
||||
"type": "boolean",
|
||||
"default": "true"
|
||||
|
|
|
@ -176,7 +176,7 @@ pub(crate) struct CompatGenerateRequest {
|
|||
#[serde(default = "default_parameters")]
|
||||
pub parameters: GenerateParameters,
|
||||
#[serde(default)]
|
||||
#[allow(dead_code)]
|
||||
#[schema(default = "false")]
|
||||
pub stream: bool,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue