Swagger-bootstrap-ui 1.7.5 has been released. Swagger-bootstrap-ui is swagger’s front-end UI implementation, designed to replace swagger’s default UI implementation with swagger-UI and make documentation a little more user-friendly

In this version, swagger-Bootstrap-UI core JS component is reconstructed. In the new version, document presentation will be presented in Markdown format instead of the original table presentation

Swagger-bootstrap-ui 1.7.5 major updates are as follows:

– Refactoring dapiui.js functionality, new version uses SwaggerBootstrapui.js to facilitate late extension, while removing invalid JS, CSS and HTML files, new version jar package from 760KB to 295KB

– Reconstruct the document page, remove the original table display mode, the new version uses markdown format to display the document, single document page can be copied

  

 

  

– Added the global parameter configuration function to facilitate online debugging when request parameters have global parameters

 

– Support offline document format and generate markdown format documents for developers to generate static documents externally

Preview the effect with the Markdown conversion tool Typora

Typora Export PDF preview effect

– Added clipboard plug-in, offline document can be copied

– Official Release Deletes the console to print debugging information

– Fixed The debugging page removes the url ROOT path /, project name is not ROOT, or distributed in the case of incorrect path, an extra “/” problem

– Fixed RequestBody Receives entity objects. If the object attributes contain the List attribute, the parameter is displayed as array, and the object attributes need to be parsed to be displayed for easy viewing

– fixed The object attribute is displayed as string but not displayed

– Tip: You are advised to use Chrome. Other browsers may have js and CSS compatibility problems, and the document effect is not the best

Maven coordinates

<dependency> <groupId>com.github.xiaoymin</groupId> <artifactId>swagger-bootstrap-ui</artifactId> The < version > 1.7.5 < / version > < / dependency >Copy the code

For those of you who haven’t yet upvoted Swagger-Bootstrap-UI, head over to gitee.com/xiaoym/swag… Give a Star ~~ 🙂