forked from loafle/openapi-generator-original
[Rust Server] Support octet stream body param (#2725)
Add support for having a required octet stream as a body parameter.
This commit is contained in:
committed by
William Cheng
parent
16f94e7e62
commit
31734c2717
@@ -65,8 +65,24 @@ paths:
|
||||
description: OK
|
||||
400:
|
||||
description: Bad Request
|
||||
/required_octet_stream:
|
||||
put:
|
||||
requestBody:
|
||||
content:
|
||||
application/octet-stream:
|
||||
schema:
|
||||
format: byte
|
||||
type: string
|
||||
required: true
|
||||
responses:
|
||||
200:
|
||||
description: OK
|
||||
components:
|
||||
schemas:
|
||||
UuidObject:
|
||||
description: Test a model containing a UUID
|
||||
format: uuid
|
||||
type: string
|
||||
xml_array:
|
||||
items:
|
||||
$ref: '#/components/schemas/xml_inner'
|
||||
|
||||
Reference in New Issue
Block a user