From 42125bfb956b8ae3a91a5be3fb2c445300b1dc9a Mon Sep 17 00:00:00 2001 From: Erwan Rouchet <rouchet@teklia.com> Date: Wed, 6 Nov 2019 12:11:34 +0100 Subject: [PATCH] Return empty responses on bulk transcription APIs --- arkindex/schema.yml | 86 +++------------------------------------------ 1 file changed, 4 insertions(+), 82 deletions(-) diff --git a/arkindex/schema.yml b/arkindex/schema.yml index ab89478..8f46ffd 100644 --- a/arkindex/schema.yml +++ b/arkindex/schema.yml @@ -9971,47 +9971,9 @@ paths: - recognizer - transcriptions x-name: body - responses: - '200': - content: - application/json: - schema: - properties: - parent: - type: string - recognizer: - type: string - transcriptions: - items: - properties: - polygon: - items: - type: array - type: array - score: - maximum: 1 - minimum: 0 - type: number - text: - type: string - type: - enum: - - page - - paragraph - - line - - word - - character - required: - - polygon - - text - - score - - type - type: array - required: - - parent - - recognizer - - transcriptions - description: '' + responses: &id002 + '201': + description: All transcriptions have been created. tags: - ml put: @@ -10059,47 +10021,7 @@ paths: - recognizer - transcriptions x-name: body - responses: - '200': - content: - application/json: - schema: - properties: - parent: - type: string - recognizer: - type: string - transcriptions: - items: - properties: - polygon: - items: - type: array - type: array - score: - maximum: 1 - minimum: 0 - type: number - text: - type: string - type: - enum: - - page - - paragraph - - line - - word - - character - required: - - polygon - - text - - score - - type - type: array - required: - - parent - - recognizer - - transcriptions - description: '' + responses: *id002 tags: - ml /api/v1/transcription/{id}/entities/: -- GitLab