GithubHelp home page GithubHelp logo

lerry903 / swagger-showdoc Goto Github PK

View Code? Open in Web Editor NEW
37.0 1.0 13.0 27 KB

一个将swagger的Json文件转换为ShowDoc的小工具

License: Apache License 2.0

Java 65.02% CSS 2.05% HTML 17.32% JavaScript 15.61%
swagger swagger-api showdoc swagger2markup

swagger-showdoc's Issues

modelDocAddJdd递归处理模型属性 过程 定义的backModel 变量存在bug

如果模型中嵌套模型,有三层结构时候,第三层的模型会被定义多次,举例
ResponseResult 中 含有 ResponseEntity ,ResponseEntity 含有 Blue类 ,那么Blue类会根据ResponseResult 中定义的属性个数出现多次,假如ResponseResult 有三个属性,其他两个是基本类型, 如果遍历ResponseResult 中 ResponseEntity 最后被处理,那么blue出现一次,如果最先被处理,那么blue会出现三次,因为定义这个backModel在处理modelDocAddJdd方法中会被后面的属性使用,从而重复生成模型数据。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.