@title DevLake Swagger API @version 0.1 @description This is the main page of devlake api @license.name Apache-2.0 @host localhost:8080 @BasePath /
()
| 69 | // @host localhost:8080 |
| 70 | // @BasePath / |
| 71 | func CreateAndRunApiServer() { |
| 72 | // Setup and run the server |
| 73 | Init() |
| 74 | services.InitExecuteMigration() |
| 75 | router := CreateApiServer() |
| 76 | SetupApiServer(router) |
| 77 | RunApiServer(router) |
| 78 | } |
| 79 | |
| 80 | func CreateApiServer() *gin.Engine { |
| 81 | // Create router |
nothing calls this directly
no test coverage detected