Improved extract method to work properly (sync)
This commit is contained in:
+48
-3
@@ -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": [
|
||||
|
||||
Reference in New Issue
Block a user