mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-05 07:01:01 +00:00
Merge pull request #172 from giovannibotta/master
Minor change to map used when generating supporting files
This commit is contained in:
commit
2fba96713c
@ -567,7 +567,7 @@ class Codegen(config: CodegenConfig) {
|
|||||||
"className" -> config.toApiName(a._1._2),
|
"className" -> config.toApiName(a._1._2),
|
||||||
"basePath" -> a._1._1,
|
"basePath" -> a._1._1,
|
||||||
"operations" -> {
|
"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
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user