From 349a66a5d4b01f46ff0a49b24fa56ed9543323c8 Mon Sep 17 00:00:00 2001 From: Bilal Shaikh Date: Wed, 10 Nov 2021 14:20:25 -0500 Subject: [PATCH] Move file response type below json response This helps with client library generation by having the default response receive the proper type --- openapi.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index 1d2322b..1560b00 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1785,10 +1785,6 @@ paths: "200": description: OK content: - application/octet-stream: - schema: - type: string - format: binary application/json: schema: type: object @@ -1820,6 +1816,10 @@ paths: [7, 21, 35, 49], [8, 24, 40, 56], ] + application/octet-stream: + schema: + type: string + format: binary default: description: Operation unsuccessful.