-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgleece.config.json
More file actions
55 lines (55 loc) · 1.17 KB
/
gleece.config.json
File metadata and controls
55 lines (55 loc) · 1.17 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"commonConfig": {
"controllerGlobs": [
"./*.go",
"./**/*.go"
]
},
"routesConfig": {
"engine": "gin",
"outputPath": "./dist/gleece.go",
"outputFilePerms": "0644",
"authorizationConfig": {
"authFileFullPackageName": "github.com/gopher-fleece/gleece/test/fixtures",
"enforceSecurityOnAllRoutes": true
}
},
"openapiGeneratorConfig": {
"openapi" : "3.0.0",
"info": {
"title": "Sample API",
"description": "This is a sample API",
"termsOfService": "http://example.com/terms/",
"contact": {
"name": "API Support",
"url": "http://www.example.com/support",
"email": "support@example.com"
},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.0.0"
},
"baseUrl": "https://api.example.com",
"securitySchemes": [
{
"description": "API Key for accessing the API",
"name": "securitySchemaName",
"fieldName": "x-header-name",
"type": "apiKey",
"in": "header"
}
],
"defaultSecurity": {
"name": "securitySchemaName",
"scopes": [
"read",
"write"
]
},
"specGeneratorConfig": {
"outputPath": "./dist/swagger.json"
}
}
}