[python-nextgen] add support for StrictBytes (#15365)

* add strictbyte support in python-nextgen client

* update samples

* use union of strictbytes, strictstr for backward compatibility
This commit is contained in:
William Cheng
2023-05-01 10:51:22 +08:00
committed by GitHub
parent c7c5dd2673
commit 961980f284
42 changed files with 1028 additions and 55 deletions

View File

@@ -313,6 +313,28 @@ paths:
tags:
- query
x-accepts: text/plain
/body/application/octetstream/binary:
post:
description: Test body parameter(s)
operationId: test/body/application/octetstream/binary
requestBody:
content:
application/octet-stream:
schema:
format: binary
type: string
responses:
"200":
content:
text/plain:
schema:
type: string
description: Successful operation
summary: Test body parameter(s)
tags:
- body
x-content-type: application/octet-stream
x-accepts: text/plain
/echo/body/Pet:
post:
description: Test body parameter(s)