打开 关闭

Swagger Documentation #6070


User avatar
0
guven.uysall 创建
  • ABP Framework version: v6.0.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

https://www.c-sharpcorner.com/article/include-xml-comments-in-swagger-under-asp-net-core-2-2/

How can I adjust our own comments about the methods, what the method means and what it serves in the Swagger documentation in the Microservice project? I shared an example link for this. But we could not do it. We would be happy if you share your knowledge on the subject.


7 答案
  • User Avatar
    0
    guven.uysall 创建

    Any idea?

  • User Avatar
    0
    liangshiwei 创建
    支持团队 Fullstack Developer

    Hi,

    Because in microservices XML files are in different projects, The gateway cannot find the XML file in the current directory.

    You can search XML files globally in the root directory, not the current directory

  • User Avatar
    0
    guven.uysall 创建

    Hi @liangshiwei,

    It doesn't happen in module projects either.

  • User Avatar
    0
    liangshiwei 创建
    支持团队 Fullstack Developer

    Hi,

    Sorry, I didn't get it.

  • User Avatar
    0
    guven.uysall 创建

    :) I create a module template project via abp suite. Then I try to follow the steps in the blog post and it doesn't work either. There is a point I missed but I couldn't understand.

  • User Avatar
    0
    liangshiwei 创建
    支持团队 Fullstack Developer

    As I said:

    Because in microservices XML files are in different projects, The gateway cannot find the XML file in the current directory.

    You can search XML files globally in the root directory, not the current directory

  • User Avatar
    0
    liangshiwei 创建
    支持团队 Fullstack Developer

    BTW, could you share the full steps to reproduce? thanks.

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11