mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
fixing build
This commit is contained in:
parent
4a0acc9b9f
commit
683ae8f27e
@ -612,7 +612,7 @@ paths:
|
||||
tags:
|
||||
- authorize
|
||||
description: Retrieve an authenticate data messaging verifying the account holder is accepting the action referenced by the token.
|
||||
operationId: authenticate
|
||||
operationId: authorize
|
||||
security:
|
||||
- bearerAuth: []
|
||||
responses:
|
||||
@ -3821,7 +3821,7 @@ components:
|
||||
appToken:
|
||||
type: string
|
||||
|
||||
Status:
|
||||
Revision:
|
||||
type: object
|
||||
required:
|
||||
- profile
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"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.WriteHeader(http.StatusOK)
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
*
|
||||
* API version: 0.0.1
|
||||
* 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
|
||||
|
||||
|
@ -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"`
|
||||
}
|
@ -250,7 +250,7 @@ var routes = Routes{
|
||||
"Authenticate",
|
||||
strings.ToUpper("Put"),
|
||||
"/authorize",
|
||||
Authenticate,
|
||||
Authorize,
|
||||
},
|
||||
|
||||
Route{
|
||||
|
Loading…
Reference in New Issue
Block a user