Code Monkey home page Code Monkey logo

Comments (6)

jasonHzq avatar jasonHzq commented on May 11, 2024

可以展开说一下具体情况吗?基类对应的是后端 class 名字,后端把 class 名字起为了中文?

from pont.

gaoletian avatar gaoletian commented on May 11, 2024

在swagger.josn 的 definitions 里的类名有各种奇葩问题,我列举几种类的命名

"banner参数返回数据"
"查询账户余额Vo"
"提现失败 获取可重新绑定银行卡列表的请求数据"

这应该是java针对swagger 对英文类名专门做了汉化处理

from pont.

jasonHzq avatar jasonHzq commented on May 11, 2024

我觉得可以让你们 java 取消这个汉化,我们在 Pont 在使用上,也会和后端约定一定的规范。

from pont.

jasonHzq avatar jasonHzq commented on May 11, 2024

如果 Pont 去做汉字翻译成英文,然后改成 camelCase,我觉得会比较奇怪。

from pont.

gaoletian avatar gaoletian commented on May 11, 2024

工具就应该具有普适性吧,如果有历史原因,比如跨部门,再让java去改的话不太可能了。而作为工具,至少做为可选功能,应该为用户提供一个解决方案
或者提供_个插件机制也行

我目前的处理方式就是找出来,翻译再替换

from pont.

jasonHzq avatar jasonHzq commented on May 11, 2024

已经修复

from pont.

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.