3 ms·
I mentioned this elsewhere yesterday, but I've used it to do things like stub out an API -- I tell it what I'm making, what endpoints I think I need, and ask if
by jwestbury 3y ago
I mentioned this elsewhere yesterday, but I've used it to do things like stub out an API -- I tell it what I'm making, what endpoints I think I need, and ask if there's anything obvious I'm missing. Sometimes it gives me some ideas for additional endpoints. Then it implements stubs for every endpoints and all the associated code and I'm ready to start adding actual logic.
There are sometimes tools available for this, but the nice thing about ChatGPT is that it's effectively a single tool that can be used for any reasonably well-known API framework in any language.
- pylua 3y agoStubbing out endpoints is not usually a task that takes a long time and usually the code is auto generated from a mechanism like openapi. I could see it generating out an openapi file but there are already so many templates out there to start from it does not make sense to use ai for this, in my opinion.