Tag:swagger

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

    Time:2020-1-9

    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

    Time:2020-1-2

    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

    Time:2020-1-1

    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

    Time:2019-12-12

    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

    Time:2019-11-29

    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

    Time:2019-11-25

    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

    Time:2019-11-18

    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

    Time:2019-11-7

    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

    Time:2019-10-31

    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

    Time:2019-9-18

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

  • Front-end and back-end separation of SSM configuration swagger interface documents

    Time:2019-9-14

    Springboot was previously configured, which is much simpler than ssm. Now record the configuration of SSM Adding dependencies to pom. XML Springfox wrapped the swagger so that he could support spring MVC – >. <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.6.1</version> </dependency> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.6.1</version> </dependency> Add the configuration class SwaggerConfig. Java @WebAppConfiguration @EnableSwagger2 @EnableWebMvc @ComponentScan(basePackages = […]

  • Wizard Open Source Document Management System 1.0 has been released

    Time:2019-8-29

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