mirror of
https://github.com/raseels-repos/golang-saas-starter-kit.git
synced 2025-06-06 23:46:29 +02:00
36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
|
{
|
||
|
"swagger": "2.0",
|
||
|
"info": {
|
||
|
"description": "This is a sample server celler server.",
|
||
|
"title": "SaaS Example API",
|
||
|
"termsOfService": "http://geeksinthewoods.com/terms",
|
||
|
"contact": {
|
||
|
"name": "API Support",
|
||
|
"url": "https://gitlab.com/geeks-accelerator/oss/saas-starter-kit",
|
||
|
"email": "support@geeksinthewoods.com"
|
||
|
},
|
||
|
"license": {
|
||
|
"name": "Apache 2.0",
|
||
|
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||
|
},
|
||
|
"version": "{{.Version}}"
|
||
|
},
|
||
|
"host": "{{.Host}}",
|
||
|
"basePath": "{{.BasePath}}",
|
||
|
"paths": {},
|
||
|
"securityDefinitions": {
|
||
|
"ApiKeyAuth": {
|
||
|
"type": "apiKey",
|
||
|
"name": "Authorization",
|
||
|
"in": "header"
|
||
|
},
|
||
|
"BasicAuth": {
|
||
|
"type": "basic"
|
||
|
},
|
||
|
"OAuth2Password": {
|
||
|
"type": "oauth2",
|
||
|
"flow": "password",
|
||
|
"tokenUrl": "https://example.com/v1/oauth/token"
|
||
|
}
|
||
|
}
|
||
|
}
|