Answer the question
In order to leave comments, you need to log in
How to attach swagger-ui to a project?
I have a rest server on Go (VS Code, Windows), can you post a step-by-step algorithm on how to attach swagger-ui to it?
I searched the Internet, but there are examples either for other languages, or some self-written frameworks.
Answer the question
In order to leave comments, you need to log in
You can use https://github.com/swaggo/swag, in the README there is an excellent example just on the main.go file, where all the routes are described, which are then automatically documented in the swagger format
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question