# ymfe/yapi

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/ymfe-yapi).**

27,722 stars · 4,826 forks · JavaScript · Apache-2.0

## Links

- GitHub: https://github.com/YMFE/yapi
- Homepage: http://yapi.smart-xwork.cn/
- awesome-repositories: https://awesome-repositories.com/repository/ymfe-yapi.md

## Topics

`api` `api-management` `api-manager` `api-test`

## Description

yapi is an API management platform designed to coordinate the development of RESTful APIs between frontend, backend, and quality assurance teams. It functions as a centralized system for documenting interface specifications, simulating server responses, and validating requests through a built-in testing client.

The platform features an API code generator that transforms interface specifications into typed request functions and data models across multiple programming languages. It also includes a mock server capable of generating synthetic responses using schema-based generators and rule-based simulation.

The system provides tools for interface documentation, automated API testing with response assertions, and an importer for migrating definitions from formats such as Postman and Swagger. User access to these resources is managed via a flat-hierarchy permission system.

## Tags

### Development Tools & Productivity

- [API Development Platforms](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools/api-lifecycle-management/api-development-platforms.md) — Provides a unified platform for documenting, testing, and coordinating the full RESTful API development lifecycle across teams.
- [Collaborative API Documentation](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools/api-lifecycle-management/api-development-platforms/api-documentation-tools/collaborative-api-documentation.md) — Provides a visual interface for teams to share, edit, and synchronize API documentation and collections in real-time.
- [Collaborative API Workspaces](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools/api-lifecycle-management/collaborative-api-workspaces.md) — Provides shared workspaces for teams to synchronize API collections, documentation, and environment configurations. ([source](https://github.com/ymfe/yapi#readme))
- [API Documentation](https://awesome-repositories.com/f/development-tools-productivity/api-documentation.md) — Provides a platform for creating and maintaining visual specifications for API endpoints to coordinate development.
- [API Code Generators](https://awesome-repositories.com/f/development-tools-productivity/api-code-generators.md) — Produces typed request functions and data models in multiple languages from interface specifications.
- [API Testing Tools](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools/api-testing-tools.md) — Ships a tool for running automated test suites against endpoints and validating results with response assertions. ([source](https://github.com/ymfe/yapi#readme))
- [Debugging and Inspection Tools](https://awesome-repositories.com/f/development-tools-productivity/debugging-profiling-testing/debugging-diagnostics/debugging-inspection-tools/debugging-and-inspection-tools.md) — Includes a built-in client for sending requests to endpoints and inspecting responses to troubleshoot errors. ([source](https://github.com/ymfe/yapi#readme))
- [API Specification Importers](https://awesome-repositories.com/f/development-tools-productivity/project-imports/external-file-importers/api-specification-importers.md) — Parses external API formats like Postman and Swagger to migrate specifications into the internal data model.

### Software Engineering & Architecture

- [API Coordination Frameworks](https://awesome-repositories.com/f/software-engineering-architecture/api-coordination-frameworks.md) — Coordinates API design, documentation, and testing across frontend, backend, and QA teams to ensure consistent integration.
- [Interface Registries](https://awesome-repositories.com/f/software-engineering-architecture/interface-registries.md) — Stores API specifications in a shared database to synchronize definitions across frontend, backend, and testing teams.
- [API Client Generators](https://awesome-repositories.com/f/software-engineering-architecture/api-client-generators.md) — Automatically generates type-safe client code and models from API interface specifications for multiple languages.
- [External Importers](https://awesome-repositories.com/f/software-engineering-architecture/api-contract-definitions/external-importers.md) — Provides utilities to migrate API interface data from external formats like Postman, HAR, and Swagger. ([source](https://github.com/ymfe/yapi#readme))

### Data & Databases

- [API Specification Managers](https://awesome-repositories.com/f/data-databases/api-specification-managers.md) — Ships a system for creating and maintaining visual API interface specifications using structured data definitions. ([source](https://github.com/ymfe/yapi#readme))

### Testing & Quality Assurance

- [API Endpoint Testing](https://awesome-repositories.com/f/testing-quality-assurance/api-endpoint-testing.md) — Ships a built-in request runner for interactive endpoint debugging and executing automated test suites with assertions.
- [Schema-Driven Mocking](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/dependency-mocking/automated-mock-generation/schema-driven-mocking.md) — Produces synthetic API responses by mapping structured data definitions to random value generators based on defined types.

### Web Development

- [API Mocking Servers](https://awesome-repositories.com/f/web-development/api-mocking-servers.md) — Implements a mock server that simulates endpoint responses based on specifications to decouple frontend and backend development. ([source](https://github.com/ymfe/yapi#readme))
- [Type-Safe Client Generators](https://awesome-repositories.com/f/web-development/api-client-generators/type-safe-client-generators.md) — Creates typed request functions and data models in multiple languages based on defined interface specifications. ([source](https://github.com/ymfe/yapi#readme))

### Networking & Communication

- [API Response Simulators](https://awesome-repositories.com/f/networking-communication/network-traffic-processors/api-response-simulators.md) — Returns specific mock payloads when incoming requests match predefined criteria or path patterns.

### Part of an Awesome List

- [Interface Management](https://awesome-repositories.com/f/awesome-lists/devtools/interface-management.md) — Visual interface management platform for teams.
