forked from compliance-framework/api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
26 lines (23 loc) · 630 Bytes
/
main.go
File metadata and controls
26 lines (23 loc) · 630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package main
import (
"os"
"github.com/compliance-framework/api/cmd"
)
// Swagger documentation
//
// @title Continuous Compliance Framework API
// @version 1
// @description This is the API for the Continuous Compliance Framework.
// @host localhost:8080
// @accept json
// @produce json
// @BasePath /api
// @externalDocs.description OpenAPI
// @externalDocs.url https://swagger.io/resources/open-api/
// @securitydefinitions.oauth2.password OAuth2Password
// @tokenUrl /api/auth/token
func main() {
if err := cmd.Execute(); err != nil {
os.Exit(1)
}
}