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:
|
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
|
||||||
|
@ -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)
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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",
|
"Authenticate",
|
||||||
strings.ToUpper("Put"),
|
strings.ToUpper("Put"),
|
||||||
"/authorize",
|
"/authorize",
|
||||||
Authenticate,
|
Authorize,
|
||||||
},
|
},
|
||||||
|
|
||||||
Route{
|
Route{
|
||||||
|
Loading…
Reference in New Issue
Block a user