# YMFE/yapi

YApi 是一个可本地部署的、打通前后端及QA的、可视化的接口管理平台

Repository: https://github.com/YMFE/yapi
Canonical: https://ross.abutalabs.com/products/yapi
Homepage: http://yapi.smart-xwork.cn/
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: api, api-manager, api-management, api-test
Last push: 2024-08-12T09:29:34+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3747, "days_push": 751, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 27723, forks 4823 (observed 2026-08-28T04:11:47.994412+00:00)

## What it is
YApi is a self-hostable, visual API management platform for defining, documenting, mocking, and testing HTTP interfaces across developers, product managers, and QA. It supports Json5/Mockjs-based response schemas, a Postman-like debugger, automated response-assertion tests, and imports from Postman, HAR, and Swagger.

## Use cases
- manage and document rest apis for frontend and backend teams
- mock api responses before the backend is implemented
- run automated api tests with response assertions
- import existing swagger or postman collections
- self-host api docs on an intranet for security

## When to choose
- you need a self-hosted, visual API documentation and mock server
- your team wants combined API docs, debugging, and automated testing in one tool
- you want to import Swagger/Postman/HAR definitions

## When to avoid
- you need a lightweight code-only spec tool like OpenAPI without a server
- you require actively maintained software with recent security patches
- you only need simple client-side HTTP debugging

## Facets
- artifact type: application
- maturity: maintenance
- function: api-framework, mock-api, testing, documentation, api-documentation
- domain: apis, developer-tools, web-development, testing, documentation
- platform: self-hosted
- tags: api-management, mock-server, swagger-import, postman-alternative, api-testing, self-hosted, nodejs, web-server, docker

## Member repositories
- YMFE/yapi (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:47.994412+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:54:29.598894+00:00, confidence not recorded.
  - readme: https://github.com/YMFE/yapi (fetched 2026-08-28T04:11:47.994412+00:00, sha b1f8392fb897)
- Data as of 2026-08-30T08:39:29.467469+00:00.
