Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

v2.0.1

Compare
Choose a tag to compare
@amazing-gao amazing-gao released this 21 Apr 03:58
· 39 commits to master since this release
575486e

Sorry, 1.x can not be easily upgraded to 2.0 for the sake of simplicity, elegance, maintainability, and extendibility. I want to build a good project, to solve some of the problems we actually encounter better.

If you are using the following features, please migrate as the document says.

Features

  • Built-in Swagger-UI, easy to view and debug
  • Support OpenAPI/Swagger2.0 specification with yaml or json file
  • More friendly and convenient api doc splitting solution
  • Plugin system. Middleware loader, form validator, response handler, error handler supported as plugin
  • Inherit from [Koa-Router][koa-router], maintain the original function, features and performance

Migration

If you are not a 1.x user, please skip this section directly.
If you are a 1.x user and want to upgrade to version 2.0, I'm sorry that you will not upgrade to version 2.0 easily. Please read this Migration carefully and follow the operation manual to upgrade.