-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ls): oas31 lint rules require oneOf paths, components, webhooks
- Loading branch information
Showing
6 changed files
with
15 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
packages/apidom-ls/src/config/openapi/openapi3_1/lint/components--required.ts
This file was deleted.
Oops, something went wrong.
8 changes: 2 additions & 6 deletions
8
packages/apidom-ls/src/config/openapi/openapi3_1/lint/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,35 @@ | ||
import allowedFieldsLint from './allowed-fields'; | ||
import requiredFieldsLint from './required-fields'; | ||
import componentsTypeLint from './components--type'; | ||
import componentsRequiredLint from './components--required'; | ||
import externalDocsTypeLint from './external-docs--type'; | ||
import infoRequiredLint from './info--required'; | ||
import infoTypeLint from './info--type'; | ||
import jsonSchemaDialectFormatURILint from './jsonSchemaDialect--format-uri'; | ||
import pathsTypeLint from './paths--type'; | ||
import pathsRequiredLint from './paths--required'; | ||
import securityItemsTypeLint from './security--items-type'; | ||
import securityTypeLint from './security--type'; | ||
import serversItemsTypeLint from './servers--items-type'; | ||
import serversTypeLint from './servers--type'; | ||
import tagsItemsTypeLint from './tags--items-type'; | ||
import tagsTypeLint from './tags--type'; | ||
import webhooksLint from './webhooks--type'; | ||
import webhooksRequiredLint from './webhooks--required'; | ||
|
||
const lints = [ | ||
allowedFieldsLint, | ||
requiredFieldsLint, | ||
componentsTypeLint, | ||
componentsRequiredLint, | ||
externalDocsTypeLint, | ||
infoRequiredLint, | ||
infoTypeLint, | ||
jsonSchemaDialectFormatURILint, | ||
pathsTypeLint, | ||
pathsRequiredLint, | ||
securityItemsTypeLint, | ||
securityTypeLint, | ||
serversItemsTypeLint, | ||
serversTypeLint, | ||
tagsItemsTypeLint, | ||
tagsTypeLint, | ||
webhooksLint, | ||
webhooksRequiredLint, | ||
]; | ||
|
||
export default lints; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
packages/apidom-ls/src/config/openapi/openapi3_1/lint/webhooks--required.ts
This file was deleted.
Oops, something went wrong.