Using ChatGPT to Generate a Retrofit API Client Automatically

Veröffentlicht am: 19 Februar 2023
auf dem Kanal: Douglas Schmidt
628
8

This video walks through an example of applying ChatGPT to generate a Retrofit API client automatically based on a Java Spring WebMVC controller created for my CS 891 class at Vanderbilt (see http://www.dre.vanderbilt.edu/~schmid... for all the material in this class).

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.

All source code shown in this video (both hand-written and auto-generated by ChatGPT) is available in open-source form from https://github.com/douglascraigschmid....


Auf dieser Seite können Sie das Online-Video Using ChatGPT to Generate a Retrofit API Client Automatically mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Douglas Schmidt 19 Februar 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 628 Mal angesehen und es wurde von 8 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!