1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-03 13:10:04 +00:00

fix: DELETE req cannot have body

This commit is contained in:
Saad Jutt
2022-03-28 05:05:03 +05:00
parent 6dc39c0d91
commit 0a5aeceab5
4 changed files with 5 additions and 29 deletions

View File

@@ -649,7 +649,6 @@ paths:
required:
- status
type: object
description: "It's optional to either provide `_filePath` in url as query parameter\nOr provide `filePath` in body as form field.\nBut it's required to provide else API will respond with Bad Request."
summary: 'Delete file from SASjs Drive'
tags:
- Drive
@@ -660,19 +659,10 @@ paths:
-
in: query
name: _filePath
required: false
required: true
schema:
type: string
example: /Public/somefolder/some.file
requestBody:
required: false
content:
multipart/form-data:
schema:
type: object
properties:
filePath:
type: string
post:
operationId: SaveFile
responses: