@speclynx/apidom-ls 2.11.6 → 2.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/apidom-ls.browser.min.js +3 -3
- package/package.json +35 -30
- package/src/config/arazzo/JSONSchema/{description--no-script-tags.cjs → lint/description--no-script-tags.cjs} +2 -2
- package/src/config/arazzo/JSONSchema/{description--no-script-tags.mjs → lint/description--no-script-tags.mjs} +2 -2
- package/src/config/arazzo/JSONSchema/lint/index.cjs +81 -0
- package/src/config/arazzo/JSONSchema/lint/index.mjs +72 -0
- package/src/config/arazzo/JSONSchema/{title--no-script-tags.cjs → lint/title--no-script-tags.cjs} +2 -2
- package/src/config/arazzo/JSONSchema/{title--no-script-tags.mjs → lint/title--no-script-tags.mjs} +2 -2
- package/src/config/arazzo/JSONSchema/meta.cjs +2 -2
- package/src/config/arazzo/JSONSchema/meta.mjs +1 -1
- package/src/config/arazzo/arazzoSpecification1/lint/$self--format-uri.cjs +23 -0
- package/src/config/arazzo/arazzoSpecification1/lint/$self--format-uri.mjs +16 -0
- package/src/config/arazzo/arazzoSpecification1/lint/$self--no-fragment.cjs +23 -0
- package/src/config/arazzo/arazzoSpecification1/lint/$self--no-fragment.mjs +16 -0
- package/src/config/{ads/info/lint/title--type.cjs → arazzo/arazzoSpecification1/lint/$self--type.cjs} +8 -6
- package/src/config/{ads/info/lint/description--type.mjs → arazzo/arazzoSpecification1/lint/$self--type.mjs} +8 -6
- package/src/config/arazzo/arazzoSpecification1/lint/{allowed-fields.cjs → allowed-fields-1-0.cjs} +4 -3
- package/src/config/arazzo/arazzoSpecification1/lint/{allowed-fields.mjs → allowed-fields-1-0.mjs} +4 -4
- package/src/config/arazzo/{failureAction/lint/allowed-fields.cjs → arazzoSpecification1/lint/allowed-fields-1-1.cjs} +4 -4
- package/src/config/arazzo/arazzoSpecification1/lint/allowed-fields-1-1.mjs +14 -0
- package/src/config/arazzo/arazzoSpecification1/lint/arazzo--pattern.cjs +2 -2
- package/src/config/arazzo/arazzoSpecification1/lint/arazzo--pattern.mjs +2 -2
- package/src/config/arazzo/arazzoSpecification1/lint/index.cjs +6 -2
- package/src/config/arazzo/arazzoSpecification1/lint/index.mjs +6 -2
- package/src/config/arazzo/config.cjs +6 -4
- package/src/config/arazzo/config.mjs +4 -2
- package/src/config/arazzo/criterion/lint/type--equals.cjs +1 -1
- package/src/config/arazzo/criterion/lint/type--equals.mjs +1 -1
- package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/index.cjs +7 -3
- package/src/config/arazzo/expressionType/lint/index.mjs +12 -0
- package/src/config/arazzo/{criterionExpressionType/lint/type--equals.cjs → expressionType/lint/type--equals-1-0.cjs} +5 -4
- package/src/config/arazzo/{criterionExpressionType/lint/type--equals.mjs → expressionType/lint/type--equals-1-0.mjs} +5 -5
- package/src/config/arazzo/expressionType/lint/type--equals-1-1.cjs +23 -0
- package/src/config/arazzo/expressionType/lint/type--equals-1-1.mjs +16 -0
- package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/type--required.cjs +1 -1
- package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/type--required.mjs +1 -1
- package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/type--type.cjs +1 -1
- package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/type--type.mjs +1 -1
- package/src/config/arazzo/expressionType/lint/version--equals-jsonpath.cjs +30 -0
- package/src/config/arazzo/expressionType/lint/version--equals-jsonpath.mjs +23 -0
- package/src/config/arazzo/expressionType/lint/version--equals-jsonpointer.cjs +30 -0
- package/src/config/arazzo/expressionType/lint/version--equals-jsonpointer.mjs +23 -0
- package/src/config/arazzo/expressionType/lint/version--equals-xpath.cjs +30 -0
- package/src/config/arazzo/expressionType/lint/version--equals-xpath.mjs +23 -0
- package/src/config/arazzo/{criterionExpressionType/lint/version--required.cjs → expressionType/lint/version--required-1-0.cjs} +9 -4
- package/src/config/arazzo/expressionType/lint/version--required-1-0.mjs +26 -0
- package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/version--type.cjs +1 -1
- package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/version--type.mjs +1 -1
- package/src/config/arazzo/failureAction/lint/allowed-fields-1-0.cjs +27 -0
- package/src/config/arazzo/failureAction/lint/allowed-fields-1-0.mjs +19 -0
- package/src/config/arazzo/failureAction/lint/allowed-fields-1-1.cjs +25 -0
- package/src/config/arazzo/failureAction/lint/{allowed-fields.mjs → allowed-fields-1-1.mjs} +9 -5
- package/src/config/arazzo/failureAction/lint/index.cjs +8 -2
- package/src/config/arazzo/failureAction/lint/index.mjs +8 -2
- package/src/config/arazzo/failureAction/lint/name--required.cjs +4 -0
- package/src/config/arazzo/failureAction/lint/name--required.mjs +4 -0
- package/src/config/arazzo/failureAction/lint/parameters--only-workflow-id.cjs +28 -0
- package/src/config/arazzo/failureAction/lint/parameters--only-workflow-id.mjs +21 -0
- package/src/config/arazzo/failureAction/lint/parameters--type.cjs +23 -0
- package/src/config/arazzo/failureAction/lint/parameters--type.mjs +16 -0
- package/src/config/arazzo/failureAction/lint/step-id--pattern.cjs +26 -0
- package/src/config/arazzo/failureAction/lint/step-id--pattern.mjs +18 -0
- package/src/config/arazzo/failureAction/lint/type--required.cjs +4 -0
- package/src/config/arazzo/failureAction/lint/type--required.mjs +4 -0
- package/src/config/arazzo/failureAction/lint/workflow-id--pattern.cjs +35 -0
- package/src/config/arazzo/failureAction/lint/workflow-id--pattern.mjs +27 -0
- package/src/config/arazzo/failureAction/lint/workflow-id--source-type-consistency.cjs +23 -0
- package/src/config/arazzo/failureAction/lint/workflow-id--source-type-consistency.mjs +16 -0
- package/src/config/arazzo/parameter/lint/allowed-fields.cjs +4 -0
- package/src/config/arazzo/parameter/lint/allowed-fields.mjs +4 -0
- package/src/config/arazzo/parameter/lint/name--required.cjs +4 -0
- package/src/config/arazzo/parameter/lint/name--required.mjs +4 -0
- package/src/config/arazzo/parameter/lint/value--required.cjs +4 -0
- package/src/config/arazzo/parameter/lint/value--required.mjs +4 -0
- package/src/config/arazzo/payloadReplacement/lint/allowed-fields-1-0.cjs +23 -0
- package/src/config/arazzo/payloadReplacement/lint/allowed-fields-1-0.mjs +15 -0
- package/src/config/arazzo/{successAction/lint/allowed-fields.cjs → payloadReplacement/lint/allowed-fields-1-1.cjs} +4 -4
- package/src/config/arazzo/{successAction/lint/allowed-fields.mjs → payloadReplacement/lint/allowed-fields-1-1.mjs} +5 -5
- package/src/config/arazzo/payloadReplacement/lint/index.cjs +5 -2
- package/src/config/arazzo/payloadReplacement/lint/index.mjs +5 -2
- package/src/config/arazzo/payloadReplacement/lint/target-selector-type--equals.cjs +30 -0
- package/src/config/arazzo/payloadReplacement/lint/target-selector-type--equals.mjs +23 -0
- package/src/config/arazzo/payloadReplacement/lint/target-selector-type--type.cjs +31 -0
- package/src/config/arazzo/payloadReplacement/lint/target-selector-type--type.mjs +24 -0
- package/src/config/arazzo/{payloadReplacement → selector}/lint/allowed-fields.cjs +2 -2
- package/src/config/arazzo/{payloadReplacement → selector}/lint/allowed-fields.mjs +3 -3
- package/src/config/arazzo/selector/lint/context--type.cjs +23 -0
- package/src/config/arazzo/selector/lint/context--type.mjs +16 -0
- package/src/config/arazzo/selector/lint/index.cjs +18 -0
- package/src/config/arazzo/selector/lint/index.mjs +10 -0
- package/src/config/arazzo/selector/lint/selector--type.cjs +23 -0
- package/src/config/arazzo/selector/lint/selector--type.mjs +16 -0
- package/src/config/arazzo/selector/lint/type--equals.cjs +30 -0
- package/src/config/arazzo/selector/lint/type--equals.mjs +23 -0
- package/src/config/arazzo/selector/lint/type--type.cjs +31 -0
- package/src/config/arazzo/selector/lint/type--type.mjs +24 -0
- package/src/config/{ads/info → arazzo/selector}/meta.cjs +1 -5
- package/src/config/arazzo/selector/meta.mjs +5 -0
- package/src/config/arazzo/sourceDescription/lint/index.cjs +3 -2
- package/src/config/arazzo/sourceDescription/lint/index.mjs +3 -2
- package/src/config/arazzo/sourceDescription/lint/name--pattern.cjs +2 -2
- package/src/config/arazzo/sourceDescription/lint/name--pattern.mjs +2 -2
- package/src/config/arazzo/sourceDescription/lint/{type--equals.cjs → type--equals-1-0.cjs} +3 -3
- package/src/config/arazzo/sourceDescription/lint/{type--equals.mjs → type--equals-1-0.mjs} +4 -4
- package/src/config/arazzo/sourceDescription/lint/type--equals-1-1.cjs +23 -0
- package/src/config/arazzo/sourceDescription/lint/type--equals-1-1.mjs +16 -0
- package/src/config/arazzo/step/lint/action--equals.cjs +23 -0
- package/src/config/arazzo/step/lint/action--equals.mjs +16 -0
- package/src/config/{ads/info/lint/description--type.cjs → arazzo/step/lint/action--type.cjs} +8 -6
- package/src/config/arazzo/step/lint/action--type.mjs +16 -0
- package/src/config/arazzo/step/lint/{allowed-fields.cjs → allowed-fields-1-0.cjs} +5 -3
- package/src/config/arazzo/step/lint/{allowed-fields.mjs → allowed-fields-1-0.mjs} +5 -4
- package/src/config/arazzo/step/lint/allowed-fields-1-1.cjs +21 -0
- package/src/config/arazzo/step/lint/allowed-fields-1-1.mjs +14 -0
- package/src/config/arazzo/step/lint/channel-path--mutually-exclusive.cjs +28 -0
- package/src/config/arazzo/step/lint/channel-path--mutually-exclusive.mjs +21 -0
- package/src/config/arazzo/step/lint/channel-path--type.cjs +23 -0
- package/src/config/arazzo/step/lint/channel-path--type.mjs +16 -0
- package/src/config/arazzo/step/lint/correlation-id--only-action-receive.cjs +34 -0
- package/src/config/arazzo/step/lint/correlation-id--only-action-receive.mjs +26 -0
- package/src/config/arazzo/step/lint/correlation-id--requires-action.cjs +30 -0
- package/src/config/arazzo/step/lint/correlation-id--requires-action.mjs +22 -0
- package/src/config/arazzo/step/lint/depends-on--resolved.cjs +32 -0
- package/src/config/arazzo/step/lint/depends-on--resolved.mjs +24 -0
- package/src/config/arazzo/step/lint/depends-on--source-type-consistency.cjs +23 -0
- package/src/config/arazzo/step/lint/depends-on--source-type-consistency.mjs +16 -0
- package/src/config/arazzo/step/lint/depends-on--type.cjs +23 -0
- package/src/config/arazzo/step/lint/depends-on--type.mjs +16 -0
- package/src/config/arazzo/step/lint/depends-on--unique.cjs +23 -0
- package/src/config/arazzo/step/lint/depends-on--unique.mjs +16 -0
- package/src/config/arazzo/step/lint/index.cjs +20 -3
- package/src/config/arazzo/step/lint/index.mjs +20 -3
- package/src/config/arazzo/step/lint/operation-id--mutually-exclusive.cjs +2 -2
- package/src/config/arazzo/step/lint/operation-id--mutually-exclusive.mjs +2 -2
- package/src/config/arazzo/step/lint/operation-id--source-type-consistency-1-0.cjs +25 -0
- package/src/config/arazzo/step/lint/operation-id--source-type-consistency-1-0.mjs +17 -0
- package/src/config/arazzo/step/lint/operation-id--source-type-consistency-1-1.cjs +23 -0
- package/src/config/arazzo/step/lint/operation-id--source-type-consistency-1-1.mjs +16 -0
- package/src/config/arazzo/step/lint/operation-path--mutually-exclusive.cjs +2 -2
- package/src/config/arazzo/step/lint/operation-path--mutually-exclusive.mjs +2 -2
- package/src/config/arazzo/step/lint/{outputs--values-type.cjs → outputs--values-type-1-0.cjs} +5 -3
- package/src/config/arazzo/step/lint/{outputs--values-type.mjs → outputs--values-type-1-0.mjs} +5 -4
- package/src/config/arazzo/step/lint/outputs--values-type-1-1.cjs +24 -0
- package/src/config/arazzo/step/lint/outputs--values-type-1-1.mjs +16 -0
- package/src/config/arazzo/step/lint/step-id--pattern.cjs +2 -2
- package/src/config/arazzo/step/lint/step-id--pattern.mjs +2 -2
- package/src/config/arazzo/step/lint/timeout--type.cjs +23 -0
- package/src/config/arazzo/step/lint/timeout--type.mjs +16 -0
- package/src/config/arazzo/step/lint/workflow-id--mutually-exclusive.cjs +2 -2
- package/src/config/arazzo/step/lint/workflow-id--mutually-exclusive.mjs +2 -2
- package/src/config/arazzo/step/lint/workflow-id--pattern.cjs +34 -0
- package/src/config/arazzo/step/lint/workflow-id--pattern.mjs +26 -0
- package/src/config/arazzo/step/lint/workflow-id--source-type-consistency.cjs +23 -0
- package/src/config/arazzo/step/lint/workflow-id--source-type-consistency.mjs +16 -0
- package/src/config/arazzo/successAction/lint/allowed-fields-1-0.cjs +27 -0
- package/src/config/arazzo/successAction/lint/allowed-fields-1-0.mjs +19 -0
- package/src/config/arazzo/successAction/lint/allowed-fields-1-1.cjs +25 -0
- package/src/config/arazzo/successAction/lint/allowed-fields-1-1.mjs +18 -0
- package/src/config/arazzo/successAction/lint/index.cjs +8 -2
- package/src/config/arazzo/successAction/lint/index.mjs +8 -2
- package/src/config/arazzo/successAction/lint/name--required.cjs +4 -0
- package/src/config/arazzo/successAction/lint/name--required.mjs +4 -0
- package/src/config/arazzo/successAction/lint/parameters--only-workflow-id.cjs +28 -0
- package/src/config/arazzo/successAction/lint/parameters--only-workflow-id.mjs +21 -0
- package/src/config/arazzo/successAction/lint/parameters--type.cjs +23 -0
- package/src/config/arazzo/successAction/lint/parameters--type.mjs +16 -0
- package/src/config/arazzo/successAction/lint/step-id--pattern.cjs +26 -0
- package/src/config/arazzo/successAction/lint/step-id--pattern.mjs +18 -0
- package/src/config/arazzo/successAction/lint/type--required.cjs +4 -0
- package/src/config/arazzo/successAction/lint/type--required.mjs +4 -0
- package/src/config/arazzo/successAction/lint/workflow-id--pattern.cjs +35 -0
- package/src/config/arazzo/successAction/lint/workflow-id--pattern.mjs +27 -0
- package/src/config/arazzo/successAction/lint/workflow-id--source-type-consistency.cjs +23 -0
- package/src/config/arazzo/successAction/lint/workflow-id--source-type-consistency.mjs +16 -0
- package/src/config/arazzo/target-specs.cjs +33 -5
- package/src/config/arazzo/target-specs.mjs +32 -4
- package/src/config/arazzo/workflow/lint/depends-on--source-type-consistency.cjs +23 -0
- package/src/config/arazzo/workflow/lint/depends-on--source-type-consistency.mjs +16 -0
- package/src/config/arazzo/workflow/lint/index.cjs +4 -2
- package/src/config/arazzo/workflow/lint/index.mjs +4 -2
- package/src/config/arazzo/workflow/lint/{outputs--values-type.cjs → outputs--values-type-1-0.cjs} +5 -3
- package/src/config/arazzo/workflow/lint/{outputs--values-type.mjs → outputs--values-type-1-0.mjs} +5 -4
- package/src/config/arazzo/workflow/lint/outputs--values-type-1-1.cjs +24 -0
- package/src/config/arazzo/workflow/lint/outputs--values-type-1-1.mjs +16 -0
- package/src/config/arazzo/workflow/lint/workflow-id--pattern.cjs +2 -2
- package/src/config/arazzo/workflow/lint/workflow-id--pattern.mjs +2 -2
- package/src/config/codes.cjs +50 -17
- package/src/config/codes.mjs +50 -17
- package/src/config/config.cjs +6 -8
- package/src/config/config.mjs +0 -2
- package/src/config/openapi/schema/lint.cjs +5 -1
- package/src/config/openapi/schema/lint.mjs +5 -1
- package/src/config/symbols.cjs +3 -4
- package/src/config/symbols.mjs +1 -2
- package/src/config/tokens.cjs +5 -6
- package/src/config/tokens.mjs +1 -2
- package/src/index.cjs +7 -0
- package/src/index.mjs +1 -0
- package/src/services/completion/completion-service.cjs +1 -1
- package/src/services/completion/completion-service.mjs +1 -1
- package/src/services/hover/hover-service.cjs +1 -1
- package/src/services/hover/hover-service.mjs +1 -1
- package/src/services/validation/linter-functions.cjs +150 -1
- package/src/services/validation/linter-functions.mjs +151 -2
- package/src/services/validation/providers/arazzo-11-json-schema-validation-provider.cjs +852 -0
- package/src/services/validation/providers/arazzo-11-json-schema-validation-provider.mjs +845 -0
- package/src/services/validation/validation-service.cjs +12 -4
- package/src/services/validation/validation-service.mjs +12 -4
- package/src/utils/utils.cjs +5 -1
- package/src/utils/utils.mjs +5 -1
- package/types/apidom-ls.d.ts +82 -17
- package/src/config/ads/config.cjs +0 -25
- package/src/config/ads/config.mjs +0 -18
- package/src/config/ads/info/completion.cjs +0 -31
- package/src/config/ads/info/completion.mjs +0 -25
- package/src/config/ads/info/documentation.cjs +0 -14
- package/src/config/ads/info/documentation.mjs +0 -8
- package/src/config/ads/info/lint/allowed-fields.cjs +0 -19
- package/src/config/ads/info/lint/allowed-fields.mjs +0 -12
- package/src/config/ads/info/lint/index.cjs +0 -13
- package/src/config/ads/info/lint/index.mjs +0 -6
- package/src/config/ads/info/lint/title--required.cjs +0 -27
- package/src/config/ads/info/lint/title--required.mjs +0 -20
- package/src/config/ads/info/lint/title--type.mjs +0 -14
- package/src/config/ads/info/meta.mjs +0 -9
- package/src/config/ads/main/completion.cjs +0 -72
- package/src/config/ads/main/completion.mjs +0 -66
- package/src/config/ads/main/documentation.cjs +0 -23
- package/src/config/ads/main/documentation.mjs +0 -17
- package/src/config/ads/main/lint/allowed-fields.cjs +0 -19
- package/src/config/ads/main/lint/allowed-fields.mjs +0 -12
- package/src/config/ads/main/lint/index.cjs +0 -14
- package/src/config/ads/main/lint/index.mjs +0 -7
- package/src/config/ads/main/lint/info--required.cjs +0 -27
- package/src/config/ads/main/lint/info--required.mjs +0 -20
- package/src/config/ads/main/lint/info--type.cjs +0 -21
- package/src/config/ads/main/lint/info--type.mjs +0 -14
- package/src/config/ads/main/lint/version--pattern.cjs +0 -27
- package/src/config/ads/main/lint/version--pattern.mjs +0 -20
- package/src/config/ads/main/lint/version--required.cjs +0 -27
- package/src/config/ads/main/lint/version--required.mjs +0 -20
- package/src/config/ads/main/meta.cjs +0 -16
- package/src/config/ads/main/meta.mjs +0 -9
- package/src/config/ads/symbols.cjs +0 -8
- package/src/config/ads/symbols.mjs +0 -2
- package/src/config/ads/tokens.cjs +0 -8
- package/src/config/ads/tokens.mjs +0 -2
- package/src/config/arazzo/JSONSchema/lint.cjs +0 -77
- package/src/config/arazzo/JSONSchema/lint.mjs +0 -68
- package/src/config/arazzo/criterionExpressionType/lint/index.mjs +0 -8
- package/src/config/arazzo/criterionExpressionType/lint/version--required.mjs +0 -22
- /package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/allowed-fields.cjs +0 -0
- /package/src/config/arazzo/{criterionExpressionType → expressionType}/lint/allowed-fields.mjs +0 -0
- /package/src/config/arazzo/{criterionExpressionType → expressionType}/meta.cjs +0 -0
- /package/src/config/arazzo/{criterionExpressionType → expressionType}/meta.mjs +0 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speclynx/apidom-ls",
|
|
3
3
|
"description": "SpecLynx ApiDOM Language Service.",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.12.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
7
7
|
"registry": "https://registry.npmjs.org",
|
|
@@ -94,6 +94,11 @@
|
|
|
94
94
|
"require": "./src/services/validation/providers/arazzo-1-json-schema-validation-provider.cjs",
|
|
95
95
|
"types": "./types/services/validation/providers/arazzo-1-json-schema-validation-provider.d.ts"
|
|
96
96
|
},
|
|
97
|
+
"./services/validation/providers/arazzo-11-json-schema": {
|
|
98
|
+
"import": "./src/services/validation/providers/arazzo-11-json-schema-validation-provider.mjs",
|
|
99
|
+
"require": "./src/services/validation/providers/arazzo-11-json-schema-validation-provider.cjs",
|
|
100
|
+
"types": "./types/services/validation/providers/arazzo-11-json-schema-validation-provider.d.ts"
|
|
101
|
+
},
|
|
97
102
|
"./services/validation/providers/overlay-1-json-schema": {
|
|
98
103
|
"import": "./src/services/validation/providers/overlay-1-json-schema-validation-provider.mjs",
|
|
99
104
|
"require": "./src/services/validation/providers/overlay-1-json-schema-validation-provider.cjs",
|
|
@@ -121,34 +126,34 @@
|
|
|
121
126
|
},
|
|
122
127
|
"dependencies": {
|
|
123
128
|
"@babel/runtime-corejs3": "^8.0.0",
|
|
124
|
-
"@speclynx/apidom-core": "^5.
|
|
125
|
-
"@speclynx/apidom-datamodel": "^5.
|
|
126
|
-
"@speclynx/apidom-json-path": "^5.
|
|
127
|
-
"@speclynx/apidom-json-pointer": "^5.
|
|
128
|
-
"@speclynx/apidom-ns-arazzo-1": "^5.
|
|
129
|
-
"@speclynx/apidom-ns-asyncapi-2": "^5.
|
|
130
|
-
"@speclynx/apidom-ns-openapi-2": "^5.
|
|
131
|
-
"@speclynx/apidom-ns-openapi-3-0": "^5.
|
|
132
|
-
"@speclynx/apidom-ns-openapi-3-1": "^5.
|
|
133
|
-
"@speclynx/apidom-ns-overlay-1": "^5.
|
|
134
|
-
"@speclynx/apidom-parser": "^5.
|
|
135
|
-
"@speclynx/apidom-parser-adapter-arazzo-json-1": "^5.
|
|
136
|
-
"@speclynx/apidom-parser-adapter-arazzo-yaml-1": "^5.
|
|
137
|
-
"@speclynx/apidom-parser-adapter-asyncapi-json-2": "^5.
|
|
138
|
-
"@speclynx/apidom-parser-adapter-asyncapi-yaml-2": "^5.
|
|
139
|
-
"@speclynx/apidom-parser-adapter-json": "^5.
|
|
140
|
-
"@speclynx/apidom-parser-adapter-openapi-json-2": "^5.
|
|
141
|
-
"@speclynx/apidom-parser-adapter-openapi-json-3-0": "^5.
|
|
142
|
-
"@speclynx/apidom-parser-adapter-openapi-json-3-1": "^5.
|
|
143
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-2": "^5.
|
|
144
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-3-0": "^5.
|
|
145
|
-
"@speclynx/apidom-parser-adapter-openapi-yaml-3-1": "^5.
|
|
146
|
-
"@speclynx/apidom-parser-adapter-overlay-json-1": "^5.
|
|
147
|
-
"@speclynx/apidom-parser-adapter-overlay-yaml-1": "^5.
|
|
148
|
-
"@speclynx/apidom-parser-adapter-yaml-1-2": "^5.
|
|
149
|
-
"@speclynx/apidom-reference": "^5.
|
|
150
|
-
"@speclynx/apidom-traverse": "^5.
|
|
151
|
-
"@swaggerexpert/arazzo-runtime-expression": "^3.
|
|
129
|
+
"@speclynx/apidom-core": "^5.2.1",
|
|
130
|
+
"@speclynx/apidom-datamodel": "^5.2.1",
|
|
131
|
+
"@speclynx/apidom-json-path": "^5.2.1",
|
|
132
|
+
"@speclynx/apidom-json-pointer": "^5.2.1",
|
|
133
|
+
"@speclynx/apidom-ns-arazzo-1": "^5.2.1",
|
|
134
|
+
"@speclynx/apidom-ns-asyncapi-2": "^5.2.1",
|
|
135
|
+
"@speclynx/apidom-ns-openapi-2": "^5.2.1",
|
|
136
|
+
"@speclynx/apidom-ns-openapi-3-0": "^5.2.1",
|
|
137
|
+
"@speclynx/apidom-ns-openapi-3-1": "^5.2.1",
|
|
138
|
+
"@speclynx/apidom-ns-overlay-1": "^5.2.1",
|
|
139
|
+
"@speclynx/apidom-parser": "^5.2.1",
|
|
140
|
+
"@speclynx/apidom-parser-adapter-arazzo-json-1": "^5.2.1",
|
|
141
|
+
"@speclynx/apidom-parser-adapter-arazzo-yaml-1": "^5.2.1",
|
|
142
|
+
"@speclynx/apidom-parser-adapter-asyncapi-json-2": "^5.2.1",
|
|
143
|
+
"@speclynx/apidom-parser-adapter-asyncapi-yaml-2": "^5.2.1",
|
|
144
|
+
"@speclynx/apidom-parser-adapter-json": "^5.2.1",
|
|
145
|
+
"@speclynx/apidom-parser-adapter-openapi-json-2": "^5.2.1",
|
|
146
|
+
"@speclynx/apidom-parser-adapter-openapi-json-3-0": "^5.2.1",
|
|
147
|
+
"@speclynx/apidom-parser-adapter-openapi-json-3-1": "^5.2.1",
|
|
148
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-2": "^5.2.1",
|
|
149
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-3-0": "^5.2.1",
|
|
150
|
+
"@speclynx/apidom-parser-adapter-openapi-yaml-3-1": "^5.2.1",
|
|
151
|
+
"@speclynx/apidom-parser-adapter-overlay-json-1": "^5.2.1",
|
|
152
|
+
"@speclynx/apidom-parser-adapter-overlay-yaml-1": "^5.2.1",
|
|
153
|
+
"@speclynx/apidom-parser-adapter-yaml-1-2": "^5.2.1",
|
|
154
|
+
"@speclynx/apidom-reference": "^5.2.1",
|
|
155
|
+
"@speclynx/apidom-traverse": "^5.2.1",
|
|
156
|
+
"@swaggerexpert/arazzo-runtime-expression": "^3.2.0",
|
|
152
157
|
"@swaggerexpert/jsonpath": "^4.0.4",
|
|
153
158
|
"@types/ramda": "~0.30.0",
|
|
154
159
|
"openapi-path-templating": "^2.2.1",
|
|
@@ -180,5 +185,5 @@
|
|
|
180
185
|
"README.md",
|
|
181
186
|
"CHANGELOG.md"
|
|
182
187
|
],
|
|
183
|
-
"gitHead": "
|
|
188
|
+
"gitHead": "e41392d2bb85d4445ab7cc0a85415de1270ae693"
|
|
184
189
|
}
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _vscodeLanguageserverTypes = require("vscode-languageserver-types");
|
|
9
|
-
var _codes = _interopRequireDefault(require("
|
|
10
|
-
var _targetSpecs = require("
|
|
9
|
+
var _codes = _interopRequireDefault(require("../../../codes.cjs"));
|
|
10
|
+
var _targetSpecs = require("../../target-specs.cjs");
|
|
11
11
|
const descriptionNoScriptTagsLint = {
|
|
12
12
|
code: _codes.default.ARAZZO_SPEC_NO_SCRIPT_TAGS,
|
|
13
13
|
source: 'apilint',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DiagnosticSeverity } from 'vscode-languageserver-types';
|
|
2
|
-
import ApilintCodes from "
|
|
3
|
-
import { Arazzo } from "
|
|
2
|
+
import ApilintCodes from "../../../codes.mjs";
|
|
3
|
+
import { Arazzo } from "../../target-specs.mjs";
|
|
4
4
|
const descriptionNoScriptTagsLint = {
|
|
5
5
|
code: ApilintCodes.ARAZZO_SPEC_NO_SCRIPT_TAGS,
|
|
6
6
|
source: 'apilint',
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _lint = _interopRequireDefault(require("../../../json-schema/2020-12/json-schema/lint.cjs"));
|
|
9
|
+
var _targetSpecs = require("../../../json-schema/2020-12/target-specs.cjs");
|
|
10
|
+
var _additionalItemsNonArray = _interopRequireDefault(require("../../../common/schema/lint/additional-items--non-array.cjs"));
|
|
11
|
+
var _additionalItemsTypeOpenapi31Asyncapi = _interopRequireDefault(require("../../../common/schema/lint/additional-items--type-openapi-3-1--asyncapi-2.cjs"));
|
|
12
|
+
var _additionalPropertiesNonObject = _interopRequireDefault(require("../../../common/schema/lint/additional-properties--non-object.cjs"));
|
|
13
|
+
var _additionalPropertiesType = _interopRequireDefault(require("../../../common/schema/lint/additional-properties--type.cjs"));
|
|
14
|
+
var _allOfTypeOpenapi31Asyncapi = _interopRequireDefault(require("../../../common/schema/lint/all-of--type-openapi-3-1--asyncapi-2.cjs"));
|
|
15
|
+
var _anyOfTypeOpenapi31Asyncapi = _interopRequireDefault(require("../../../common/schema/lint/any-of--type-openapi-3-1--asyncapi-2.cjs"));
|
|
16
|
+
var _containsNonArray = _interopRequireDefault(require("../../../common/schema/lint/contains--non-array.cjs"));
|
|
17
|
+
var _containsTypeOpenapi31Asyncapi = _interopRequireDefault(require("../../../common/schema/lint/contains--type-openapi-3-1--asyncapi-2.cjs"));
|
|
18
|
+
var _deprecatedType = _interopRequireDefault(require("../../../common/schema/lint/deprecated--type.cjs"));
|
|
19
|
+
var _descriptionType = _interopRequireDefault(require("../../../common/schema/lint/description--type.cjs"));
|
|
20
|
+
var _elseNonIf = _interopRequireDefault(require("../../../common/schema/lint/else--non-if.cjs"));
|
|
21
|
+
var _elseType = _interopRequireDefault(require("../../../common/schema/lint/else--type.cjs"));
|
|
22
|
+
var _enumUnique = _interopRequireDefault(require("../../../common/schema/lint/enum--unique.cjs"));
|
|
23
|
+
var _examplesType = _interopRequireDefault(require("../../../common/schema/lint/examples--type.cjs"));
|
|
24
|
+
var _exclusiveMaximumTypeNumber = _interopRequireDefault(require("../../../common/schema/lint/exclusive-maximum--type-number.cjs"));
|
|
25
|
+
var _exclusiveMinimumTypeNumber = _interopRequireDefault(require("../../../common/schema/lint/exclusive-minimum--type-number.cjs"));
|
|
26
|
+
var _formatType = _interopRequireDefault(require("../../../common/schema/lint/format--type.cjs"));
|
|
27
|
+
var _ifNonThen = _interopRequireDefault(require("../../../common/schema/lint/if--non-then.cjs"));
|
|
28
|
+
var _ifType = _interopRequireDefault(require("../../../common/schema/lint/if--type.cjs"));
|
|
29
|
+
var _itemsNonArray = _interopRequireDefault(require("../../../common/schema/lint/items--non-array.cjs"));
|
|
30
|
+
var _itemsType = _interopRequireDefault(require("../../../common/schema/lint/items--type.cjs"));
|
|
31
|
+
var _maxItemsNonArray = _interopRequireDefault(require("../../../common/schema/lint/max-items--non-array.cjs"));
|
|
32
|
+
var _maxItemsType = _interopRequireDefault(require("../../../common/schema/lint/max-items--type.cjs"));
|
|
33
|
+
var _maxLengthNonString = _interopRequireDefault(require("../../../common/schema/lint/max-length--non-string.cjs"));
|
|
34
|
+
var _maxLengthType = _interopRequireDefault(require("../../../common/schema/lint/max-length--type.cjs"));
|
|
35
|
+
var _maxPropertiesNonObject = _interopRequireDefault(require("../../../common/schema/lint/max-properties--non-object.cjs"));
|
|
36
|
+
var _maxPropertiesType = _interopRequireDefault(require("../../../common/schema/lint/max-properties--type.cjs"));
|
|
37
|
+
var _maximumType = _interopRequireDefault(require("../../../common/schema/lint/maximum--type.cjs"));
|
|
38
|
+
var _minItemsNonArray = _interopRequireDefault(require("../../../common/schema/lint/min-items--non-array.cjs"));
|
|
39
|
+
var _minItemsType = _interopRequireDefault(require("../../../common/schema/lint/min-items--type.cjs"));
|
|
40
|
+
var _minLengthNonString = _interopRequireDefault(require("../../../common/schema/lint/min-length--non-string.cjs"));
|
|
41
|
+
var _minLengthType = _interopRequireDefault(require("../../../common/schema/lint/min-length--type.cjs"));
|
|
42
|
+
var _minPropertiesNonObject = _interopRequireDefault(require("../../../common/schema/lint/min-properties--non-object.cjs"));
|
|
43
|
+
var _minPropertiesType = _interopRequireDefault(require("../../../common/schema/lint/min-properties--type.cjs"));
|
|
44
|
+
var _minimumType = _interopRequireDefault(require("../../../common/schema/lint/minimum--type.cjs"));
|
|
45
|
+
var _missingCoreFieldsOpenapi = _interopRequireDefault(require("../../../common/schema/lint/missing-core-fields-openapi-3-1.cjs"));
|
|
46
|
+
var _multipleOfType = _interopRequireDefault(require("../../../common/schema/lint/multiple-of--type.cjs"));
|
|
47
|
+
var _notTypeOpenapi31Asyncapi = _interopRequireDefault(require("../../../common/schema/lint/not--type-openapi-3-1-asyncapi-2.cjs"));
|
|
48
|
+
var _oneOfTypeOpenapi31Asyncapi = _interopRequireDefault(require("../../../common/schema/lint/one-of--type-openapi-3-1--asyncapi-2.cjs"));
|
|
49
|
+
var _patternType = _interopRequireDefault(require("../../../common/schema/lint/pattern--type.cjs"));
|
|
50
|
+
var _patternPropertiesKeysRegexp = _interopRequireDefault(require("../../../common/schema/lint/pattern-properties--keys-regexp.cjs"));
|
|
51
|
+
var _patternPropertiesNonObject = _interopRequireDefault(require("../../../common/schema/lint/pattern-properties--non-object.cjs"));
|
|
52
|
+
var _patternPropertiesType = _interopRequireDefault(require("../../../common/schema/lint/pattern-properties--type.cjs"));
|
|
53
|
+
var _patternPropertiesValuesType = _interopRequireDefault(require("../../../common/schema/lint/pattern-properties--values-type.cjs"));
|
|
54
|
+
var _propertiesNonObject = _interopRequireDefault(require("../../../common/schema/lint/properties--non-object.cjs"));
|
|
55
|
+
var _propertiesType = _interopRequireDefault(require("../../../common/schema/lint/properties--type.cjs"));
|
|
56
|
+
var _propertiesValuesTypeOpenapi31Asyncapi = _interopRequireDefault(require("../../../common/schema/lint/properties--values-type-openapi-3-1--asyncapi-2.cjs"));
|
|
57
|
+
var _propertyNamesNonObject = _interopRequireDefault(require("../../../common/schema/lint/property-names--non-object.cjs"));
|
|
58
|
+
var _propertyNamesType = _interopRequireDefault(require("../../../common/schema/lint/property-names--type.cjs"));
|
|
59
|
+
var _readOnlyType = _interopRequireDefault(require("../../../common/schema/lint/read-only--type.cjs"));
|
|
60
|
+
var _requiredDefined = _interopRequireDefault(require("../../../common/schema/lint/required--defined.cjs"));
|
|
61
|
+
var _requiredNonObject = _interopRequireDefault(require("../../../common/schema/lint/required--non-object.cjs"));
|
|
62
|
+
var _requiredType = _interopRequireDefault(require("../../../common/schema/lint/required--type.cjs"));
|
|
63
|
+
var _thenNonIf = _interopRequireDefault(require("../../../common/schema/lint/then--non-if.cjs"));
|
|
64
|
+
var _thenType = _interopRequireDefault(require("../../../common/schema/lint/then--type.cjs"));
|
|
65
|
+
var _titleType = _interopRequireDefault(require("../../../common/schema/lint/title--type.cjs"));
|
|
66
|
+
var _typeEqualsOpenapi31Asyncapi = _interopRequireDefault(require("../../../common/schema/lint/type--equals-openapi-3-1--asyncapi-2.cjs"));
|
|
67
|
+
var _uniqueItemsNonArray = _interopRequireDefault(require("../../../common/schema/lint/unique-items--non-array.cjs"));
|
|
68
|
+
var _uniqueItemsType = _interopRequireDefault(require("../../../common/schema/lint/unique-items--type.cjs"));
|
|
69
|
+
var _writeOnlyType = _interopRequireDefault(require("../../../common/schema/lint/write-only--type.cjs"));
|
|
70
|
+
var _typeArrayNonItems = _interopRequireDefault(require("../../../common/schema/lint/type--array-non-items.cjs"));
|
|
71
|
+
var _titleNoScriptTags = _interopRequireDefault(require("./title--no-script-tags.cjs"));
|
|
72
|
+
var _descriptionNoScriptTags = _interopRequireDefault(require("./description--no-script-tags.cjs"));
|
|
73
|
+
var _targetSpecs2 = require("../../target-specs.cjs");
|
|
74
|
+
// below are older rule variants that need to be replaced.
|
|
75
|
+
// $id and $ref are deliberately absent: the composed JSON Schema 2020-12 rules
|
|
76
|
+
// above already cover them (codes 8030100 / 8030300). importing the
|
|
77
|
+
// common/schema equivalents ($id--format-uri, $ref--valid) adds functionally
|
|
78
|
+
// identical rules and yields duplicate diagnostics on the same range.
|
|
79
|
+
|
|
80
|
+
const schemaLints = [...(0, _targetSpecs.compose)([_lint.default], (0, _targetSpecs.assoc)(_targetSpecs2.Arazzo)), _additionalItemsNonArray.default, _additionalItemsTypeOpenapi31Asyncapi.default, _additionalPropertiesNonObject.default, _additionalPropertiesType.default, _allOfTypeOpenapi31Asyncapi.default, _anyOfTypeOpenapi31Asyncapi.default, _containsNonArray.default, _containsTypeOpenapi31Asyncapi.default, _deprecatedType.default, _descriptionType.default, _elseNonIf.default, _elseType.default, _enumUnique.default, _examplesType.default, _exclusiveMaximumTypeNumber.default, _exclusiveMinimumTypeNumber.default, _formatType.default, _ifNonThen.default, _ifType.default, _itemsNonArray.default, _itemsType.default, _maxItemsNonArray.default, _maxItemsType.default, _maxLengthNonString.default, _maxLengthType.default, _maxPropertiesNonObject.default, _maxPropertiesType.default, _maximumType.default, _minItemsNonArray.default, _minItemsType.default, _minLengthNonString.default, _minLengthType.default, _minPropertiesNonObject.default, _minPropertiesType.default, _minimumType.default, _missingCoreFieldsOpenapi.default, _multipleOfType.default, _notTypeOpenapi31Asyncapi.default, _oneOfTypeOpenapi31Asyncapi.default, _patternType.default, _patternPropertiesKeysRegexp.default, _patternPropertiesNonObject.default, _patternPropertiesType.default, _patternPropertiesValuesType.default, _propertiesNonObject.default, _propertiesType.default, _propertiesValuesTypeOpenapi31Asyncapi.default, _propertyNamesNonObject.default, _propertyNamesType.default, _readOnlyType.default, _requiredDefined.default, _requiredNonObject.default, _requiredType.default, _thenNonIf.default, _thenType.default, _titleType.default, _typeEqualsOpenapi31Asyncapi.default, _uniqueItemsNonArray.default, _uniqueItemsType.default, _writeOnlyType.default, _typeArrayNonItems.default, _titleNoScriptTags.default, _descriptionNoScriptTags.default];
|
|
81
|
+
var _default = exports.default = schemaLints;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import jsonSchema202012Lint from "../../../json-schema/2020-12/json-schema/lint.mjs";
|
|
2
|
+
import { compose, assoc } from "../../../json-schema/2020-12/target-specs.mjs"; // below are older rule variants that need to be replaced.
|
|
3
|
+
// $id and $ref are deliberately absent: the composed JSON Schema 2020-12 rules
|
|
4
|
+
// above already cover them (codes 8030100 / 8030300). importing the
|
|
5
|
+
// common/schema equivalents ($id--format-uri, $ref--valid) adds functionally
|
|
6
|
+
// identical rules and yields duplicate diagnostics on the same range.
|
|
7
|
+
import additionalItemsNonArrayLint from "../../../common/schema/lint/additional-items--non-array.mjs";
|
|
8
|
+
import additionalItemsTypeOpenAPI3_1__AsyncAPI2Lint from "../../../common/schema/lint/additional-items--type-openapi-3-1--asyncapi-2.mjs";
|
|
9
|
+
import additionalPropertiesNonObject from "../../../common/schema/lint/additional-properties--non-object.mjs";
|
|
10
|
+
import additionalPropertiesTypeLint from "../../../common/schema/lint/additional-properties--type.mjs";
|
|
11
|
+
import allOfTypeOpenAPI3_1__AsyncAPI2Lint from "../../../common/schema/lint/all-of--type-openapi-3-1--asyncapi-2.mjs";
|
|
12
|
+
import anyOfTypeOpenAPI3_1__AsyncAPI2Lint from "../../../common/schema/lint/any-of--type-openapi-3-1--asyncapi-2.mjs";
|
|
13
|
+
import containsNonArrayLint from "../../../common/schema/lint/contains--non-array.mjs";
|
|
14
|
+
import containsTypeOpenAPI3_1__AsyncAPI2Lint from "../../../common/schema/lint/contains--type-openapi-3-1--asyncapi-2.mjs";
|
|
15
|
+
import deprecatedTypeLint from "../../../common/schema/lint/deprecated--type.mjs";
|
|
16
|
+
import descriptionTypeLint from "../../../common/schema/lint/description--type.mjs";
|
|
17
|
+
import elseNonIfLint from "../../../common/schema/lint/else--non-if.mjs";
|
|
18
|
+
import elseTypeLint from "../../../common/schema/lint/else--type.mjs";
|
|
19
|
+
import enumUniqueLint from "../../../common/schema/lint/enum--unique.mjs";
|
|
20
|
+
import examplesTypeLint from "../../../common/schema/lint/examples--type.mjs";
|
|
21
|
+
import exclusiveMaximumTypeNumberLint from "../../../common/schema/lint/exclusive-maximum--type-number.mjs";
|
|
22
|
+
import exclusiveMinimumTypeNumberLint from "../../../common/schema/lint/exclusive-minimum--type-number.mjs";
|
|
23
|
+
import formatTypeLint from "../../../common/schema/lint/format--type.mjs";
|
|
24
|
+
import ifNonThenLint from "../../../common/schema/lint/if--non-then.mjs";
|
|
25
|
+
import ifTypeLint from "../../../common/schema/lint/if--type.mjs";
|
|
26
|
+
import itemsNonArrayLint from "../../../common/schema/lint/items--non-array.mjs";
|
|
27
|
+
import itemsTypeLint from "../../../common/schema/lint/items--type.mjs";
|
|
28
|
+
import maxItemsNonArrayLint from "../../../common/schema/lint/max-items--non-array.mjs";
|
|
29
|
+
import maxItemsTypeLint from "../../../common/schema/lint/max-items--type.mjs";
|
|
30
|
+
import maxLengthNonStringLint from "../../../common/schema/lint/max-length--non-string.mjs";
|
|
31
|
+
import maxLengthTypeLint from "../../../common/schema/lint/max-length--type.mjs";
|
|
32
|
+
import maxPropertiesNonObjectLint from "../../../common/schema/lint/max-properties--non-object.mjs";
|
|
33
|
+
import maxPropertiesTypeLint from "../../../common/schema/lint/max-properties--type.mjs";
|
|
34
|
+
import maximumTypeLint from "../../../common/schema/lint/maximum--type.mjs";
|
|
35
|
+
import minItemsNonArrayLint from "../../../common/schema/lint/min-items--non-array.mjs";
|
|
36
|
+
import minItemsTypeLint from "../../../common/schema/lint/min-items--type.mjs";
|
|
37
|
+
import minLengthNonString from "../../../common/schema/lint/min-length--non-string.mjs";
|
|
38
|
+
import minLengthTypeLint from "../../../common/schema/lint/min-length--type.mjs";
|
|
39
|
+
import minPropertiesNonObjectLint from "../../../common/schema/lint/min-properties--non-object.mjs";
|
|
40
|
+
import minPropertiesTypeLint from "../../../common/schema/lint/min-properties--type.mjs";
|
|
41
|
+
import minimumTypeLint from "../../../common/schema/lint/minimum--type.mjs";
|
|
42
|
+
import missingCoreFieldsOpenAPI3_1Lint from "../../../common/schema/lint/missing-core-fields-openapi-3-1.mjs";
|
|
43
|
+
import multipleOfTypeLint from "../../../common/schema/lint/multiple-of--type.mjs";
|
|
44
|
+
import notTypeOpenAPI3_1_AsyncAPI2Lint from "../../../common/schema/lint/not--type-openapi-3-1-asyncapi-2.mjs";
|
|
45
|
+
import oneOfTypeOpenAPI3_1__AsyncAPI2Lint from "../../../common/schema/lint/one-of--type-openapi-3-1--asyncapi-2.mjs";
|
|
46
|
+
import patternTypeLint from "../../../common/schema/lint/pattern--type.mjs";
|
|
47
|
+
import patternPropertiesKeysRegexpLint from "../../../common/schema/lint/pattern-properties--keys-regexp.mjs";
|
|
48
|
+
import patternPropertiesNonObjectLint from "../../../common/schema/lint/pattern-properties--non-object.mjs";
|
|
49
|
+
import patternPropertiesTypeLint from "../../../common/schema/lint/pattern-properties--type.mjs";
|
|
50
|
+
import patternPropertiesValuesTypeLint from "../../../common/schema/lint/pattern-properties--values-type.mjs";
|
|
51
|
+
import propertiesNonObjectLint from "../../../common/schema/lint/properties--non-object.mjs";
|
|
52
|
+
import propertiesTypeLint from "../../../common/schema/lint/properties--type.mjs";
|
|
53
|
+
import propertiesValuesTypeOpenAPI3_1__AsyncAPI2Lint from "../../../common/schema/lint/properties--values-type-openapi-3-1--asyncapi-2.mjs";
|
|
54
|
+
import propertyNamesNonObjectLint from "../../../common/schema/lint/property-names--non-object.mjs";
|
|
55
|
+
import propertyNamesTypeLint from "../../../common/schema/lint/property-names--type.mjs";
|
|
56
|
+
import readOnlyTypeLint from "../../../common/schema/lint/read-only--type.mjs";
|
|
57
|
+
import requiredDefinedLint from "../../../common/schema/lint/required--defined.mjs";
|
|
58
|
+
import requiredNonObjectLint from "../../../common/schema/lint/required--non-object.mjs";
|
|
59
|
+
import requiredTypeLint from "../../../common/schema/lint/required--type.mjs";
|
|
60
|
+
import thenNonIfLint from "../../../common/schema/lint/then--non-if.mjs";
|
|
61
|
+
import thenTypeLint from "../../../common/schema/lint/then--type.mjs";
|
|
62
|
+
import titleTypeLint from "../../../common/schema/lint/title--type.mjs";
|
|
63
|
+
import typeEqualsOpenAPI3_1__AsyncAPI2Lint from "../../../common/schema/lint/type--equals-openapi-3-1--asyncapi-2.mjs";
|
|
64
|
+
import uniqueItemsNonArrayLint from "../../../common/schema/lint/unique-items--non-array.mjs";
|
|
65
|
+
import uniqueItemsTypeLint from "../../../common/schema/lint/unique-items--type.mjs";
|
|
66
|
+
import writeOnlyTypeLint from "../../../common/schema/lint/write-only--type.mjs";
|
|
67
|
+
import typeArrayNonItemsLint from "../../../common/schema/lint/type--array-non-items.mjs";
|
|
68
|
+
import titleNoScriptTagsLint from "./title--no-script-tags.mjs";
|
|
69
|
+
import descriptionNoScriptTagsLint from "./description--no-script-tags.mjs";
|
|
70
|
+
import { Arazzo } from "../../target-specs.mjs";
|
|
71
|
+
const schemaLints = [...compose([jsonSchema202012Lint], assoc(Arazzo)), additionalItemsNonArrayLint, additionalItemsTypeOpenAPI3_1__AsyncAPI2Lint, additionalPropertiesNonObject, additionalPropertiesTypeLint, allOfTypeOpenAPI3_1__AsyncAPI2Lint, anyOfTypeOpenAPI3_1__AsyncAPI2Lint, containsNonArrayLint, containsTypeOpenAPI3_1__AsyncAPI2Lint, deprecatedTypeLint, descriptionTypeLint, elseNonIfLint, elseTypeLint, enumUniqueLint, examplesTypeLint, exclusiveMaximumTypeNumberLint, exclusiveMinimumTypeNumberLint, formatTypeLint, ifNonThenLint, ifTypeLint, itemsNonArrayLint, itemsTypeLint, maxItemsNonArrayLint, maxItemsTypeLint, maxLengthNonStringLint, maxLengthTypeLint, maxPropertiesNonObjectLint, maxPropertiesTypeLint, maximumTypeLint, minItemsNonArrayLint, minItemsTypeLint, minLengthNonString, minLengthTypeLint, minPropertiesNonObjectLint, minPropertiesTypeLint, minimumTypeLint, missingCoreFieldsOpenAPI3_1Lint, multipleOfTypeLint, notTypeOpenAPI3_1_AsyncAPI2Lint, oneOfTypeOpenAPI3_1__AsyncAPI2Lint, patternTypeLint, patternPropertiesKeysRegexpLint, patternPropertiesNonObjectLint, patternPropertiesTypeLint, patternPropertiesValuesTypeLint, propertiesNonObjectLint, propertiesTypeLint, propertiesValuesTypeOpenAPI3_1__AsyncAPI2Lint, propertyNamesNonObjectLint, propertyNamesTypeLint, readOnlyTypeLint, requiredDefinedLint, requiredNonObjectLint, requiredTypeLint, thenNonIfLint, thenTypeLint, titleTypeLint, typeEqualsOpenAPI3_1__AsyncAPI2Lint, uniqueItemsNonArrayLint, uniqueItemsTypeLint, writeOnlyTypeLint, typeArrayNonItemsLint, titleNoScriptTagsLint, descriptionNoScriptTagsLint];
|
|
72
|
+
export default schemaLints;
|
package/src/config/arazzo/JSONSchema/{title--no-script-tags.cjs → lint/title--no-script-tags.cjs}
RENAMED
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _vscodeLanguageserverTypes = require("vscode-languageserver-types");
|
|
9
|
-
var _codes = _interopRequireDefault(require("
|
|
10
|
-
var _targetSpecs = require("
|
|
9
|
+
var _codes = _interopRequireDefault(require("../../../codes.cjs"));
|
|
10
|
+
var _targetSpecs = require("../../target-specs.cjs");
|
|
11
11
|
const titleNoScriptTagsLint = {
|
|
12
12
|
code: _codes.default.ARAZZO_SPEC_NO_SCRIPT_TAGS,
|
|
13
13
|
source: 'apilint',
|
package/src/config/arazzo/JSONSchema/{title--no-script-tags.mjs → lint/title--no-script-tags.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DiagnosticSeverity } from 'vscode-languageserver-types';
|
|
2
|
-
import ApilintCodes from "
|
|
3
|
-
import { Arazzo } from "
|
|
2
|
+
import ApilintCodes from "../../../codes.mjs";
|
|
3
|
+
import { Arazzo } from "../../target-specs.mjs";
|
|
4
4
|
const titleNoScriptTagsLint = {
|
|
5
5
|
code: ApilintCodes.ARAZZO_SPEC_NO_SCRIPT_TAGS,
|
|
6
6
|
source: 'apilint',
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var
|
|
8
|
+
var _index = _interopRequireDefault(require("./lint/index.cjs"));
|
|
9
9
|
const meta = {
|
|
10
|
-
lint:
|
|
10
|
+
lint: _index.default
|
|
11
11
|
};
|
|
12
12
|
var _default = exports.default = meta;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _vscodeLanguageserverTypes = require("vscode-languageserver-types");
|
|
9
|
+
var _codes = _interopRequireDefault(require("../../../codes.cjs"));
|
|
10
|
+
var _targetSpecs = require("../../target-specs.cjs");
|
|
11
|
+
const $selfFormatURILint = {
|
|
12
|
+
code: _codes.default.ARAZZO_SPEC_FIELD_$SELF_FORMAT_URI,
|
|
13
|
+
source: 'apilint',
|
|
14
|
+
message: '$self must be in the format of a URI-reference.',
|
|
15
|
+
severity: _vscodeLanguageserverTypes.DiagnosticSeverity.Error,
|
|
16
|
+
linterFunction: 'apilintValidURI',
|
|
17
|
+
linterParams: [false],
|
|
18
|
+
marker: 'value',
|
|
19
|
+
target: '$self',
|
|
20
|
+
data: {},
|
|
21
|
+
targetSpecs: [..._targetSpecs.Arazzo11]
|
|
22
|
+
};
|
|
23
|
+
var _default = exports.default = $selfFormatURILint;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DiagnosticSeverity } from 'vscode-languageserver-types';
|
|
2
|
+
import ApilintCodes from "../../../codes.mjs";
|
|
3
|
+
import { Arazzo11 } from "../../target-specs.mjs";
|
|
4
|
+
const $selfFormatURILint = {
|
|
5
|
+
code: ApilintCodes.ARAZZO_SPEC_FIELD_$SELF_FORMAT_URI,
|
|
6
|
+
source: 'apilint',
|
|
7
|
+
message: '$self must be in the format of a URI-reference.',
|
|
8
|
+
severity: DiagnosticSeverity.Error,
|
|
9
|
+
linterFunction: 'apilintValidURI',
|
|
10
|
+
linterParams: [false],
|
|
11
|
+
marker: 'value',
|
|
12
|
+
target: '$self',
|
|
13
|
+
data: {},
|
|
14
|
+
targetSpecs: [...Arazzo11]
|
|
15
|
+
};
|
|
16
|
+
export default $selfFormatURILint;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _vscodeLanguageserverTypes = require("vscode-languageserver-types");
|
|
9
|
+
var _codes = _interopRequireDefault(require("../../../codes.cjs"));
|
|
10
|
+
var _targetSpecs = require("../../target-specs.cjs");
|
|
11
|
+
const $selfNoFragmentLint = {
|
|
12
|
+
code: _codes.default.ARAZZO_SPEC_FIELD_$SELF_NO_FRAGMENT,
|
|
13
|
+
source: 'apilint',
|
|
14
|
+
message: '$self MUST NOT contain a fragment identifier',
|
|
15
|
+
severity: _vscodeLanguageserverTypes.DiagnosticSeverity.Error,
|
|
16
|
+
linterFunction: 'apilintValueRegex',
|
|
17
|
+
linterParams: ['^[^#]*$'],
|
|
18
|
+
marker: 'value',
|
|
19
|
+
target: '$self',
|
|
20
|
+
data: {},
|
|
21
|
+
targetSpecs: [..._targetSpecs.Arazzo11]
|
|
22
|
+
};
|
|
23
|
+
var _default = exports.default = $selfNoFragmentLint;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { DiagnosticSeverity } from 'vscode-languageserver-types';
|
|
2
|
+
import ApilintCodes from "../../../codes.mjs";
|
|
3
|
+
import { Arazzo11 } from "../../target-specs.mjs";
|
|
4
|
+
const $selfNoFragmentLint = {
|
|
5
|
+
code: ApilintCodes.ARAZZO_SPEC_FIELD_$SELF_NO_FRAGMENT,
|
|
6
|
+
source: 'apilint',
|
|
7
|
+
message: '$self MUST NOT contain a fragment identifier',
|
|
8
|
+
severity: DiagnosticSeverity.Error,
|
|
9
|
+
linterFunction: 'apilintValueRegex',
|
|
10
|
+
linterParams: ['^[^#]*$'],
|
|
11
|
+
marker: 'value',
|
|
12
|
+
target: '$self',
|
|
13
|
+
data: {},
|
|
14
|
+
targetSpecs: [...Arazzo11]
|
|
15
|
+
};
|
|
16
|
+
export default $selfNoFragmentLint;
|
|
@@ -7,15 +7,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _vscodeLanguageserverTypes = require("vscode-languageserver-types");
|
|
9
9
|
var _codes = _interopRequireDefault(require("../../../codes.cjs"));
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
var _targetSpecs = require("../../target-specs.cjs");
|
|
11
|
+
const $selfTypeLint = {
|
|
12
|
+
code: _codes.default.ARAZZO_SPEC_FIELD_$SELF_TYPE,
|
|
12
13
|
source: 'apilint',
|
|
13
|
-
message: '
|
|
14
|
+
message: '$self must be a string',
|
|
14
15
|
severity: _vscodeLanguageserverTypes.DiagnosticSeverity.Error,
|
|
15
16
|
linterFunction: 'apilintType',
|
|
16
17
|
linterParams: ['string'],
|
|
17
18
|
marker: 'value',
|
|
18
|
-
target: '
|
|
19
|
-
data: {}
|
|
19
|
+
target: '$self',
|
|
20
|
+
data: {},
|
|
21
|
+
targetSpecs: [..._targetSpecs.Arazzo11]
|
|
20
22
|
};
|
|
21
|
-
var _default = exports.default =
|
|
23
|
+
var _default = exports.default = $selfTypeLint;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { DiagnosticSeverity } from 'vscode-languageserver-types';
|
|
2
2
|
import ApilintCodes from "../../../codes.mjs";
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { Arazzo11 } from "../../target-specs.mjs";
|
|
4
|
+
const $selfTypeLint = {
|
|
5
|
+
code: ApilintCodes.ARAZZO_SPEC_FIELD_$SELF_TYPE,
|
|
5
6
|
source: 'apilint',
|
|
6
|
-
message: '
|
|
7
|
+
message: '$self must be a string',
|
|
7
8
|
severity: DiagnosticSeverity.Error,
|
|
8
9
|
linterFunction: 'apilintType',
|
|
9
10
|
linterParams: ['string'],
|
|
10
11
|
marker: 'value',
|
|
11
|
-
target: '
|
|
12
|
-
data: {}
|
|
12
|
+
target: '$self',
|
|
13
|
+
data: {},
|
|
14
|
+
targetSpecs: [...Arazzo11]
|
|
13
15
|
};
|
|
14
|
-
export default
|
|
16
|
+
export default $selfTypeLint;
|
package/src/config/arazzo/arazzoSpecification1/lint/{allowed-fields.cjs → allowed-fields-1-0.cjs}
RENAMED
|
@@ -8,7 +8,8 @@ exports.default = void 0;
|
|
|
8
8
|
var _vscodeLanguageserverTypes = require("vscode-languageserver-types");
|
|
9
9
|
var _codes = _interopRequireDefault(require("../../../codes.cjs"));
|
|
10
10
|
var _targetSpecs = require("../../target-specs.cjs");
|
|
11
|
-
|
|
11
|
+
// `$self` doesn't exist in Arazzo 1.0 - see allowed-fields-1-1.ts.
|
|
12
|
+
const allowedFields10Lint = {
|
|
12
13
|
code: _codes.default.NOT_ALLOWED_FIELDS,
|
|
13
14
|
source: 'apilint',
|
|
14
15
|
message: 'Object includes not allowed fields',
|
|
@@ -16,6 +17,6 @@ const allowedFieldsLint = {
|
|
|
16
17
|
linterFunction: 'allowedFields',
|
|
17
18
|
linterParams: [['arazzo', 'info', 'sourceDescriptions', 'workflows', 'components'], 'x-'],
|
|
18
19
|
marker: 'key',
|
|
19
|
-
targetSpecs: [..._targetSpecs.
|
|
20
|
+
targetSpecs: [..._targetSpecs.Arazzo10]
|
|
20
21
|
};
|
|
21
|
-
var _default = exports.default =
|
|
22
|
+
var _default = exports.default = allowedFields10Lint;
|
package/src/config/arazzo/arazzoSpecification1/lint/{allowed-fields.mjs → allowed-fields-1-0.mjs}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DiagnosticSeverity } from 'vscode-languageserver-types';
|
|
2
2
|
import ApilintCodes from "../../../codes.mjs";
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
3
|
+
import { Arazzo10 } from "../../target-specs.mjs"; // `$self` doesn't exist in Arazzo 1.0 - see allowed-fields-1-1.ts.
|
|
4
|
+
const allowedFields10Lint = {
|
|
5
5
|
code: ApilintCodes.NOT_ALLOWED_FIELDS,
|
|
6
6
|
source: 'apilint',
|
|
7
7
|
message: 'Object includes not allowed fields',
|
|
@@ -9,6 +9,6 @@ const allowedFieldsLint = {
|
|
|
9
9
|
linterFunction: 'allowedFields',
|
|
10
10
|
linterParams: [['arazzo', 'info', 'sourceDescriptions', 'workflows', 'components'], 'x-'],
|
|
11
11
|
marker: 'key',
|
|
12
|
-
targetSpecs: [...
|
|
12
|
+
targetSpecs: [...Arazzo10]
|
|
13
13
|
};
|
|
14
|
-
export default
|
|
14
|
+
export default allowedFields10Lint;
|
|
@@ -8,14 +8,14 @@ exports.default = void 0;
|
|
|
8
8
|
var _vscodeLanguageserverTypes = require("vscode-languageserver-types");
|
|
9
9
|
var _codes = _interopRequireDefault(require("../../../codes.cjs"));
|
|
10
10
|
var _targetSpecs = require("../../target-specs.cjs");
|
|
11
|
-
const
|
|
11
|
+
const allowedFields11Lint = {
|
|
12
12
|
code: _codes.default.NOT_ALLOWED_FIELDS,
|
|
13
13
|
source: 'apilint',
|
|
14
14
|
message: 'Object includes not allowed fields',
|
|
15
15
|
severity: _vscodeLanguageserverTypes.DiagnosticSeverity.Error,
|
|
16
16
|
linterFunction: 'allowedFields',
|
|
17
|
-
linterParams: [['
|
|
17
|
+
linterParams: [['arazzo', '$self', 'info', 'sourceDescriptions', 'workflows', 'components'], 'x-'],
|
|
18
18
|
marker: 'key',
|
|
19
|
-
targetSpecs: [..._targetSpecs.
|
|
19
|
+
targetSpecs: [..._targetSpecs.Arazzo11]
|
|
20
20
|
};
|
|
21
|
-
var _default = exports.default =
|
|
21
|
+
var _default = exports.default = allowedFields11Lint;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { DiagnosticSeverity } from 'vscode-languageserver-types';
|
|
2
|
+
import ApilintCodes from "../../../codes.mjs";
|
|
3
|
+
import { Arazzo11 } from "../../target-specs.mjs";
|
|
4
|
+
const allowedFields11Lint = {
|
|
5
|
+
code: ApilintCodes.NOT_ALLOWED_FIELDS,
|
|
6
|
+
source: 'apilint',
|
|
7
|
+
message: 'Object includes not allowed fields',
|
|
8
|
+
severity: DiagnosticSeverity.Error,
|
|
9
|
+
linterFunction: 'allowedFields',
|
|
10
|
+
linterParams: [['arazzo', '$self', 'info', 'sourceDescriptions', 'workflows', 'components'], 'x-'],
|
|
11
|
+
marker: 'key',
|
|
12
|
+
targetSpecs: [...Arazzo11]
|
|
13
|
+
};
|
|
14
|
+
export default allowedFields11Lint;
|
|
@@ -11,10 +11,10 @@ var _targetSpecs = require("../../target-specs.cjs");
|
|
|
11
11
|
const arazzoPatternLint = {
|
|
12
12
|
code: _codes.default.ARAZZO_SPEC_FIELD_ARAZZO_PATTERN,
|
|
13
13
|
source: 'apilint',
|
|
14
|
-
message: 'arazzo version must match the pattern 1.0.x',
|
|
14
|
+
message: 'arazzo version must match the pattern 1.0.x or 1.1.x',
|
|
15
15
|
severity: _vscodeLanguageserverTypes.DiagnosticSeverity.Error,
|
|
16
16
|
linterFunction: 'apilintValueRegex',
|
|
17
|
-
linterParams: ['^1\\.
|
|
17
|
+
linterParams: ['^1\\.[01]\\.\\d+(-.+)?$'],
|
|
18
18
|
marker: 'value',
|
|
19
19
|
target: 'arazzo',
|
|
20
20
|
data: {},
|
|
@@ -4,10 +4,10 @@ import { Arazzo } from "../../target-specs.mjs";
|
|
|
4
4
|
const arazzoPatternLint = {
|
|
5
5
|
code: ApilintCodes.ARAZZO_SPEC_FIELD_ARAZZO_PATTERN,
|
|
6
6
|
source: 'apilint',
|
|
7
|
-
message: 'arazzo version must match the pattern 1.0.x',
|
|
7
|
+
message: 'arazzo version must match the pattern 1.0.x or 1.1.x',
|
|
8
8
|
severity: DiagnosticSeverity.Error,
|
|
9
9
|
linterFunction: 'apilintValueRegex',
|
|
10
|
-
linterParams: ['^1\\.
|
|
10
|
+
linterParams: ['^1\\.[01]\\.\\d+(-.+)?$'],
|
|
11
11
|
marker: 'value',
|
|
12
12
|
target: 'arazzo',
|
|
13
13
|
data: {},
|
|
@@ -8,6 +8,9 @@ exports.default = void 0;
|
|
|
8
8
|
var _arazzoRequired = _interopRequireDefault(require("./arazzo--required.cjs"));
|
|
9
9
|
var _arazzoType = _interopRequireDefault(require("./arazzo--type.cjs"));
|
|
10
10
|
var _arazzoPattern = _interopRequireDefault(require("./arazzo--pattern.cjs"));
|
|
11
|
+
var _$selfType = _interopRequireDefault(require("./$self--type.cjs"));
|
|
12
|
+
var _$selfFormatUri = _interopRequireDefault(require("./$self--format-uri.cjs"));
|
|
13
|
+
var _$selfNoFragment = _interopRequireDefault(require("./$self--no-fragment.cjs"));
|
|
11
14
|
var _infoRequired = _interopRequireDefault(require("./info--required.cjs"));
|
|
12
15
|
var _infoType = _interopRequireDefault(require("./info--type.cjs"));
|
|
13
16
|
var _sourceDescriptionsRequired = _interopRequireDefault(require("./source-descriptions--required.cjs"));
|
|
@@ -17,6 +20,7 @@ var _workflowsRequired = _interopRequireDefault(require("./workflows--required.c
|
|
|
17
20
|
var _workflowsType = _interopRequireDefault(require("./workflows--type.cjs"));
|
|
18
21
|
var _workflowsNonEmpty = _interopRequireDefault(require("./workflows--non-empty.cjs"));
|
|
19
22
|
var _componentsType = _interopRequireDefault(require("./components--type.cjs"));
|
|
20
|
-
var _allowedFields = _interopRequireDefault(require("./allowed-fields.cjs"));
|
|
21
|
-
|
|
23
|
+
var _allowedFields = _interopRequireDefault(require("./allowed-fields-1-0.cjs"));
|
|
24
|
+
var _allowedFields2 = _interopRequireDefault(require("./allowed-fields-1-1.cjs"));
|
|
25
|
+
const lints = [_arazzoRequired.default, _arazzoType.default, _arazzoPattern.default, _$selfType.default, _$selfFormatUri.default, _$selfNoFragment.default, _infoRequired.default, _infoType.default, _sourceDescriptionsRequired.default, _sourceDescriptionsType.default, _sourceDescriptionsNonEmpty.default, _workflowsRequired.default, _workflowsType.default, _workflowsNonEmpty.default, _componentsType.default, _allowedFields.default, _allowedFields2.default];
|
|
22
26
|
var _default = exports.default = lints;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import arazzoRequiredLint from "./arazzo--required.mjs";
|
|
2
2
|
import arazzoTypeLint from "./arazzo--type.mjs";
|
|
3
3
|
import arazzoPatternLint from "./arazzo--pattern.mjs";
|
|
4
|
+
import $selfTypeLint from "./$self--type.mjs";
|
|
5
|
+
import $selfFormatURILint from "./$self--format-uri.mjs";
|
|
6
|
+
import $selfNoFragmentLint from "./$self--no-fragment.mjs";
|
|
4
7
|
import infoRequiredLint from "./info--required.mjs";
|
|
5
8
|
import infoTypeLint from "./info--type.mjs";
|
|
6
9
|
import sourceDescriptionsRequiredLint from "./source-descriptions--required.mjs";
|
|
@@ -10,6 +13,7 @@ import workflowsRequiredLint from "./workflows--required.mjs";
|
|
|
10
13
|
import workflowsTypeLint from "./workflows--type.mjs";
|
|
11
14
|
import workflowsNonEmptyLint from "./workflows--non-empty.mjs";
|
|
12
15
|
import componentsTypeLint from "./components--type.mjs";
|
|
13
|
-
import
|
|
14
|
-
|
|
16
|
+
import allowedFields10Lint from "./allowed-fields-1-0.mjs";
|
|
17
|
+
import allowedFields11Lint from "./allowed-fields-1-1.mjs";
|
|
18
|
+
const lints = [arazzoRequiredLint, arazzoTypeLint, arazzoPatternLint, $selfTypeLint, $selfFormatURILint, $selfNoFragmentLint, infoRequiredLint, infoTypeLint, sourceDescriptionsRequiredLint, sourceDescriptionsTypeLint, sourceDescriptionsNonEmptyLint, workflowsRequiredLint, workflowsTypeLint, workflowsNonEmptyLint, componentsTypeLint, allowedFields10Lint, allowedFields11Lint];
|
|
15
19
|
export default lints;
|