Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 :)



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.


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/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: