Using ChatGPT to Generate a Retrofit API Client Automatically

preview_player
Показать описание

I've been manually writing proxies for Spring WebMVC clients to show my students, but until yesterday hadn't used Retrofit (which generates proxies automatically) since I didn't have time to read the Retrofit documentation and convert my code. By using ChatGPT I was able to rapidly generate the Retrofit proxies automatically and integrate this generated code into my example Spring WebMVC application, which saved me hours--if not days--of plowing through Retrofit documentation trying to do this transition manually with tedious and error-prone trial-and-error.

Рекомендации по теме
Комментарии
Автор

Thank you for this example with back and forth with ChatGPT.

viCoN
Автор

ChatGPT with the respective future OS will suffice most scenario

hubstrangers