Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
19c41824
Commit
19c41824
authored
Jun 05, 2023
by
OlivierDehaene
Browse files
chore: update openapi schema
parent
6abec14a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
docs/openapi.json
docs/openapi.json
+6
-1
router/src/lib.rs
router/src/lib.rs
+1
-1
No files found.
docs/openapi.json
View file @
19c41824
...
...
@@ -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"
...
...
router/src/lib.rs
View file @
19c41824
...
...
@@ -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
,
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment