summaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex
diff options
context:
space:
mode:
Diffstat (limited to 'gui-editors/gui-editor-apex')
-rw-r--r--gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ApexEditorRestResource.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ApexEditorRestResource.java b/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ApexEditorRestResource.java
index b86df28..009a570 100644
--- a/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ApexEditorRestResource.java
+++ b/gui-editors/gui-editor-apex/src/main/java/org/onap/policy/gui/editors/apex/rest/handling/ApexEditorRestResource.java
@@ -215,9 +215,10 @@ public class ApexEditorRestResource implements RestCommandHandler {
/**
* Download the model for this session as a String.
*
- * @return the model represented as a JSON string. See {@code AxPolicyModel}
+ * @return the model represented as a YAML string. See {@code AxPolicyModel}
*/
@GET
+ @Produces(MediaType.TEXT_PLAIN)
@Path("Model/Download")
public String downloadModel() {
ApexApiResult result = processRestCommand(RestCommandType.MODEL, RestCommand.DOWNLOAD);