mirror of
https://github.com/sasjs/server.git
synced 2026-04-09 15:13:13 +00:00
chore(docs): updating swagger definitions
This commit is contained in:
@@ -27,8 +27,8 @@ interface ExecuteCodePayload {
|
||||
@Tags('Code')
|
||||
export class CodeController {
|
||||
/**
|
||||
* Execute SAS code.
|
||||
* @summary Run SAS Code and returns log
|
||||
* Execute Code on the Specified Runtime
|
||||
* @summary Run Code and Return Webout Content and Log
|
||||
*/
|
||||
@Post('/execute')
|
||||
public async executeCode(
|
||||
|
||||
@@ -50,7 +50,7 @@ export class STPController {
|
||||
* https://server.sasjs.io/storedprograms
|
||||
*
|
||||
*
|
||||
* @summary Execute a Stored Program, return a JSON object
|
||||
* @summary Execute a Stored Program, returns _webout and (optionally) log.
|
||||
* @param _program Location of code in SASjs Drive
|
||||
* @example _program "/Projects/myApp/some/program"
|
||||
*/
|
||||
@@ -92,7 +92,7 @@ const execute = async (
|
||||
)
|
||||
|
||||
if (result instanceof Buffer) {
|
||||
;(req as any).sasHeaders = httpHeaders
|
||||
; (req as any).sasHeaders = httpHeaders
|
||||
}
|
||||
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user