community-automations/api-schema-extractor

DevOps & Kod

PublicClaude-subagent

API-schema-extraherare

Många interna API:er har ingen specifikation, så varje integration börjar med gissningar och en flik full av testanrop. Den här extraktorn sonderar live-API:et och skriver dokumentet åt dig.

sonnet4 dagarPythonOpenAIPostmanGitHub
ClaudeClaude
ROI for
README.md

Varför denna subagent

Många interna API:er har ingen specifikation, så varje integration börjar med gissningar och en flik full av testanrop. Den här extraktorn sonderar live-API:et och skriver dokumentet åt dig.

Den härleder parametrar, responsformer och statuskoder från verkliga svar, sätter ihop en OpenAPI 3.1-fil och lintar den innan den committas. Du får en fungerande specifikation i en pull request, redo att granska och mata in i dina klientgeneratorer och din dokumentation.

Så kör den

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

Exempel på output

json
// Sample output
// (generated when the pipeline finishes)

Given an API base URL and sample calls, probe the endpoints and return a valid, linted OpenAPI 3.1 document describing paths, parameters, and response schemas.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.