bruno
bruno copied to clipboard
[Feature] Generating Type definitions for APIs to be used by the frontend Typescript app
I proposed to my team that we start using Bruno for collaborating on API specs. But there's a preference for using Swagger. One of the reasons is that with Swagger, the frontend devs get type definitions which they can directly import and rely on for ensuring type-safety when using the APIs.
- https://openapi-generator.tech/
- https://github.com/acacode/swagger-typescript-api
Can the same be enabled with the source of truth for API specs is in Bruno's markup language?
Generate types for each language, which I think is a necessary feature
Another tool suggestion: https://github.com/glideapps/quicktype I believe Hoppscotch is using that, and the results are pretty good!