When making crMEb-Java open source mall system, our team used UNI-App, which is also a popular mobile terminal development technology, which involves the separation of front and back ends. Generally, Swagger will be used when developing front and back end separation projects using JAVA. Swagger is a framework for generating, describing, invoking, and visualizing RESTful Web API services. Swagger makes it easy to deploy and manage powerful apis, but only in small projects with few APIS.
With the continuous optimization of crMEB-Java open source mall system, increasing functions, and the separation of front and back ends, the number of interfaces once exceeded more than 200, which makes some user experience in the system become worse and worse, such as: If the submitted parameter is JSON, it cannot be formatted. If the parameter is wrong, it is difficult to find. The returned result cannot be folded.Copy the code
Knife4j: Swagger knife4J: Swagger knife4J: Swagger knife4J: Swagger knife4J: Swagger knife4J: Swagger knife4J: Swagger knife4J: Swagger knife4J: Swagger knife4JCopy the code
We want Knife4J to be small, lightweight, and powerful as a dagger, and we want it to be a universal solution for Swagger interface documentation, not just a front-end Ui front end. Here’s a sneak peek of Knife4J optimized Swagger on the project:
The most important thing is that the search box can search the relevant API interface for quick query, and can debug the interface online, and then come to a picture to show!
CRMEB_java open Source store v1.2.1 will be released today. SMS background update, update the supplier 2. Replace kinfe4 = > is the official document swagger doc.xiaominfo.com/knife4j 3. Add necessary materials for commodity classification, which can be maintained after the picture service is configured
Source code free download address: github.crmeb.net/u/defu
Don’t be stingy with your rich hands, give the project a Start oh, thank you!