Merge pull request #172 from giovannibotta/master

Minor change to map used when generating supporting files
This commit is contained in:
Tony Tam 2014-03-19 08:27:49 -07:00
commit 2fba96713c

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
})
})