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

chore: lint fixes

This commit is contained in:
Saad Jutt
2022-02-26 02:41:55 +05:00
parent 7312763339
commit da375b8086

View File

@@ -53,18 +53,18 @@ export class STPController {
* Trigger a SAS program using it's location in the _program URL parameter. * Trigger a SAS program using it's location in the _program URL parameter.
* Enable debugging using the _debug URL parameter. Setting _debug=131 will * Enable debugging using the _debug URL parameter. Setting _debug=131 will
* cause the log to be streamed in the output. * cause the log to be streamed in the output.
* *
* Additional URL parameters are turned into SAS macro variables. * Additional URL parameters are turned into SAS macro variables.
* *
* Any files provided in the request body are placed into the SAS session with * Any files provided in the request body are placed into the SAS session with
* corresponding _WEBIN_XXX variables created. * corresponding _WEBIN_XXX variables created.
* *
* The response headers can be adjusted using the mfs_httpheader() macro. Any * The response headers can be adjusted using the mfs_httpheader() macro. Any
* file type can be returned, including binary files such as zip or xls. * file type can be returned, including binary files such as zip or xls.
* *
* This behaviour differs for POST requests, in which case the reponse is * This behaviour differs for POST requests, in which case the reponse is
* always JSON. * always JSON.
* *
* @summary Execute Stored Program, return raw _webout content. * @summary Execute Stored Program, return raw _webout content.
* @param _program Location of SAS program * @param _program Location of SAS program
* @example _program "/Public/somefolder/some.file" * @example _program "/Public/somefolder/some.file"
@@ -81,23 +81,23 @@ export class STPController {
* Trigger a SAS program using it's location in the _program URL parameter. * Trigger a SAS program using it's location in the _program URL parameter.
* Enable debugging using the _debug URL parameter. In any case, the log is * Enable debugging using the _debug URL parameter. In any case, the log is
* always returned in the log object. * always returned in the log object.
* *
* Additional URL parameters are turned into SAS macro variables. * Additional URL parameters are turned into SAS macro variables.
* *
* Any files provided in the request body are placed into the SAS session with * Any files provided in the request body are placed into the SAS session with
* corresponding _WEBIN_XXX variables created. * corresponding _WEBIN_XXX variables created.
* *
* The response will be a JSON object with the following root attributes: log, * The response will be a JSON object with the following root attributes: log,
* webout, headers. * webout, headers.
* *
* The webout will be a nested JSON object ONLY if the response-header * The webout will be a nested JSON object ONLY if the response-header
* contains a content-type of application/json AND it is valid JSON. * contains a content-type of application/json AND it is valid JSON.
* Otherwise it will be a stringified version of the webout content. * Otherwise it will be a stringified version of the webout content.
* *
* Response headers from the mfs_httpheader macro are simply listed in the * Response headers from the mfs_httpheader macro are simply listed in the
* headers object, for POST requests they have no effect on the actual * headers object, for POST requests they have no effect on the actual
* response header. * response header.
* *
* @summary Execute Stored Program, return JSON * @summary Execute Stored Program, return JSON
* @param _program Location of SAS program * @param _program Location of SAS program
* @example _program "/Public/somefolder/some.file" * @example _program "/Public/somefolder/some.file"