feat: Add stream information to generate SDKs (#1569)

This commit is contained in:
Iván Martínez 2024-02-02 16:14:22 +01:00 committed by GitHub
parent 3e67e21d38
commit 24fae660e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 32 additions and 0 deletions

View file

@ -44,6 +44,15 @@
}
}
}
},
"x-fern-streaming": {
"stream-condition": "stream",
"response": {
"$ref": "#/components/schemas/OpenAICompletion"
},
"response-stream": {
"$ref": "#/components/schemas/OpenAICompletion"
}
}
}
},
@ -86,6 +95,15 @@
}
}
}
},
"x-fern-streaming": {
"stream-condition": "stream",
"response": {
"$ref": "#/components/schemas/OpenAICompletion"
},
"response-stream": {
"$ref": "#/components/schemas/OpenAICompletion"
}
}
}
},