mirror of
https://github.com/go-gitea/gitea.git
synced 2025-11-06 13:56:00 +01:00
Generate swagger json (#1402)
- Generate swagger.json into public/ - Add swagger-ui auto-installation - Add footer link to local swagger-ui - Add /swagger url for using app url. - Fix Swagger-UI version via git tag
This commit is contained in:
committed by
Kim "BKC" Carlbäcker
parent
bb5f694fc5
commit
3edb0c5894
1
vendor/code.gitea.io/sdk/gitea/repo_watch.go
generated
vendored
1
vendor/code.gitea.io/sdk/gitea/repo_watch.go
generated
vendored
@@ -11,6 +11,7 @@ import (
|
||||
)
|
||||
|
||||
// WatchInfo represents a API watch status of one repository
|
||||
// swagger:response WatchInfo
|
||||
type WatchInfo struct {
|
||||
Subscribed bool `json:"subscribed"`
|
||||
Ignored bool `json:"ignored"`
|
||||
|
||||
Reference in New Issue
Block a user