fixing build

This commit is contained in:
Roland Osborne 2022-01-12 21:23:18 -08:00
parent 4a0acc9b9f
commit 683ae8f27e
5 changed files with 5 additions and 32 deletions

View File

@ -612,7 +612,7 @@ paths:
tags: tags:
- authorize - authorize
description: Retrieve an authenticate data messaging verifying the account holder is accepting the action referenced by the token. description: Retrieve an authenticate data messaging verifying the account holder is accepting the action referenced by the token.
operationId: authenticate operationId: authorize
security: security:
- bearerAuth: [] - bearerAuth: []
responses: responses:
@ -3821,7 +3821,7 @@ components:
appToken: appToken:
type: string type: string
Status: Revision:
type: object type: object
required: required:
- profile - profile

View File

@ -13,7 +13,7 @@ import (
"net/http" "net/http"
) )
func Authenticate(w http.ResponseWriter, r *http.Request) { func Authorize(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=UTF-8") w.Header().Set("Content-Type", "application/json; charset=UTF-8")
w.WriteHeader(http.StatusOK) w.WriteHeader(http.StatusOK)
} }

View File

@ -5,7 +5,7 @@
* *
* API version: 0.0.1 * API version: 0.0.1
* Contact: roland.osborne@gmail.com * Contact: roland.osborne@gmail.com
* Generated by: Swagger Codegen (https://github.com/swagger-databag/swagger-codegen.git) * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/ */
package databag package databag

View File

@ -1,27 +0,0 @@
/*
* DataBag
*
* DataBag provides storage for decentralized identity based self-hosting apps. It is intended to support sharing of personal data and hosting group conversations.
*
* API version: 0.0.1
* Contact: roland.osborne@gmail.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package databag
type Status struct {
Profile int64 `json:"profile"`
Content int64 `json:"content"`
Label int64 `json:"label"`
Share int64 `json:"share"`
Card int64 `json:"card"`
Dialogue int64 `json:"dialogue"`
Insight int64 `json:"insight"`
}

View File

@ -250,7 +250,7 @@ var routes = Routes{
"Authenticate", "Authenticate",
strings.ToUpper("Put"), strings.ToUpper("Put"),
"/authorize", "/authorize",
Authenticate, Authorize,
}, },
Route{ Route{