1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-08-10 22:41:25 +02:00

Added support for building lambda functions

This commit is contained in:
Lee Brown
2019-08-08 01:12:04 -08:00
parent 9f01a6180e
commit e1e9454ce3
12 changed files with 733 additions and 53 deletions

View File

@@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by geeks-accelerator/swag at
// 2019-08-07 20:20:04.308889 -0800 AKDT m=+439.591671736
// 2019-08-08 01:10:01.332719 -0800 AKDT m=+446.639667515
package docs
@@ -139,14 +139,9 @@ var doc = `{
},
"/oauth/token": {
"post": {
"security": [
{
"BasicAuth": []
}
],
"description": "Token generates an oauth2 accessToken using Basic Auth with a user's email and password.",
"consumes": [
"application/json"
"application/x-www-form-urlencoded"
],
"produces": [
"application/json"
@@ -156,6 +151,26 @@ var doc = `{
],
"summary": "Token handles a request to authenticate a user.",
"parameters": [
{
"type": "string",
"description": "Email",
"name": "username",
"in": "formData",
"required": true
},
{
"type": "string",
"description": "Password",
"name": "password",
"in": "formData",
"required": true
},
{
"type": "string",
"description": "Account ID",
"name": "account_id",
"in": "formData"
},
{
"enum": [
"user",
@@ -164,7 +179,7 @@ var doc = `{
"type": "string",
"description": "Scope",
"name": "scope",
"in": "query"
"in": "formData"
}
],
"responses": {
@@ -190,7 +205,7 @@ var doc = `{
}
}
},
"/project": {
"/projects": {
"get": {
"security": [
{
@@ -269,9 +284,7 @@ var doc = `{
}
}
}
}
},
"/projects": {
},
"post": {
"security": [
{