Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openapi如何进行类型映射,后端的Long类型映射为string类型 #11296

Open
manjaoe opened this issue Jul 24, 2024 · 0 comments
Open

Comments

@manjaoe
Copy link

manjaoe commented Jul 24, 2024

🧐 问题描述 | Problem description

后端参数是Long类型,openapi生成的接口是number类型。由于精度问题转成string类型传给后端。如何让openapi生成接口时就是string类型?即openapi生成接口时把Long类型映射为string类型

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant