Tarun515
3 years agoNew Contributor
Swagger UI - Request Object is not shown correctly
Endpoint:
/sftp/sftpput:
post:
description: put - save file to server
tags:
- SFTP Operations
operationId: sftpput
x-queue: sftp.operation.putFile
x-queuePath: product
x-async: false
parameters:
- $ref: "#/components/parameters/Product"
- $ref: "#/components/parameters/Path"
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SftpPutRequest'
components:
schemas:
SftpPutRequest:
type: object
properties:
payload:
description: base64 encoded file
type: string
format: byte
size:
type: integer
description: size of file
I was expecting Request with properties payload and size will be visible in the Swagger UI but it is not showing it.
Could you please check and let me know if I am doing something wrong?