[python-nextgen] Fix binary response (#15076)

* fix binary response in python nextgen client

* update samples
This commit is contained in:
William Cheng
2023-03-31 16:16:58 +08:00
committed by GitHub
parent 05fa5601dd
commit b59d535176
36 changed files with 906 additions and 75 deletions

View File

@@ -326,6 +326,22 @@ paths:
- body
x-content-type: application/json
x-accepts: text/plain
/binary/gif:
post:
description: Test binary (gif) response body
operationId: test/binary/gif
responses:
"200":
content:
image/gif:
schema:
format: binary
type: string
description: Successful operation
summary: Test binary (gif) response body
tags:
- body
x-accepts: image/gif
components:
requestBodies:
Pet: