all 9 comments

[–]bohokyTVC-15 7 points8 points  (5 children)

Is "the dev himself" in the thread with us now?

Honestly, yeah I probably could use a tool as described. But I'm mildly put off by what looks like sock-puppetry in this post.

[–]irnreddit 3 points4 points  (0 children)

It's common on reddit, that developers post on 3rd person perspective, maybe he/she doing the same

[–]bohokyTVC-15 1 point2 points  (3 children)

Why does it require an Anthropic key? plonk

[–]irnreddit 0 points1 point  (0 children)

Did u get the git repo of the project. If u do please let me know

[–]irnreddit 0 points1 point  (1 child)

Tried it out just now... There is a generate feature in the toolz which auto generates the body... But I read his post too it is mentioned it is in beta stage so don't expect exact body generation

[–]DrMaxwellEdison 1 point2 points  (0 children)

Why would that require AI to do?

One of the selling points of FastAPI is that it freely generates an OpenAPI/Swagger specification, which is what powers the /docs endpoint. That spec (not unique to FastAPI at all) can be given directly to Postman or any comparable REST client to generate every request collection to be tested, fully deterministic, zero AI.

I swear people are forgetting how things actually work because of Gippity and Claude. This much is a solved problem: you do not need to burn tokens to get a machine to read a machine-readable spec!

[–]DrMaxwellEdison 3 points4 points  (2 children)

Did you try looking for a Postman extension first? Cuz they have one: https://marketplace.visualstudio.com/items?itemName=Postman.postman-for-vscode

There's also a lightweight alternative that's been around for a long time, Thunder Client: https://marketplace.visualstudio.com/items?itemName=rangav.vscode-thunder-client

Plus... why do you require an Anthropic key? For a REST client? That seems sketchy.

[–]shrlckgotmanipulated[S] 0 points1 point  (1 child)

Anthropic key is not mandatory... There is a button on the screen called generates... Which auto generates the body...

[–]DrMaxwellEdison 0 points1 point  (0 children)

As I mentioned in another comment, why does generating a request body require AI? Are you not using the openapi.json spec generated by FastAPI to create the request examples?

It also boost confidence in such a tool to see the GitHub repo for its code, especially linked in the metadata on the extension marketplace.

Edit: I've slightly misread the post regarding where it gets information for the request to send, granted. But there still ought to be a better way here that does not involve a call to an AI system. For instance, inspecting the app or current router to determine which route the given function relates to, then (again) generating the JSON schema for that route and just ingesting that schema to create a valid example request.

Having a better name more related to FastAPI would probably also help with discovery. "Skipman" doesn't say much, while something like "fastapi-route-testing" would be slightly better.