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/PDHupxo ). We also have a Discord community ( https://ift.tt/DZ1PKMJ ) for support and discussions around using OpenAPI AutoSpec effectively. We're excited to hear what you all think! https://ift.tt/PDHupxo March 25, 2024 at 09:19PM
Show HN: Auto-generate an OpenAPI spec by listening to localhost https://ift.tt/kYUrT2M
Related Articles
Show HN: Ros2_utils_tool, a powerful GUI toolset for ROS2-based utilities https://ift.tt/wlZ5RIBShow HN: Ros2_utils_tool, a powerful GUI toolset for ROS2-based utilit… Read More
Show HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2 https://ift.tt/iyRzJrjShow HN: Iterm-Mcp – AI Terminal/REPL Control for iTerm2 Hi HN! Ever w… Read More
Show HN: I built a SaaS thanks to my wife https://ift.tt/LbKSNqoShow HN: I built a SaaS thanks to my wife I’m Michał, and I’d like to … Read More
Show HN: Mcp-Agent – Build effective agents with Model Context Protocol https://ift.tt/kxRhUASShow HN: Mcp-Agent – Build effective agents with Model Context Protoco… Read More
Show HN: Audiocube – A 3D DAW for Spatial Audio https://ift.tt/Mc2UzyJShow HN: Audiocube – A 3D DAW for Spatial Audio I’ve recently released… Read More
Show HN: Cdlog: nicer directory navigation for Bash https://ift.tt/Tzcxa41Show HN: Cdlog: nicer directory navigation for Bash https://ift.tt/2Gv… Read More
Show HN: Workflow86 - An AI business analyst and automation engineer https://ift.tt/UysVDmoShow HN: Workflow86 - An AI business analyst and automation engineer H… Read More
Show HN: I made a price aggregator to find the best PC parts deals across eBay https://ift.tt/iJaVKs6Show HN: I made a price aggregator to find the best PC parts deals acr… Read More
0 Comments: