4 ms·
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 t
by ezekg 4y ago
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. :)
- bryan_cooper 4y agoSwagger does a good job of this with a little help from decorators in Typescript
- kurtbuilds 4y agoAre 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/alufers/mitmproxy2swagger - https://github.com/adafruit/openapi-mitm https://github.com/adafruit/openapi-mitm
- ndimares 4y agoWe 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 https://www.loom.com/share/c5b242d25de84e1d95b03fd35eab7099