Giter Site home page Giter Site logo

Comments (10)

wulife avatar wulife commented on August 23, 2024

补上漏了的ResultUtil
kts z0q og yyb1y6e7b

from knife4j.

wulife avatar wulife commented on August 23, 2024

另外,提一个小建议,个人觉得这个表头的说明要么同意用英文,要么都用中文,两个都用,个人感觉挺奇怪的
7 s i5ivrth3vawsk0gpkp

from knife4j.

xiaoymin avatar xiaoymin commented on August 23, 2024

@wulife 使用的版本号是多少呢、?

from knife4j.

xiaoymin avatar xiaoymin commented on August 23, 2024

针对泛型的返回,你在ctl的代码层最好需要标注出来

publict ResultUtil<User> userInfo(@RequestBody User user)

还有使用@apimodel注解,value一般填写类名,最好和类名一直,description填写说明

from knife4j.

wulife avatar wulife commented on August 23, 2024

@xiaoymin 版本是最新的
publict ResultUtil userInfo(@requestbody User user)
这个返回类型的我之前有写,后面改来改去就改没了,
@apimodel的value值我晚上回去试下

from knife4j.

xiaoymin avatar xiaoymin commented on August 23, 2024

@wulife 好的,那我也看下这个问题,感谢反馈

from knife4j.

wulife avatar wulife commented on August 23, 2024

好的,谢谢!

from knife4j.

wulife avatar wulife commented on August 23, 2024

@xiaoymin 我的代码https://github.com/wulife/-swagger-bootstrap-ui

from knife4j.

wulife avatar wulife commented on August 23, 2024

@xiaoymin 我知道哪里错了
6e1b5y4 ydw8 4 l gg_a
这里的example的key,value少了引号

另外,这边的响应体的参数类型显示和schema不对应
sl 8vj giepm0 u 9y e e

from knife4j.

xiaoymin avatar xiaoymin commented on August 23, 2024

新版已更新,感谢使用反馈~~

http://www.xiaominfo.com/2018/08/26/swagger-bootstrap-ui-1.8.2-issue/

from knife4j.

Related Issues (20)

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.