commit | 61dd78b3d3ecae1797ffccf0644c5b62469a4e1d | [log] [tgz] |
---|---|---|
author | Liam Fallon <liam.fallon@est.tech> | Mon Feb 14 16:43:49 2022 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Mon Feb 14 16:43:49 2022 +0000 |
tree | 0f54f9d1bb69dc696e00669c34d99322ababc153 | |
parent | b40cc09d5184b83da124b82e761edbfa9c44baeb [diff] | |
parent | 46b907c37466c5a016743a30e9c41ce04b08cf52 [diff] |
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);