• Spring boot (15): elegant use of the API documentation tool swagger2


    1. introduction You must have been tortured by interface documents in the development process. Due to the lightweight and low coupling of restful interface, we did not update the documents in time after modifying the interface, resulting in frequent complaints from the interface callers (both front-end and back-end) about the inconsistency between the interface and […]

  • . net core using swagger to manage API interface documents


    1、 Problem background With the development of technology, the current development mode has shifted more to the mode of front-end and back-end separation. In the process of front-end and back-end development, the way of contact has also become the API interface. However, at present, the management of the API in the project is often done […]

  • Spring boot2 series of tutorials (XVII) spring boot integration swagger2


    After the front and back ends are separated, it is essential to maintain the interface documents. An ideal state is that after the design is completed, the interface documents will be sent to the front-end and back-end, and each of them will develop according to the established rules. After the development is completed and connected, […]

  • Swagger upload file and support JWT authentication


    What is swagger? The goal of swagger is to define a standard language independent interface for rest APIs, so that people and computers can discover and understand the functions of various services without seeing the source code, documents or network traffic detection. When services are defined by swagger, consumers can interact with remote services through […]

  • How to use swagger to upload files


    Preface With the popularity of front-end and back-end separation development mode, the back-end personnel are more likely to write service-end API interfaces. It is a common function to call the interface to realize file upload. At the same time, an interface to select file upload is also needed. You can write a front-end interface to […]

  • Java | spring boot swagger2 integrates rest full API to generate interface documents


    Spring boot swagger2 integrates rest full API to generate interface documents original text brief introduction Due to the characteristics of spring boot, it is very easy to develop restful API, and it is convenient to generate restful API documents automatically with swagger. Swagger is a simple but powerful API expression tool. The corresponding version of […]

  • [springboot development monomer web shop] 4. Swagger generates Javadoc


    Swagger generates Javadoc In our daily work, especially in the current front-end and back-end separation mode, the provision of interfaces causes the communication between our front-end and back-end developers.The cost has been greatly increased, because the communication is not in place, and the events caused by the untimely [currency tearing] have become daily work. Especially […]

  • Using API auto generation tool to optimize front-end workflow


    In the work, our front-end workflow generally starts after the front and back end negotiate the API document, then we do mock simulation data for the API document, and then we use the mock to develop it. After the back-end development, we change the base URL of the API data to switch to the formal […]

  • Springboot integrate swagger


    Source address:https://github.com/laolunsi/spring-boot-examples At present, springboot is often used to develop java web applications, especially the front and back separation projects. In order to facilitate communication between front and back-end developers, we introduced swagger in spring boot. Swagger works on the interface to visualize the interface data, especially for restful API This section is divided into […]

  • . net core2.1 webapi new swagger plug in details


    Explain Swagger is a webapi online annotation and debugging plug-in. In the past, we mainly wrote interaction documents for front-end developers or external developers by hand, Official website address: https://swagger.io/. But in the actual work, our document work usually lags behind the actual environment, which leads to the inconsistency between the document and the actual […]

  • Wizard open source document management system 1.0 released


    Wizard is an open source document management system. The project address is https://github.com/mylxsw/wizard. I started to develop this project in 2017. At first, I just wanted to make a tool to manage swagger documents within the company. But in the past two years, I have been adding various functions intermittently. Now I am determined to […]

  • Note Asp.Net Core Swagger’s Method of Using and Processing with Domain Interface


    Quote the author’s original words: Asp. Net’s Web Api using Swagger as a page for description and testing is very good, compared with Web Api Test Client, at least in the interface of a great improvement. But when using Swagger, it’s OK to just put the general controller directly under Controller, but it can’t be […]