Show HN: OpenAPI DevTools – Chrome extension that generates an API spec (opens in a new tab)github.com
811 pointsEffortlessly discover API behaviour with a Chrome extension that automatically generates OpenAPI specifications in real time for any app or website.
Comments (102) 40 threads
Earlier commentsI wanted to draw your attention to "normal" POST application/x-www-form-urlencoded <https://github.com/OAI/OpenAPI-Specification/blob/3.1.0/vers...> and its multipart/form-data friend <https://github.com/OAI/OpenAPI-Specification/blob/3.1.0/vers...>
The latter is likely problematic, but the former is in wide use still, including, strangely enough, the AWS API, although some of their newer services do have an application/json protocol
I know that's a lot of words, but the tl;dr would be that if you want your extension to be application/json only, then changing the description to say "OpenAPI specifications for application/json handshakes" would help the consumer be on the same page with your goals
The result contains headers like content-length and similar.
Also it would be nice if it could factor out common schemas.
All comments shown.
Couldn't load more comments. Check your connection and try again.