forked from oasdiff/oasdiff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.go
More file actions
28 lines (26 loc) · 715 Bytes
/
config.go
File metadata and controls
28 lines (26 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package diff
// Config includes various settings to control the diff
type Config struct {
ExcludeExamples bool
ExcludeDescription bool
IncludeExtensions StringSet
PathFilter string
FilterExtension string
PathPrefixBase string
PathPrefixRevision string
PathStripPrefixBase string
PathStripPrefixRevision string
BreakingOnly bool
DeprecationDays int
ExcludeEndpoints bool
}
// NewConfig returns a default configuration
func NewConfig() *Config {
return &Config{
ExcludeExamples: false,
ExcludeDescription: false,
IncludeExtensions: StringSet{},
BreakingOnly: false,
ExcludeEndpoints: false,
}
}