Open Closed

Swagger Documentation #6070


User avatar
0
guven.uysall created
  • 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 Answer(s)
  • User Avatar
    0
    guven.uysall created

    Any idea?

  • User Avatar
    0
    liangshiwei created
    Support Team 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 created

    Hi @liangshiwei,

    It doesn't happen in module projects either.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Sorry, I didn't get it.

  • User Avatar
    0
    guven.uysall created

    :) 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 created
    Support Team 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 created
    Support Team Fullstack Developer

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

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09