Merge "Fix content-type for model download in Apex Editor"
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 @@
     /**
      * 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);