mirror of
https://github.com/sasjs/server.git
synced 2026-01-14 09:20:06 +00:00
chore: docs bug fixed
This commit is contained in:
@@ -27,6 +27,11 @@
|
|||||||
"public/**/*",
|
"public/**/*",
|
||||||
"../web/build/**/*"
|
"../web/build/**/*"
|
||||||
],
|
],
|
||||||
|
"targets": [
|
||||||
|
"node16-linux-x64",
|
||||||
|
"node16-macos-x64",
|
||||||
|
"node16-win-x64"
|
||||||
|
],
|
||||||
"outputPath": "../../executables"
|
"outputPath": "../../executables"
|
||||||
},
|
},
|
||||||
"release": {
|
"release": {
|
||||||
|
|||||||
@@ -937,7 +937,7 @@ paths:
|
|||||||
format: double
|
format: double
|
||||||
type: number
|
type: number
|
||||||
example: '6789'
|
example: '6789'
|
||||||
/SASjsApi/client/execute:
|
/SASjsApi/stp/execute:
|
||||||
get:
|
get:
|
||||||
operationId: ExecuteReturnRaw
|
operationId: ExecuteReturnRaw
|
||||||
responses:
|
responses:
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ export class SessionController {
|
|||||||
|
|
||||||
private async createSession() {
|
private async createSession() {
|
||||||
const sessionId = generateUniqueFileName(generateTimestamp())
|
const sessionId = generateUniqueFileName(generateTimestamp())
|
||||||
const sessionFolder = path.join(await getTmpSessionsFolderPath(), sessionId)
|
const sessionFolder = path.join(getTmpSessionsFolderPath(), sessionId)
|
||||||
|
|
||||||
const autoExecContent = `data _null_;
|
const autoExecContent = `data _null_;
|
||||||
/* remove the dummy SYSIN */
|
/* remove the dummy SYSIN */
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ interface ExecuteReturnJsonResponse {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Security('bearerAuth')
|
@Security('bearerAuth')
|
||||||
@Route('SASjsApi/client')
|
@Route('SASjsApi/stp')
|
||||||
@Tags('STP')
|
@Tags('STP')
|
||||||
export class STPController {
|
export class STPController {
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export const updateFileDriveValidation = (data: any): Joi.ValidationResult =>
|
|||||||
|
|
||||||
export const executeProgramRawValidation = (data: any): Joi.ValidationResult =>
|
export const executeProgramRawValidation = (data: any): Joi.ValidationResult =>
|
||||||
Joi.object({
|
Joi.object({
|
||||||
_program: Joi.string().required
|
_program: Joi.string().required()
|
||||||
})
|
})
|
||||||
.pattern(/\w\d/, Joi.string())
|
.pattern(/\w\d/, Joi.string())
|
||||||
.validate(data)
|
.validate(data)
|
||||||
|
|||||||
Reference in New Issue
Block a user