Paul Dhaliwal
07/20/2021, 2:11 AMgammax
07/20/2021, 9:21 AMPaul Dhaliwal
07/20/2021, 1:50 PMgammax
07/20/2021, 1:54 PMPaul Dhaliwal
07/20/2021, 1:55 PMprivate val {{#lambda.camelcase}}{{name}}{{httpMethod}}{{classname}}{{/lambda.camelcase}} = {{lambda.titlecase}}{{httpMethod}}{{classname}}(){{labda.titlecase}}
would generate:
private val getPetApi = GetPetApi()
Since with kotlin you can have classes and interfaces and whatever else all mixed into a certain .kt file, I was planning on using the api moustache file to generate all the code, and in the correct format, that allows it to work with the design of our sdk. Hope that makes sense.Paul Dhaliwal
07/20/2021, 1:55 PMgammax
07/20/2021, 1:56 PM