Can I define @Schema once and use it in multiple places

后端 未结 0 980
被撕碎了的回忆
被撕碎了的回忆 2021-02-08 05:16

I have my project in spring boot and we are using spring doc to generate swagger documentation. We have common elements in various classes. Example phoneNo is available in both

相关标签:
回答
  • 消灭零回复
提交回复
热议问题