Comment on Show HN: Stripe-quality API client libraries with a single button clickComments−ezekg4ySeems to only work for APIs with an OpenAPI spec. Anybody know of a service that can generate an OpenAPI spec for an API that doesn't have one? And keep it up to date. :)−ndimares3yWe built something like this. SDK you can drop into your API code, then we generate an OpenAPI spec based off of your traffic. Demo here: https://www.loom.com/share/c5b242d25de84e1d95b03fd35eab7099−kurtbuildsOP4yAre there APIs you have in mind?One tool we have under development is a tool (might end up being a chrome extension) that will analyze web requests to turn them into a spec.There are a few tools that are similar in purpose, though I've only seen ones based on proxying, rather than chrome's network request recording.- https://github.com/alufers/mitmproxy2swagger- https://github.com/adafruit/openapi-mitm−bryan_cooper4ySwagger does a good job of this with a little help from decorators in Typescript
Comments
Seems to only work for APIs with an OpenAPI spec. Anybody know of a service that can generate an OpenAPI spec for an API that doesn't have one? And keep it up to date. :)
We built something like this. SDK you can drop into your API code, then we generate an OpenAPI spec based off of your traffic. Demo here: https://www.loom.com/share/c5b242d25de84e1d95b03fd35eab7099
Are there APIs you have in mind?
One tool we have under development is a tool (might end up being a chrome extension) that will analyze web requests to turn them into a spec.
There are a few tools that are similar in purpose, though I've only seen ones based on proxying, rather than chrome's network request recording.
- https://github.com/alufers/mitmproxy2swagger
- https://github.com/adafruit/openapi-mitm
Swagger does a good job of this with a little help from decorators in Typescript