Minor change to map used when generating supporting files.

This commit is contained in:
giodude 2014-03-19 11:18:23 -04:00
parent 8d74029fba
commit dccf8edc25

View File

@ -567,7 +567,7 @@ class Codegen(config: CodegenConfig) {
"className" -> config.toApiName(a._1._2),
"basePath" -> a._1._1,
"operations" -> {
(for (t <- a._2) yield { Map("operation" -> t._2, "path" -> t._1) }).toList
(for (t <- a._2) yield { Map("operation" -> apiToMap(t._1, t._2), "path" -> t._1) }).toList
})
})