chore: remove deprecated field in api doc
parent
3f0342ccdf
commit
8a5be05253
1
Makefile
1
Makefile
|
|
@ -23,6 +23,7 @@ update-openapi-doc:
|
||||||
delpaths([ \
|
delpaths([ \
|
||||||
["paths", "/v1beta/chat/completions"], \
|
["paths", "/v1beta/chat/completions"], \
|
||||||
["paths", "/v1beta/search"], \
|
["paths", "/v1beta/search"], \
|
||||||
|
["components", "schemas", "CompletionRequest", "properties", "prompt"], \
|
||||||
["components", "schemas", "CompletionRequest", "properties", "debug_options"], \
|
["components", "schemas", "CompletionRequest", "properties", "debug_options"], \
|
||||||
["components", "schemas", "CompletionResponse", "properties", "debug_data"], \
|
["components", "schemas", "CompletionResponse", "properties", "debug_data"], \
|
||||||
["components", "schemas", "DebugData"], \
|
["components", "schemas", "DebugData"], \
|
||||||
|
|
|
||||||
|
|
@ -159,12 +159,6 @@
|
||||||
"CompletionRequest": {
|
"CompletionRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"prompt": {
|
|
||||||
"type": "string",
|
|
||||||
"deprecated": true,
|
|
||||||
"example": "def fib(n):",
|
|
||||||
"nullable": true
|
|
||||||
},
|
|
||||||
"language": {
|
"language": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Language identifier, full list is maintained at\nhttps://code.visualstudio.com/docs/languages/identifiers",
|
"description": "Language identifier, full list is maintained at\nhttps://code.visualstudio.com/docs/languages/identifiers",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue