Some typedef generating recurrent dependency if they not defined as model
If path and query parameters has the same name then generation makes variables of the same name. That is not an expected output.
Retrofit generating toJson for Date and Object types.
The solutions:
If typedef generation then replace possible this and Object to String
Added prefixes to client parameters equal to annotation name.
Added generation of extension for Date class and imported it in every client
TODO:
1.1. Research if it breaks anything
1.2. Make it for Kotlin generation if needed
2.1. Make it optional with control via hyperparameters
2.2. Handle situation when there are multiple parameters with same name. rfc3986 not denying this.
3.1. Import extension only in classes that requiring it.
The problems:
The solutions:
this
andObject
toString
TODO: 1.1. Research if it breaks anything 1.2. Make it for Kotlin generation if needed
2.1. Make it optional with control via hyperparameters 2.2. Handle situation when there are multiple parameters with same name. rfc3986 not denying this.
3.1. Import extension only in classes that requiring it.