community-automations/api-schema-extractor

DevOps & Mã nguồn

PublicSubagent Claude

Trình trích xuất Schema API

Rất nhiều API nội bộ không có spec, nên mỗi lần tích hợp đều bắt đầu bằng phỏng đoán và cả tá request thử. Trình trích xuất này dò API đang chạy và tự viết tài liệu cho bạn.

sonnet4 ngàyPythonOpenAIPostmanGitHub
ClaudeClaude
ROI for
README.md

Tại sao chọn subagent này

Rất nhiều API nội bộ không có spec, nên mỗi lần tích hợp đều bắt đầu bằng phỏng đoán và cả tá request thử. Trình trích xuất này dò API đang chạy và tự viết tài liệu cho bạn.

Nó suy luận tham số, cấu trúc response, và mã trạng thái từ response thực tế, dựng file OpenAPI 3.1, rồi lint trước khi commit. Bạn nhận được một spec hoạt động ngay trong pull request, sẵn sàng để review và đưa vào trình sinh client cũng như tài liệu.

Cách vận hành

    • 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.

Ví dụ đầu ra

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.