@ -8,95 +8,111 @@ import (
api "code.gitea.io/sdk/gitea"
api "code.gitea.io/sdk/gitea"
)
)
// Repository
// swagger:response Repository
// swagger:response Repository
type swaggerResponseRepository struct {
type swaggerResponseRepository struct {
// in:body
// in:body
Body api . Repository ` json:"body" `
Body api . Repository ` json:"body" `
}
}
// RepositoryList
// swagger:response RepositoryList
// swagger:response RepositoryList
type swaggerResponseRepositoryList struct {
type swaggerResponseRepositoryList struct {
// in:body
// in:body
Body [ ] api . Repository ` json:"body" `
Body [ ] api . Repository ` json:"body" `
}
}
// Branch
// swagger:response Branch
// swagger:response Branch
type swaggerResponseBranch struct {
type swaggerResponseBranch struct {
// in:body
// in:body
Body api . Branch ` json:"body" `
Body api . Branch ` json:"body" `
}
}
// BranchList
// swagger:response BranchList
// swagger:response BranchList
type swaggerResponseBranchList struct {
type swaggerResponseBranchList struct {
// in:body
// in:body
Body [ ] api . Branch ` json:"body" `
Body [ ] api . Branch ` json:"body" `
}
}
// Hook
// swagger:response Hook
// swagger:response Hook
type swaggerResponseHook struct {
type swaggerResponseHook struct {
// in:body
// in:body
Body [ ] api . Branch ` json:"body" `
Body [ ] api . Branch ` json:"body" `
}
}
// HookList
// swagger:response HookList
// swagger:response HookList
type swaggerResponseHookList struct {
type swaggerResponseHookList struct {
// in:body
// in:body
Body [ ] api . Branch ` json:"body" `
Body [ ] api . Branch ` json:"body" `
}
}
// Release
// swagger:response Release
// swagger:response Release
type swaggerResponseRelease struct {
type swaggerResponseRelease struct {
// in:body
// in:body
Body api . Release ` json:"body" `
Body api . Release ` json:"body" `
}
}
// ReleaseList
// swagger:response ReleaseList
// swagger:response ReleaseList
type swaggerResponseReleaseList struct {
type swaggerResponseReleaseList struct {
// in:body
// in:body
Body [ ] api . Release ` json:"body" `
Body [ ] api . Release ` json:"body" `
}
}
// PullRequest
// swagger:response PullRequest
// swagger:response PullRequest
type swaggerResponsePullRequest struct {
type swaggerResponsePullRequest struct {
// in:body
// in:body
Body api . PullRequest ` json:"body" `
Body api . PullRequest ` json:"body" `
}
}
// PullRequestList
// swagger:response PullRequestList
// swagger:response PullRequestList
type swaggerResponsePullRequestList struct {
type swaggerResponsePullRequestList struct {
// in:body
// in:body
Body [ ] api . PullRequest ` json:"body" `
Body [ ] api . PullRequest ` json:"body" `
}
}
// Status
// swagger:response Status
// swagger:response Status
type swaggerResponseStatus struct {
type swaggerResponseStatus struct {
// in:body
// in:body
Body api . Status ` json:"body" `
Body api . Status ` json:"body" `
}
}
// StatusList
// swagger:response StatusList
// swagger:response StatusList
type swaggerResponseStatusList struct {
type swaggerResponseStatusList struct {
// in:body
// in:body
Body [ ] api . Status ` json:"body" `
Body [ ] api . Status ` json:"body" `
}
}
// WatchInfo
// swagger:response WatchInfo
// swagger:response WatchInfo
type swaggerResponseWatchInfo struct {
type swaggerResponseWatchInfo struct {
// in:body
// in:body
Body api . WatchInfo ` json:"body" `
Body api . WatchInfo ` json:"body" `
}
}
// SearchResults
// swagger:response SearchResults
// swagger:response SearchResults
type swaggerResponseSearchResults struct {
type swaggerResponseSearchResults struct {
Body api . SearchResults ` json:"body" `
Body api . SearchResults ` json:"body" `
}
}
// AttachmentList
// swagger:response AttachmentList
// swagger:response AttachmentList
type swaggerResponseAttachmentList struct {
type swaggerResponseAttachmentList struct {
//in: body
//in: body
Body [ ] api . Attachment ` json:"body" `
Body [ ] api . Attachment ` json:"body" `
}
}
// Attachment
// swagger:response Attachment
// swagger:response Attachment
type swaggerResponseAttachment struct {
type swaggerResponseAttachment struct {
//in: body
//in: body