Github: github.com/YMFE/yapi

YApi v1.3.23 released with the following features:

  • Added the interface tag function
  • Data import addedIntelligent merge modefunction
  • Added the function of importing parameters in batches
  • Json Schema visual editor adds mock functionality, which integrates with Ali’s MockJS

Bright spot

Smart merger

Many people have reported that the second import of Swagger data overwrites the previous data, causing the previous definition to be lost. This version solves the problem by intelligent merging.

The basic strategy is as follows:

The data imported for the first time is modified as follows:

{
    "type": "string"."message": ""."mock": {
        "mock": "@email"}}Copy the code

When importing again, the data is as follows:

{
    "type": "string"."message": "Email",}Copy the code

The combined data is as follows:

{
    "type": "string"."message": "Email"."mock": {
        "mock": "@email"}}Copy the code

Mock JS integrated with Ali

The mock is now defined here and supports all of the MockJS syntax

Added the interface tag function

You can use the filtering function to view the interface with a specified tag:

YApi aims to solve the problem of interface management in various functions of the company for many years. It aims to provide developers with unified interface management, Mock services, and help developers easily maintain and test apis. The goal and expectation of YApi is to connect the front end, back end, and QA together to maintain a set of apis.

We have opened yAPI on Github (YMFE/ YAPI). In more than half a year, we have received a lot of praises and likes. At present, Github star is over 3900, and more than 500 issues have been solved.