[Kotlin][Client] Request date converter (#4750)

* Added new cli option to define the request date converter

* Fixed a few build errors

* Update api.mustache

* Fixed api mustache

* Removed unused import

* Fixing mustache templates

* Tweaking mustache templates

* Added sample and new bat file

TODO create new openapi 2.0 source file to simulate the datestring via schema.

* Tweaking mustache templates

* Updated templates and samples

* Fixed build error

* Updated samples

* Fixed path
This commit is contained in:
Alexander Eggers
2019-12-18 13:22:29 +11:00
committed by William Cheng
parent 0ae1ea68fb
commit bb93a3b1e2
53 changed files with 3557 additions and 4 deletions

View File

@@ -170,4 +170,8 @@ open class ApiClient(val baseUrl: String) {
)
}
}
protected inline fun <reified T: Any> parseDateToQueryString(value : T): String {
return value.toString()
}
}