Commit 19c41824 authored by OlivierDehaene's avatar OlivierDehaene
Browse files

chore: update openapi schema

parent 6abec14a
......@@ -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,
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment