Skip to content

Commit

Permalink
Refine types
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Sep 25, 2023
1 parent 0ea0da5 commit 0de301d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/sonarscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ on:
permissions:
contents: read

env:
SONARSCANNER: "true"

jobs:
build:
name: SonarCloud Scan
Expand Down
5 changes: 4 additions & 1 deletion lib/index.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ export async function installOpenApiValidator(
specFile: string,
app: Express,
env: string,
extraOptions: Partial<OpenApiValidatorOpts> = {},
extraOptions: Omit<
OpenApiValidatorOpts,
'apiSpec' | 'validateSecurity' | 'validateResponses' | 'validateFormats' | 'ajvFormats' | '$refParser'
> = {},
): Promise<void> {
const loader = new OpenApiSpecLoader({
apiDoc: specFile,
Expand Down

0 comments on commit 0de301d

Please sign in to comment.