News for hackers. Stuff that matters.
Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by notcrazylol on Thursday January 02, 2025 @04:59AM (#42573164)
Probably a dumb question but if my web app uses graphql, how would I go about with the swagger generation?(since its just one endpoint)

Thank you for sharing this though, I was looking for a tool like this :)

Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by alp1n3_eth on Thursday January 02, 2025 @11:16AM (#42575723)
Have you tried something like GraphQL playground before? https://github.com/graphql/graphql-playground

There's other tools out there that can generate similar docs or playgrounds, given you have a schema/spec of some type.

Re:Show HN: API Parrot – Automatically Reverse Engineer HTTP... by rat87 on Thursday January 02, 2025 @01:39PM (#42577311)
Why would you use swagger/openapi? My understanding is that graphql has its own schema system that's supposed to be returned by the server when the client requests it.

https://graphql.org/learn/schema/