nowfound

AI · August 10, 2023

AI-Powered OpenAPI Spec Generator

Hi hn! I wanted to share a simple JS script I built that uses Anthropic's Claude AI to auto-generate OpenAPI specs from code. Keeping OpenAPI specs in sync is tedious and error-prone. I was wasting too much time manually updating YAMLs. To fix this, I created a script that leverages Claude to parse source code and produce OpenAPI specs, no annotations needed. It's a gist you can copy/paste into your project: https://gist.github.com/hotkartoffel/2d2ca5a5a4ace98ca7fe87f... Feed it your code and Claude handles inferring the OpenAPI objects. I've tested it on JavaScript…

AI-Powered OpenAPI Spec Generator launched on August 10, 2023 with 5 votes, #1,919 of 4,347 launches that month and more than 50% of that year's launches. The site was not reachable when checked in September 2026.

What it does

In the maker’s words, at launch

Hi hn! I wanted to share a simple JS script I built that uses Anthropic's Claude AI to auto-generate OpenAPI specs from code. Keeping OpenAPI specs in sync is tedious and error-prone. I was wasting too much time manually updating YAMLs. To fix this, I created a script that leverages Claude to parse source code and…

Does a similar job

all alternatives →
  • Auto-generate an OpenAPI spec by listening to localhost2024 · github.com · ▲178

    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…

  • OpenAPI DevTools – Chrome extension that generates an API spec2023 · github.com · ▲811

    Effortlessly discover API behaviour with a Chrome extension that automatically generates OpenAPI specifications in real time for any app or website.

  • create-api.dev by Kong2025 · api.dev · ▲150

    Generate and share OpenAPI specs with AI

  • AG
    Auto-generate load tests/synthetic test data from OpenAPI spec/HAR file2024 · docs.multiple.dev · ▲33

    Hey HN, We just shipped a new AI-powered feature... BUT the "AI" piece is largely in the background. Instead of relying on a chatbot, we've integrated AI (with strict input & output guardrails) into a workflow to handle two specific tasks that would be difficult for traditional programming: 1. Identifying the most relevant base URL from HAR files, since it would be tedious to cover every edge case or scenario to omit analytics, tracking, and other network noise. 2. Generating synthetic data for API requests by passing the API context and faker-js functions to GPT-4. The steps are broken down…

  • A faster way to prototype your APIs using OpenAPI 3 and Swagger UI2020 · github.com · ▲77

    A generator for OpenAPI 3. Contribute to egorsmkv/openapi3-generator development by creating an account on GitHub.

  • We made a tool to help developers improve OpenAPI specs2024 · github.com · ▲105

    Hey, I'm Martyn and I recently joined Zuplo. OpenAPI is a huge part of what we do, but getting a document up to scratch out of the gate, especially if you're not super well versed in the actual specification and what you should use and when. So we built a suite of tools to help with this called Rate My OpenAPI. It will score your OpenAPI document out of 100, as well as giving you individual scores in 4 key areas; completeness, SDK generation, security and documentation. Along with the score, you also get details of what the issues, or errors are, as well as guidance on what they actually…

More ai this month

the category →
  • Video model that turns script into viral social media videos

    AI · 17d ago · spira.ai

  • The browser where Claude Code and Codex work beside you

    AI · 17d ago · rill.love

  • Kolibri is Aleph Alpha

    AI · 18d ago · tej.as

  • Paintings by AI models: programs run through a simulation of oil paint.

    AI · 20d ago · stillwet.art

  • Onepin▲384

    AI voiceover with every name, price and date said right

    AI · 30d ago · onepin.ai

  • A real-time world model you can explore and change

    AI · 28d ago · world.pixverse.video

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, August 2023

the whole month →
  • Resend▲1,325

    An entire collection of pre-built components with a much faster development experience.

    Dev tools · 2023 · resend.com

  • STORI AI▲1,316

    Your ideas become visually compelling branded social posts

    AI · 2023 · storiai.com

  • Kombai▲1,079

    A new AI model that you can prompt with UI designs

    AI · 2023 · kombai.com

  • Understand your audience without 50 interviews

    AI · 2023 · founderpal.ai

  • Lottielab▲869

    Create and ship lottie animations to sites and apps faster

    Dev tools · 2023 · lottielab.com

  • Outlines is a Python library that focuses on text generation with large language models. Brandon and I are not LLM experts and started the project a few months ago because we wanted to understand better how the generation process works. Our original background is probabilistic, relational and symbolic programming. Recently we came up with a fast way to generate text that matches a regex (https://blog.normalcomputing.ai/posts/2023-07-27-regex-guide...). The basic idea is simple: regular expressions have an equivalent Deterministic-Finite Automaton (DFA) representation. We…

    AI · 2023 · github.com