1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-07 22:50:05 +00:00

chore: added some docs to file upload

This commit is contained in:
Saad Jutt
2022-02-28 22:54:49 +05:00
parent feeec4eb14
commit 5fce7d8f71
2 changed files with 9 additions and 0 deletions

View File

@@ -117,7 +117,13 @@ export class DriveController {
}
/**
* It's optional to either provide `_filePath` in url as query parameter
* Or provide `filePath` in body as form field.
* But it's required to provided else API will respond with Bad Request.
*
* @summary Create a file in SASjs Drive
* @param _filePath Location of SAS program
* @example _filePath "/Public/somefolder/some.file.sas"
*
*/
@Example<UpdateFileResponse>({