Skip to content

Commit a4d8009

Browse files
Merge pull request #977 from signal18/swagger-ui
feat: Add Swagger documentation and new proxy service endpoints
2 parents 738e2b6 + 7dfaf30 commit a4d8009

File tree

12 files changed

+36455
-288
lines changed

12 files changed

+36455
-288
lines changed

config/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,7 @@ type Config struct {
728728
CacheStaticMaxAge int `mapstructure:"cache-static-max-age" toml:"cache-static-max-age" json:"-"`
729729
TokenTimeout int `scope:"server" mapstructure:"api-token-timeout" toml:"api-token-timeout" json:"apiTokenTimeout"`
730730
JobLogBatchSize int `mapstructure:"job-log-batch-size" toml:"job-log-batch-size" json:"jobLogBatchSize"`
731+
ApiSwaggerEnabled bool `mapstructure:"api-swagger-enabled" toml:"api-swagger-enabled" json:"apiSwaggerEnabled"`
731732
//OAuthRedirectURL string `mapstructure:"api-oauth-redirect-url" toml:"git-url" json:"-"`
732733
// BackupResticStoragePolicy string `mapstructure:"backup-restic-storage-policy" toml:"backup-restic-storage-policy" json:"backupResticStoragePolicy"`
733734
//ProvMode string `mapstructure:"prov-mode" toml:"prov-mode" json:"provMode"` //InitContainer vs API

0 commit comments

Comments
 (0)