• Asp.net core webapi uses swagger to generate help page instances


    Recently, our team has been carrying out the transformation of. Net core, and web development has evolved towards the technical architecture of front-end and back-end separation. Our background mainly adopts asp.net core webapi for development. At the beginning, this problem of low efficiency exists in each debugging and communication with front-end personnel. Once, when looking […]

  • ASP.NetCore Using swagger


    What is swagger? What is swagger? How to use swagger About swagger What is swagger It enables people and computers to discover and understand the functions of various services without seeing the source code or documents or passing the network traffic detection. Swagger ™ The goal is to define a standard, language independent interface for […]

  • Analysis of the integration process of springboot with swagger


    This article mainly introduces the integration of springboot swagger process analysis, the article through the example code is very detailed, for everyone’s study or work has a certain reference learning value, need friends can refer to Springboot integrated with swagger 1、 pom.xml To introduce: <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.9.2</version> </dependency> 2. […]

  • Methods and problems of using swagger in asp.net core 3.0


    Intro# Last time, I updated asp.net core 3.0 to simply record the usage of swagger. The API of that project is relatively simple. All anonymous interfaces do not involve authentication and API version control. Recently, I upgraded another API project to 3.0, or encountered some problems. Here’s a single article to avoid stepping on the […]

  • The complete steps of ASP. Net core using swagger to generate API documents


    Preface There are two nswag integrated packages in. Net core, swashbuckle and nswag. The configuration of the two is similar. Take NSwag as an example. 1、 Preliminary preparation 1. Initialize asp.net core test project New asp.net core project, skip here; Create a new apicontroller and write test code; [Route(“api/[controller]”)] [ApiController] public class UserApiController : ControllerBase […]

  • 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 […]