diff --git a/pkg/api/controllers/swagger.yaml b/pkg/api/controllers/swagger.yaml index fde4934af..c41bedd25 100644 --- a/pkg/api/controllers/swagger.yaml +++ b/pkg/api/controllers/swagger.yaml @@ -165,6 +165,11 @@ paths: required: true schema: type: string + - name: preview + in: query + description: Preview mode + schema: + type: boolean requestBody: description: script content: @@ -479,6 +484,8 @@ components: enum: - INTERNAL - INSUFFICIENT_FUND + - COMPILATION_FAILED + - NO_SCRIPT error_message: type: string transaction: