diff --git a/.sonarcloud.properties b/.sonarcloud.properties index 98a487f3c..3a9937a7b 100644 --- a/.sonarcloud.properties +++ b/.sonarcloud.properties @@ -1,3 +1,3 @@ # Disable specific duplicate code since it would introduce more complexity to reduce it. -sonar.cpd.exclusions=src/models/**/*.ts +sonar.cpd.exclusions=src/models/**/*.ts,src/spec-types/*.ts sonar.exclusions=test/**/* diff --git a/src/spec-types/v3.ts b/src/spec-types/v3.ts index dfad71f7f..766df3bf9 100644 --- a/src/spec-types/v3.ts +++ b/src/spec-types/v3.ts @@ -297,7 +297,6 @@ export type SecuritySchemaLocation = | 'password' | 'query' | 'header' - | 'header' | 'cookie'; export interface SecuritySchemeObjectBase extends SpecificationExtensions {