diff --git a/docs/openapi.json b/docs/openapi.json index e5ef0e3c..8c652946 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -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" diff --git a/router/src/lib.rs b/router/src/lib.rs index 67fff017..7dff7a11 100644 --- a/router/src/lib.rs +++ b/router/src/lib.rs @@ -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, }