{"repo":"swaggo/echo-swagger","free":true,"listed":false,"github":"https://github.com/swaggo/echo-swagger","clone":"git clone https://github.com/swaggo/echo-swagger.git","description":"echo middleware to automatically generate RESTful API documentation with Swagger 2.0.","language":"Go","stars":920,"topics":["golang","middleware","swagger2","echo","echo-framework"],"license":"MIT","category":"dev-tools","readme_excerpt":"echo-swagger echo middleware to automatically generate RESTful API documentation with Swagger 2.0. Usage Start using it 1. Add comments to your API source code, See Declarative Comments Format. 2. Download Swag for Go by using: 3. Run the Swag in your Go project root folder which contains main.go file, Swag will parse comments and generate required files( docs folder and docs/doc.go ). 4. Download echo-swagger by using: And import following in your code: Canonical example: OpenAPI Specification (OAS) 2.0 OpenAPI Specification (OAS) 3.0 5. Run it, and browser to http://localhost:1323/swagger/index.html, you can see Swagger 2.0 Api documents. Note: If you are using Gzip middleware you should add the swagger endpoint to skipper Example","default_branch":null,"files":null,"tree":[],"storefront":"/r/swaggo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/swaggo/echo-swagger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}