Forum Discussion
/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
parameters:
Product:
name: product
description: product name
in: path
required: true
schema:
type: string
Path:
name: path
in: query
required: true
schema:
type: string
Sorry, parameters are also defined in the yml file.
Also, we are using below swagger dependencies in our project:
io.swagger:swagger-annotations:1.6.6
io.swagger.core.v3:swagger-annotations:2.2.0
org.springdoc:springdoc-openapi-ui:1.6.9
- chichepo3 years agoChampion Level 1
Indeed, the parameters are displayed with your definition
please, check again your code. It should appear as shown
Related Content
- 4 years ago
Recent Discussions
- 11 days ago
- 2 months ago