Improved extract method to work properly (sync)

This commit is contained in:
Kikimanox
2022-10-18 19:08:41 +02:00
parent b483e1643f
commit 673a83691b
9 changed files with 289 additions and 120 deletions
+48 -3
View File
@@ -265,13 +265,13 @@
}
}
},
"/izlusci": {
"/izlusciSync": {
"post": {
"tags": [
"extract"
],
"summary": "Izlusci terminološke kandidate iz seznama besedil v conllu obliki",
"operationId": "getCandidates",
"summary": "Izlusci terminološke kandidate iz seznama besedil v conllu obliki [sihrono, rezultat v sami zahtevi]",
"operationId": "getCandidates_sync",
"requestBody": {
"content": {
"application/json": {
@@ -313,6 +313,51 @@
}
}
},
"/izlusciAsync": {
"post": {
"tags": [
"extract"
],
"summary": "Izlusci terminološke kandidate iz seznama besedil v conllu obliki [asinhrono, ustvari novi job]",
"operationId": "getCandidates_async",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"conllus": {
"type": "array",
"items": {
"type": "string"
}
},
"prepovedaneBesede": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
},
"required": true
},
"responses": {
"200": {
"description": "OK",
"content": {
"*/*": {
"schema": {
"type": "string"
}
}
}
}
}
}
},
"/datotekaVBesediloSync": {
"post": {
"tags": [