Skip to content

Commit

Permalink
chore: remove deprecated field in api doc
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Oct 21, 2023
1 parent 3f0342c commit 8a5be05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ update-openapi-doc:
delpaths([ \
["paths", "/v1beta/chat/completions"], \
["paths", "/v1beta/search"], \
["components", "schemas", "CompletionRequest", "properties", "prompt"], \
["components", "schemas", "CompletionRequest", "properties", "debug_options"], \
["components", "schemas", "CompletionResponse", "properties", "debug_data"], \
["components", "schemas", "DebugData"], \
Expand Down
6 changes: 0 additions & 6 deletions website/static/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,6 @@
"CompletionRequest": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"deprecated": true,
"example": "def fib(n):",
"nullable": true
},
"language": {
"type": "string",
"description": "Language identifier, full list is maintained at\nhttps://code.visualstudio.com/docs/languages/identifiers",
Expand Down

0 comments on commit 8a5be05

Please sign in to comment.