如何在Swagger Doc文件中添加模型项目XML注释
我有一个解决方案,其中有多个项目。一个是一个Web API核心项目,另一个是模型项目。我已经为他们配置了Swagger文档。我遇到的问题是两个项目都有单独的XML文件。如何将其放在一个文件中?以下是我的program.cs文件的代码:
I have a solution with multiple projects in it. One is a Web API Core project and another is a model project. I have configured Swagger documentation for both of them. The problem I am having is that both projects got separate XML files. How can I have it in a single file? Below is the code from my Program.cs file:
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论