How to automatically update API documentation in SwaggerHub?

695 Views Asked by At

I'm using .NET Core app and want to automatically generate OpenAPI documentation in SwaggerHub whenever I push code to a branch in GitHub, so that I can share it across teams. Manually I can run the project, open the Swagger link in a browser, copy the API documentation and paste it in SwaggerHub. But I want to automate this process so that just by pushing code to a branch in GitHub, the API documentation is updated in SwaggerHub.

0

There are 0 best solutions below