mirror of
				https://github.com/datarhei/core.git
				synced 2025-10-31 19:32:56 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			390 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			390 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // Package api implements various handlers for the API routes
 | |
| package api
 | |
| 
 | |
| import (
 | |
| 	"github.com/labstack/echo/v4"
 | |
| )
 | |
| 
 | |
| // Swagger returns swagger UI for this API
 | |
| // @Summary Swagger UI for this API
 | |
| // @Description Swagger UI for this API
 | |
| // @ID swagger
 | |
| // @Produce text/html
 | |
| // @Success 200 {string} string ""
 | |
| // @Router /api/swagger [get]
 | |
| func Swagger(c echo.Context) error {
 | |
| 	return nil
 | |
| }
 | 
