diff --git a/internal/breaking_changes.go b/internal/breaking_changes.go index ba3b04f1..f4a804bb 100644 --- a/internal/breaking_changes.go +++ b/internal/breaking_changes.go @@ -48,7 +48,7 @@ In 'composed' mode, base and revision can be a glob and oasdiff will compare mat cmd.PersistentFlags().VarP(newEnumSliceValue(diff.ExcludeDiffOptions, nil, &flags.excludeElements), "exclude-elements", "e", "comma-separated list of elements to exclude") cmd.PersistentFlags().StringVarP(&flags.matchPath, "match-path", "p", "", "include only paths that match this regular expression") cmd.PersistentFlags().StringVarP(&flags.filterExtension, "filter-extension", "", "", "exclude paths and operations with an OpenAPI Extension matching this regular expression") - cmd.PersistentFlags().IntVarP(&flags.circularReferenceCounter, "max-circular-dep", "", 5, "maximum allowed number of circular dependencies between objects in OpenAPI specs") + cmd.PersistentFlags().IntVarP(&flags.circularReferenceCounter, "max-circular-dep", "", 15, "maximum allowed number of circular dependencies between objects in OpenAPI specs") cmd.PersistentFlags().StringVarP(&flags.prefixBase, "prefix-base", "", "", "add this prefix to paths in base-spec before comparison") cmd.PersistentFlags().StringVarP(&flags.prefixRevision, "prefix-revision", "", "", "add this prefix to paths in revised-spec before comparison") cmd.PersistentFlags().StringVarP(&flags.stripPrefixBase, "strip-prefix-base", "", "", "strip this prefix from paths in base-spec before comparison") diff --git a/internal/changelog.go b/internal/changelog.go index 73bc6ed4..c32e072b 100644 --- a/internal/changelog.go +++ b/internal/changelog.go @@ -50,7 +50,7 @@ In 'composed' mode, base and revision can be a glob and oasdiff will compare mat cmd.PersistentFlags().VarP(newEnumSliceValue(diff.ExcludeDiffOptions, nil, &flags.excludeElements), "exclude-elements", "e", "comma-separated list of elements to exclude") cmd.PersistentFlags().StringVarP(&flags.matchPath, "match-path", "p", "", "include only paths that match this regular expression") cmd.PersistentFlags().StringVarP(&flags.filterExtension, "filter-extension", "", "", "exclude paths and operations with an OpenAPI Extension matching this regular expression") - cmd.PersistentFlags().IntVarP(&flags.circularReferenceCounter, "max-circular-dep", "", 5, "maximum allowed number of circular dependencies between objects in OpenAPI specs") + cmd.PersistentFlags().IntVarP(&flags.circularReferenceCounter, "max-circular-dep", "", 15, "maximum allowed number of circular dependencies between objects in OpenAPI specs") cmd.PersistentFlags().StringVarP(&flags.prefixBase, "prefix-base", "", "", "add this prefix to paths in base-spec before comparison") cmd.PersistentFlags().StringVarP(&flags.prefixRevision, "prefix-revision", "", "", "add this prefix to paths in revised-spec before comparison") cmd.PersistentFlags().StringVarP(&flags.stripPrefixBase, "strip-prefix-base", "", "", "strip this prefix from paths in base-spec before comparison") diff --git a/internal/diff.go b/internal/diff.go index f4c25795..b34535a6 100644 --- a/internal/diff.go +++ b/internal/diff.go @@ -50,7 +50,7 @@ In 'composed' mode, base and revision can be a glob and oasdiff will compare mat cmd.PersistentFlags().VarP(newEnumSliceValue(diff.ExcludeDiffOptions, nil, &flags.excludeElements), "exclude-elements", "e", "comma-separated list of elements to exclude") cmd.PersistentFlags().StringVarP(&flags.matchPath, "match-path", "p", "", "include only paths that match this regular expression") cmd.PersistentFlags().StringVarP(&flags.filterExtension, "filter-extension", "", "", "exclude paths and operations with an OpenAPI Extension matching this regular expression") - cmd.PersistentFlags().IntVarP(&flags.circularReferenceCounter, "max-circular-dep", "", 5, "maximum allowed number of circular dependencies between objects in OpenAPI specs") + cmd.PersistentFlags().IntVarP(&flags.circularReferenceCounter, "max-circular-dep", "", 15, "maximum allowed number of circular dependencies between objects in OpenAPI specs") cmd.PersistentFlags().StringVarP(&flags.prefixBase, "prefix-base", "", "", "add this prefix to paths in base-spec before comparison") cmd.PersistentFlags().StringVarP(&flags.prefixRevision, "prefix-revision", "", "", "add this prefix to paths in revised-spec before comparison") cmd.PersistentFlags().StringVarP(&flags.stripPrefixBase, "strip-prefix-base", "", "", "strip this prefix from paths in base-spec before comparison") diff --git a/internal/summary.go b/internal/summary.go index 332b975f..d2da92b5 100644 --- a/internal/summary.go +++ b/internal/summary.go @@ -46,7 +46,7 @@ In 'composed' mode, base and revision can be a glob and oasdiff will compare mat cmd.PersistentFlags().VarP(newEnumSliceValue(diff.ExcludeDiffOptions, nil, &flags.excludeElements), "exclude-elements", "e", "comma-separated list of elements to exclude") cmd.PersistentFlags().StringVarP(&flags.matchPath, "match-path", "p", "", "include only paths that match this regular expression") cmd.PersistentFlags().StringVarP(&flags.filterExtension, "filter-extension", "", "", "exclude paths and operations with an OpenAPI Extension matching this regular expression") - cmd.PersistentFlags().IntVarP(&flags.circularReferenceCounter, "max-circular-dep", "", 5, "maximum allowed number of circular dependencies between objects in OpenAPI specs") + cmd.PersistentFlags().IntVarP(&flags.circularReferenceCounter, "max-circular-dep", "", 15, "maximum allowed number of circular dependencies between objects in OpenAPI specs") cmd.PersistentFlags().StringVarP(&flags.prefixBase, "prefix-base", "", "", "add this prefix to paths in base-spec before comparison") cmd.PersistentFlags().StringVarP(&flags.prefixRevision, "prefix-revision", "", "", "add this prefix to paths in revised-spec before comparison") cmd.PersistentFlags().StringVarP(&flags.stripPrefixBase, "strip-prefix-base", "", "", "strip this prefix from paths in base-spec before comparison")