update docs

This commit is contained in:
Concedo 2023-10-06 23:40:21 +08:00
parent 2a36c85558
commit 9db21757ef

View file

@ -641,7 +641,7 @@
"properties": {
"genkey": {
"type": "string",
"description": "A unique key used to poll for this generation while it is in progress."
"description": "A unique key used to identify this generation while it is in progress."
}
},
"type": "object"
@ -721,6 +721,25 @@
"/extra/abort": {
"post": {
"description": "Aborts the currently ongoing text generation. Does not work when multiple requests are in queue.",
"requestBody": {
"content": {
"application/json": {
"example": {
"genkey": "KCPP2342"
},
"schema": {
"properties": {
"genkey": {
"type": "string",
"description": "A unique key used to identify this generation while it is in progress."
}
},
"type": "object"
}
}
},
"required": false
},
"responses": {
"200": {
"content": {