This is an automated email from the ASF dual-hosted git repository.
sgoeschl pushed a commit to branch FREEMARKER-144
in repository https://gitbox.apache.org/repos/asf/freemarker-generator.git
The following commit(s) were added to refs/heads/FREEMARKER-144 by this push:
new 4283c06 FREEMARKER-144 Proof Of Concept for providing DataFrames
4283c06 is described below
commit 4283c06be8fcd54a7505b81dd4c4a029ad268713
Author: Siegfried Goeschl <[email protected]>
AuthorDate: Mon Jun 1 10:14:35 2020 +0200
FREEMARKER-144 Proof Of Concept for providing DataFrames
---
freemarker-generator-cli/run-samples.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/freemarker-generator-cli/run-samples.sh
b/freemarker-generator-cli/run-samples.sh
index d760145..99a64d4 100755
--- a/freemarker-generator-cli/run-samples.sh
+++ b/freemarker-generator-cli/run-samples.sh
@@ -50,7 +50,7 @@ $FREEMARKER_CMD -i
'${JsonPathTool.parse(DataSources.first).read("$.info.title")
$FREEMARKER_CMD -i
'${XmlTool.parse(DataSources.first)["recipients/person[1]/name"]}'
site/sample/xml/recipients.xml > target/out/interactive-xml.txt || { echo >&2
"Test failed. Aborting."; exit 1; }
$FREEMARKER_CMD -i '${JsoupTool.parse(DataSources.first).select("a")[0]}'
site/sample/html/dependencies.html > target/out/interactive-html.txt || { echo
>&2 "Test failed. Aborting."; exit 1; }
$FREEMARKER_CMD -i '${GsonTool.toJson(YamlTool.parse(DataSources.get(0)))}'
site/sample/yaml/swagger-spec.yaml > target/out/interactive-swagger.json || {
echo >&2 "Test failed. Aborting."; exit 1; }
-$FREEMARKER_CMD -i '${YamlTool.toYaml(GsonTool.parse(DataSources.get(0)))}'
site/sample/json/swagger-spec.json > target/out/interactive-swagger.yaml || {
echo >&2 "Test failed. Aborting."; exit 1; }
+$FREEMARKER_CMD -i '${YamlTool.toYaml(GsonTool.toMap(DataSources.get(0)))}'
site/sample/json/swagger-spec.json > target/out/interactive-swagger.yaml || {
echo >&2 "Test failed. Aborting."; exit 1; }
#############################################################################
# CSV