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

yaml 的全局消息体怎么写?感谢大佬!! #44

Open
suveng opened this issue Feb 22, 2019 · 0 comments
Open

yaml 的全局消息体怎么写?感谢大佬!! #44

suveng opened this issue Feb 22, 2019 · 0 comments

Comments

@suveng
Copy link

suveng commented Feb 22, 2019

这是 properties的写法,我不会转成yaml

定义全局响应返回
spring.swagger.global-response-messages.POST[0].code=400
spring.swagger.global-response-messages.POST[0].message=server response 400
spring.swagger.global-response-messages.POST[1].code=404
spring.swagger.global-response-messages.POST[1].message=server response 404

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