Skip to content

Commit

Permalink
Remove JSON files from OpenAPI support
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher committed Sep 1, 2023
1 parent 149eb33 commit 55d7970
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ql/lib/codeql/iac/openapi/OpenAPI.qll
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ predicate openapiFiles(Location loc) {
loc.getFile().getBaseName() =
[
// Swagger JSON / YAML
"swagger.yml", "swagger.yaml", "swagger.json",
"swagger.yml", "swagger.yaml",
// "swagger.json",
// OpenAPI JSON / YAML
"openapi.json", "openapi.yml", "openapi.yaml",
"openapi.yml", "openapi.yaml",
// "openapi.json",
]
}

Expand Down

0 comments on commit 55d7970

Please sign in to comment.