Monday, March 25, 2024
Show HN: Auto-generate an OpenAPI spec by listening to localhost https://ift.tt/3aT5n1K
Show HN: Auto-generate an OpenAPI spec by listening to localhost Hey HN! We've developed OpenAPI AutoSpec, a tool for automatically generating OpenAPI specifications from localhost network traffic. It’s designed to simplify the creation of API documentation by just using your website or service, especially useful when you're pressed for time. Documenting endpoints one by one sucks. This project originated from us needing it at our past jobs when building 3rd-party integrations. It acts as a local server proxy that listens to your application’s HTTP traffic and automatically translates this into OpenAPI 3.0 specs, documenting endpoints, requests, and responses without much effort. Installation is straightforward with NPM, and starting the server only requires a few command-line arguments to specify how and where you want your documentation generated ex. npx autospec --portTo PORT --portFrom PORT --filePath openapi.json It's designed to work with any local website or application setup without extensive setup or interference with your existing code, making it flexible for different frameworks. We tried capturing network traffic on Chrome extension and it didn't help us catch the full picture of backend and frontend interactions. We aim in future updates to introduce features like HTTPS and OpenAPI 3.1 specification support. For more details and to get started, visit our GitHub page ( https://ift.tt/IBNRtjk ). We also have a Discord community ( https://ift.tt/DStwPA1 ) for support and discussions around using OpenAPI AutoSpec effectively. We're excited to hear what you all think! https://ift.tt/IBNRtjk March 25, 2024 at 09:19PM
Subscribe to:
Post Comments (Atom)
Show HN: Check if any of the $656M in unclaimed royalties at The MLC is yours https://ift.tt/xMW14Zz
Show HN: Check if any of the $656M in unclaimed royalties at The MLC is yours https://pub.doub.ly/ August 7, 2026 at 11:05PM
-
Show HN: WebApp that blows water out of your phone's speakers https://ift.tt/2VmXkOf March 16, 2021 at 08:22AM
-
Show HN: Music player for big local collections with mpd support mpz is a C++/Qt music player focused on UX, with derectory tree and playlis...
-
Show HN: Stickerbox, a kid-safe, AI-powered voice to sticker printer Bob and Arun here, creators of Stickerbox. If AI were built for kids, w...
No comments:
Post a Comment