mirror of
https://github.com/harness/drone.git
synced 2025-05-05 15:32:56 +00:00
feat: [CODE-3803]: add desc for swagger (#3755)
* Update types/repo.go * feat: [CODE-3803]: add desc for swagger * feat: [CODE-3803]: add desc for swagger
This commit is contained in:
parent
4f7dc32dcc
commit
5aef4f53f8
@ -22,7 +22,7 @@ import (
|
||||
|
||||
// GeneralSettings represent the general repository settings as exposed externally.
|
||||
type GeneralSettings struct {
|
||||
FileSizeLimit *int64 `json:"file_size_limit" yaml:"file_size_limit"`
|
||||
FileSizeLimit *int64 `json:"file_size_limit" yaml:"file_size_limit" description:"file size limit in bytes"`
|
||||
GitLFSEnabled *bool `json:"git_lfs_enabled" yaml:"git_lfs_enabled"`
|
||||
}
|
||||
|
||||
|
@ -48,7 +48,7 @@ type Repository struct {
|
||||
LastGITPush int64 `json:"last_git_push" yaml:"last_git_push"`
|
||||
|
||||
// Size of the repository in KiB.
|
||||
Size int64 `json:"size" yaml:"size"`
|
||||
Size int64 `json:"size" yaml:"size" description:"size of the repository in KiB"`
|
||||
// SizeUpdated is the time when the Size was last updated.
|
||||
SizeUpdated int64 `json:"size_updated" yaml:"size_updated"`
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user