Author: Paolo Lulli <paolo@lulli.net>
responses in YML
server/rest/outputs.go | 2 +-
diff --git a/server/rest/outputs.go b/server/rest/outputs.go index 7508894f945d35723cddbed7cd06d0b71f21712b..6efbc16f2568b42d96ed5a21cafe3baf33acbaef 100644 --- a/server/rest/outputs.go +++ b/server/rest/outputs.go @@ -7,6 +7,6 @@ formatted := false if formatted { c.IndentedJSON(status, h) } else { - c.XML(status, h) + c.YAML(status, h) } }