first-commit
This commit is contained in:
22
routers/api/v1/swagger/app.go
Normal file
22
routers/api/v1/swagger/app.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright 2020 The Gitea Authors. All rights reserved.
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package swagger
|
||||
|
||||
import (
|
||||
api "code.gitea.io/gitea/modules/structs"
|
||||
)
|
||||
|
||||
// OAuth2Application
|
||||
// swagger:response OAuth2Application
|
||||
type swaggerResponseOAuth2Application struct {
|
||||
// in:body
|
||||
Body api.OAuth2Application `json:"body"`
|
||||
}
|
||||
|
||||
// AccessToken represents an API access token.
|
||||
// swagger:response AccessToken
|
||||
type swaggerResponseAccessToken struct {
|
||||
// in:body
|
||||
Body api.AccessToken `json:"body"`
|
||||
}
|
Reference in New Issue
Block a user