From bd92c230e4bfea595302a43507bc7e873a354e2a Mon Sep 17 00:00:00 2001 From: Dan Funk Date: Wed, 25 Mar 2020 08:06:58 -0400 Subject: [PATCH] Fix the API so we are clear what is being returned when updating a file. --- crc/api.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/crc/api.yml b/crc/api.yml index a186cbcf..43b0dede 100644 --- a/crc/api.yml +++ b/crc/api.yml @@ -533,13 +533,11 @@ paths: - file responses: '200': - description: Returns the actual file + description: Returns the updated file model with the new version information. content: - application/octet-stream: + application/json: schema: - type: string - format: binary - example: '' + $ref: "#/components/schemas/File" # /v1.0/workflow/0 /reference_file: get: