Skip to content

Commit b83dd2f

Browse files
committed
DMP-5271 [API Validation] GET/transcriptions/{transcription_id}/documen — apply input validation (High)
Added input validation to get transcription document as well as ensuring response codes are single quoted
1 parent 4a90844 commit b83dd2f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/resources/openapi/transcriptions.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ paths:
358358
operationId: downloadTranscript
359359
parameters:
360360
- name: transcription_id
361+
description: Transcription ID
361362
in: path
362363
required: true
363364
schema:
@@ -371,14 +372,17 @@ paths:
371372
content:
372373
application/*:
373374
schema:
375+
description: Any non Microsoft Word file type
374376
type: string
375377
format: binary
376378
application/msword:
377379
schema:
380+
description: Microsoft Word Document
378381
type: string
379382
format: binary
380383
application/vnd.openxmlformats-officedocument.wordprocessingml.document:
381384
schema:
385+
description: Microsoft Word Open XML Document
382386
type: string
383387
format: binary
384388
'422':

0 commit comments

Comments
 (0)