Malte
06/06/2023, 12:51 PMupdated_after
. is it possible to declare it in the API describing class like updatedAfter
and maybe add an annotation so the correct name is used on request?Aleksei Tirman [JB]
06/06/2023, 1:13 PMSerialName
annotation to keep the camel-cased property name and the snake-cased parameter name:
@Resource("/path")
class MyClass(@SerialName("updated_after") val updatedAfter: String)
Malte
06/06/2023, 1:14 PM