@speclynx/apidom-ns-arazzo-1 1.12.1
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 +84 -0
- package/LICENSE +202 -0
- package/LICENSES/AFL-3.0.txt +182 -0
- package/LICENSES/Apache-2.0.txt +202 -0
- package/LICENSES/BSD-3-Clause.txt +26 -0
- package/LICENSES/MIT.txt +9 -0
- package/NOTICE +65 -0
- package/README.md +206 -0
- package/dist/apidom-ns-arazzo-1.browser.js +24106 -0
- package/dist/apidom-ns-arazzo-1.browser.min.js +1 -0
- package/package.json +64 -0
- package/src/elements/Arazzo.cjs +17 -0
- package/src/elements/Arazzo.mjs +14 -0
- package/src/elements/ArazzoSpecification1.cjs +47 -0
- package/src/elements/ArazzoSpecification1.mjs +43 -0
- package/src/elements/Components.cjs +39 -0
- package/src/elements/Components.mjs +35 -0
- package/src/elements/Criterion.cjs +33 -0
- package/src/elements/Criterion.mjs +29 -0
- package/src/elements/CriterionExpressionType.cjs +27 -0
- package/src/elements/CriterionExpressionType.mjs +24 -0
- package/src/elements/FailureAction.cjs +57 -0
- package/src/elements/FailureAction.mjs +53 -0
- package/src/elements/Info.cjs +40 -0
- package/src/elements/Info.mjs +37 -0
- package/src/elements/JSONSchema.cjs +10 -0
- package/src/elements/JSONSchema.mjs +7 -0
- package/src/elements/Parameter.cjs +33 -0
- package/src/elements/Parameter.mjs +30 -0
- package/src/elements/PayloadReplacement.cjs +27 -0
- package/src/elements/PayloadReplacement.mjs +24 -0
- package/src/elements/RequestBody.cjs +33 -0
- package/src/elements/RequestBody.mjs +29 -0
- package/src/elements/Reusable.cjs +28 -0
- package/src/elements/Reusable.mjs +25 -0
- package/src/elements/SourceDescription.cjs +33 -0
- package/src/elements/SourceDescription.mjs +30 -0
- package/src/elements/Step.cjs +81 -0
- package/src/elements/Step.mjs +77 -0
- package/src/elements/SuccessAction.cjs +45 -0
- package/src/elements/SuccessAction.mjs +41 -0
- package/src/elements/Workflow.cjs +75 -0
- package/src/elements/Workflow.mjs +71 -0
- package/src/elements/nces/ComponentsFailureActions.cjs +16 -0
- package/src/elements/nces/ComponentsFailureActions.mjs +13 -0
- package/src/elements/nces/ComponentsInputs.cjs +16 -0
- package/src/elements/nces/ComponentsInputs.mjs +13 -0
- package/src/elements/nces/ComponentsParameters.cjs +17 -0
- package/src/elements/nces/ComponentsParameters.mjs +14 -0
- package/src/elements/nces/ComponentsSuccessActions.cjs +16 -0
- package/src/elements/nces/ComponentsSuccessActions.mjs +13 -0
- package/src/elements/nces/FailureActionCriteria.cjs +17 -0
- package/src/elements/nces/FailureActionCriteria.mjs +14 -0
- package/src/elements/nces/RequestBodyReplacements.cjs +16 -0
- package/src/elements/nces/RequestBodyReplacements.mjs +13 -0
- package/src/elements/nces/SourceDescriptions.cjs +16 -0
- package/src/elements/nces/SourceDescriptions.mjs +13 -0
- package/src/elements/nces/StepDependsOn.cjs +16 -0
- package/src/elements/nces/StepDependsOn.mjs +13 -0
- package/src/elements/nces/StepOnFailure.cjs +16 -0
- package/src/elements/nces/StepOnFailure.mjs +13 -0
- package/src/elements/nces/StepOnSuccess.cjs +16 -0
- package/src/elements/nces/StepOnSuccess.mjs +13 -0
- package/src/elements/nces/StepOutputs.cjs +16 -0
- package/src/elements/nces/StepOutputs.mjs +13 -0
- package/src/elements/nces/StepParameters.cjs +17 -0
- package/src/elements/nces/StepParameters.mjs +14 -0
- package/src/elements/nces/StepSuccessCriteria.cjs +17 -0
- package/src/elements/nces/StepSuccessCriteria.mjs +14 -0
- package/src/elements/nces/SuccessActionCriteria.cjs +17 -0
- package/src/elements/nces/SuccessActionCriteria.mjs +14 -0
- package/src/elements/nces/WorkflowDependsOn.cjs +16 -0
- package/src/elements/nces/WorkflowDependsOn.mjs +13 -0
- package/src/elements/nces/WorkflowFailureActions.cjs +16 -0
- package/src/elements/nces/WorkflowFailureActions.mjs +13 -0
- package/src/elements/nces/WorkflowOutputs.cjs +16 -0
- package/src/elements/nces/WorkflowOutputs.mjs +13 -0
- package/src/elements/nces/WorkflowParameters.cjs +17 -0
- package/src/elements/nces/WorkflowParameters.mjs +14 -0
- package/src/elements/nces/WorkflowSteps.cjs +16 -0
- package/src/elements/nces/WorkflowSteps.mjs +13 -0
- package/src/elements/nces/WorkflowSuccessActions.cjs +16 -0
- package/src/elements/nces/WorkflowSuccessActions.mjs +13 -0
- package/src/elements/nces/Workflows.cjs +16 -0
- package/src/elements/nces/Workflows.mjs +13 -0
- package/src/index.cjs +146 -0
- package/src/index.mjs +38 -0
- package/src/media-types.cjs +34 -0
- package/src/media-types.mjs +30 -0
- package/src/namespace.cjs +49 -0
- package/src/namespace.mjs +44 -0
- package/src/predicates.cjs +467 -0
- package/src/predicates.mjs +461 -0
- package/src/refractor/index.cjs +52 -0
- package/src/refractor/index.mjs +46 -0
- package/src/refractor/plugins/replace-empty-element.cjs +89 -0
- package/src/refractor/plugins/replace-empty-element.mjs +83 -0
- package/src/refractor/predicates.cjs +17 -0
- package/src/refractor/predicates.mjs +11 -0
- package/src/refractor/registration.cjs +53 -0
- package/src/refractor/registration.mjs +34 -0
- package/src/refractor/specification.cjs +294 -0
- package/src/refractor/specification.mjs +289 -0
- package/src/refractor/toolbox.cjs +31 -0
- package/src/refractor/toolbox.mjs +23 -0
- package/src/refractor/visitors/FallbackVisitor.cjs +24 -0
- package/src/refractor/visitors/FallbackVisitor.mjs +18 -0
- package/src/refractor/visitors/SpecificationExtensionVisitor.cjs +18 -0
- package/src/refractor/visitors/SpecificationExtensionVisitor.mjs +13 -0
- package/src/refractor/visitors/SpecificationVisitor.cjs +74 -0
- package/src/refractor/visitors/SpecificationVisitor.mjs +68 -0
- package/src/refractor/visitors/Visitor.cjs +31 -0
- package/src/refractor/visitors/Visitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/ArazzoVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/ArazzoVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/SourceDescriptionsVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/SourceDescriptionsVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/WorkflowsVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/WorkflowsVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/components/FailureActionsVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/FailureActionsVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/components/InputsVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/InputsVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/components/ParametersVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/ParametersVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/components/SuccessActionsVisitor.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/SuccessActionsVisitor.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/components/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/components/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/criterion/TypeVisitor.cjs +22 -0
- package/src/refractor/visitors/arazzo-1/criterion/TypeVisitor.mjs +16 -0
- package/src/refractor/visitors/arazzo-1/criterion/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/criterion/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/criterion-expression-type/VersionVisitor.cjs +17 -0
- package/src/refractor/visitors/arazzo-1/criterion-expression-type/VersionVisitor.mjs +12 -0
- package/src/refractor/visitors/arazzo-1/criterion-expression-type/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/criterion-expression-type/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/failure-action/CriteriaVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/failure-action/CriteriaVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/failure-action/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/failure-action/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/index.cjs +32 -0
- package/src/refractor/visitors/arazzo-1/index.mjs +26 -0
- package/src/refractor/visitors/arazzo-1/info/VersionVisitor.cjs +18 -0
- package/src/refractor/visitors/arazzo-1/info/VersionVisitor.mjs +13 -0
- package/src/refractor/visitors/arazzo-1/info/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/info/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/json-schema/index.cjs +17 -0
- package/src/refractor/visitors/arazzo-1/json-schema/index.mjs +12 -0
- package/src/refractor/visitors/arazzo-1/parameter/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/parameter/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/payload-replacement/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/payload-replacement/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/request-body/Replacements.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/request-body/Replacements.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/request-body/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/request-body/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/reusable/ReferenceVisitor.cjs +18 -0
- package/src/refractor/visitors/arazzo-1/reusable/ReferenceVisitor.mjs +12 -0
- package/src/refractor/visitors/arazzo-1/reusable/index.cjs +36 -0
- package/src/refractor/visitors/arazzo-1/reusable/index.mjs +30 -0
- package/src/refractor/visitors/arazzo-1/source-description/UrlVisitor.cjs +17 -0
- package/src/refractor/visitors/arazzo-1/source-description/UrlVisitor.mjs +12 -0
- package/src/refractor/visitors/arazzo-1/source-description/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/source-description/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/step/OnFailureVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/step/OnFailureVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/step/OnSuccessVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/step/OnSuccessVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/step/OutputsVisitor.cjs +25 -0
- package/src/refractor/visitors/arazzo-1/step/OutputsVisitor.mjs +19 -0
- package/src/refractor/visitors/arazzo-1/step/ParametersVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/step/ParametersVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/step/SuccessCriteriaVisitor.cjs +33 -0
- package/src/refractor/visitors/arazzo-1/step/SuccessCriteriaVisitor.mjs +27 -0
- package/src/refractor/visitors/arazzo-1/step/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/step/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/success-action/CriteriaVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/success-action/CriteriaVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/success-action/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/success-action/index.mjs +20 -0
- package/src/refractor/visitors/arazzo-1/workflow/DependsOnVisitor.cjs +34 -0
- package/src/refractor/visitors/arazzo-1/workflow/DependsOnVisitor.mjs +28 -0
- package/src/refractor/visitors/arazzo-1/workflow/FailureActionsVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/workflow/FailureActionsVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/workflow/OutputsVisitor.cjs +25 -0
- package/src/refractor/visitors/arazzo-1/workflow/OutputsVisitor.mjs +19 -0
- package/src/refractor/visitors/arazzo-1/workflow/ParametersVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/workflow/ParametersVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/workflow/StepsVisitor.cjs +33 -0
- package/src/refractor/visitors/arazzo-1/workflow/StepsVisitor.mjs +27 -0
- package/src/refractor/visitors/arazzo-1/workflow/SuccessActionsVisitor.cjs +38 -0
- package/src/refractor/visitors/arazzo-1/workflow/SuccessActionsVisitor.mjs +32 -0
- package/src/refractor/visitors/arazzo-1/workflow/index.cjs +26 -0
- package/src/refractor/visitors/arazzo-1/workflow/index.mjs +20 -0
- package/src/refractor/visitors/generics/FixedFieldsVisitor.cjs +67 -0
- package/src/refractor/visitors/generics/FixedFieldsVisitor.mjs +60 -0
- package/src/refractor/visitors/generics/MapVisitor.cjs +21 -0
- package/src/refractor/visitors/generics/MapVisitor.mjs +15 -0
- package/src/refractor/visitors/generics/PatternedFieldsVisitor.cjs +67 -0
- package/src/refractor/visitors/generics/PatternedFieldsVisitor.mjs +61 -0
- package/src/traversal/visitor.cjs +38 -0
- package/src/traversal/visitor.mjs +35 -0
- package/types/apidom-ns-arazzo-1.d.ts +1852 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Mixin } from 'ts-mixer';
|
|
2
|
+
import { BREAK } from '@speclynx/apidom-core';
|
|
3
|
+
import WorkflowParametersElement from "../../../../elements/nces/WorkflowParameters.mjs";
|
|
4
|
+
import SpecificationVisitor from "../../SpecificationVisitor.mjs";
|
|
5
|
+
import FallbackVisitor from "../../FallbackVisitor.mjs";
|
|
6
|
+
import { isReusableLikeElement } from "../../../predicates.mjs";
|
|
7
|
+
import { isReusableElement } from "../../../../predicates.mjs";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
class ParametersActionsVisitor extends Mixin(SpecificationVisitor, FallbackVisitor) {
|
|
15
|
+
constructor(options) {
|
|
16
|
+
super(options);
|
|
17
|
+
this.element = new WorkflowParametersElement();
|
|
18
|
+
}
|
|
19
|
+
ArrayElement(arrayElement) {
|
|
20
|
+
arrayElement.forEach(item => {
|
|
21
|
+
const specPath = isReusableLikeElement(item) ? ['document', 'objects', 'Reusable'] : ['document', 'objects', 'Parameter'];
|
|
22
|
+
const element = this.toRefractedElement(specPath, item);
|
|
23
|
+
if (isReusableElement(element)) {
|
|
24
|
+
element.setMetaProperty('referenced-element', 'parameter');
|
|
25
|
+
}
|
|
26
|
+
this.element.push(element);
|
|
27
|
+
});
|
|
28
|
+
this.copyMetaAndAttributes(arrayElement, this.element);
|
|
29
|
+
return BREAK;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export default ParametersActionsVisitor;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.default = void 0;
|
|
6
|
+
var _tsMixer = require("ts-mixer");
|
|
7
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
8
|
+
var _WorkflowSteps = _interopRequireDefault(require("../../../../elements/nces/WorkflowSteps.cjs"));
|
|
9
|
+
var _SpecificationVisitor = _interopRequireDefault(require("../../SpecificationVisitor.cjs"));
|
|
10
|
+
var _FallbackVisitor = _interopRequireDefault(require("../../FallbackVisitor.cjs"));
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
class StepsVisitor extends (0, _tsMixer.Mixin)(_SpecificationVisitor.default, _FallbackVisitor.default) {
|
|
19
|
+
constructor(options) {
|
|
20
|
+
super(options);
|
|
21
|
+
this.element = new _WorkflowSteps.default();
|
|
22
|
+
}
|
|
23
|
+
ArrayElement(arrayElement) {
|
|
24
|
+
arrayElement.forEach(item => {
|
|
25
|
+
const specPath = ['document', 'objects', 'Step'];
|
|
26
|
+
const element = this.toRefractedElement(specPath, item);
|
|
27
|
+
this.element.push(element);
|
|
28
|
+
});
|
|
29
|
+
this.copyMetaAndAttributes(arrayElement, this.element);
|
|
30
|
+
return _apidomCore.BREAK;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
var _default = exports.default = StepsVisitor;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Mixin } from 'ts-mixer';
|
|
2
|
+
import { BREAK } from '@speclynx/apidom-core';
|
|
3
|
+
import WorkflowStepsElement from "../../../../elements/nces/WorkflowSteps.mjs";
|
|
4
|
+
import SpecificationVisitor from "../../SpecificationVisitor.mjs";
|
|
5
|
+
import FallbackVisitor from "../../FallbackVisitor.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
class StepsVisitor extends Mixin(SpecificationVisitor, FallbackVisitor) {
|
|
13
|
+
constructor(options) {
|
|
14
|
+
super(options);
|
|
15
|
+
this.element = new WorkflowStepsElement();
|
|
16
|
+
}
|
|
17
|
+
ArrayElement(arrayElement) {
|
|
18
|
+
arrayElement.forEach(item => {
|
|
19
|
+
const specPath = ['document', 'objects', 'Step'];
|
|
20
|
+
const element = this.toRefractedElement(specPath, item);
|
|
21
|
+
this.element.push(element);
|
|
22
|
+
});
|
|
23
|
+
this.copyMetaAndAttributes(arrayElement, this.element);
|
|
24
|
+
return BREAK;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export default StepsVisitor;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.default = void 0;
|
|
6
|
+
var _tsMixer = require("ts-mixer");
|
|
7
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
8
|
+
var _WorkflowSuccessActions = _interopRequireDefault(require("../../../../elements/nces/WorkflowSuccessActions.cjs"));
|
|
9
|
+
var _SpecificationVisitor = _interopRequireDefault(require("../../SpecificationVisitor.cjs"));
|
|
10
|
+
var _FallbackVisitor = _interopRequireDefault(require("../../FallbackVisitor.cjs"));
|
|
11
|
+
var _predicates = require("../../../predicates.cjs");
|
|
12
|
+
var _predicates2 = require("../../../../predicates.cjs");
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
class SuccessActionsVisitor extends (0, _tsMixer.Mixin)(_SpecificationVisitor.default, _FallbackVisitor.default) {
|
|
21
|
+
constructor(options) {
|
|
22
|
+
super(options);
|
|
23
|
+
this.element = new _WorkflowSuccessActions.default();
|
|
24
|
+
}
|
|
25
|
+
ArrayElement(arrayElement) {
|
|
26
|
+
arrayElement.forEach(item => {
|
|
27
|
+
const specPath = (0, _predicates.isReusableLikeElement)(item) ? ['document', 'objects', 'Reusable'] : ['document', 'objects', 'SuccessAction'];
|
|
28
|
+
const element = this.toRefractedElement(specPath, item);
|
|
29
|
+
if ((0, _predicates2.isReusableElement)(element)) {
|
|
30
|
+
element.setMetaProperty('referenced-element', 'successAction');
|
|
31
|
+
}
|
|
32
|
+
this.element.push(element);
|
|
33
|
+
});
|
|
34
|
+
this.copyMetaAndAttributes(arrayElement, this.element);
|
|
35
|
+
return _apidomCore.BREAK;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
var _default = exports.default = SuccessActionsVisitor;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { Mixin } from 'ts-mixer';
|
|
2
|
+
import { BREAK } from '@speclynx/apidom-core';
|
|
3
|
+
import WorkflowSuccessActionsElement from "../../../../elements/nces/WorkflowSuccessActions.mjs";
|
|
4
|
+
import SpecificationVisitor from "../../SpecificationVisitor.mjs";
|
|
5
|
+
import FallbackVisitor from "../../FallbackVisitor.mjs";
|
|
6
|
+
import { isReusableLikeElement } from "../../../predicates.mjs";
|
|
7
|
+
import { isReusableElement } from "../../../../predicates.mjs";
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
class SuccessActionsVisitor extends Mixin(SpecificationVisitor, FallbackVisitor) {
|
|
15
|
+
constructor(options) {
|
|
16
|
+
super(options);
|
|
17
|
+
this.element = new WorkflowSuccessActionsElement();
|
|
18
|
+
}
|
|
19
|
+
ArrayElement(arrayElement) {
|
|
20
|
+
arrayElement.forEach(item => {
|
|
21
|
+
const specPath = isReusableLikeElement(item) ? ['document', 'objects', 'Reusable'] : ['document', 'objects', 'SuccessAction'];
|
|
22
|
+
const element = this.toRefractedElement(specPath, item);
|
|
23
|
+
if (isReusableElement(element)) {
|
|
24
|
+
element.setMetaProperty('referenced-element', 'successAction');
|
|
25
|
+
}
|
|
26
|
+
this.element.push(element);
|
|
27
|
+
});
|
|
28
|
+
this.copyMetaAndAttributes(arrayElement, this.element);
|
|
29
|
+
return BREAK;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
export default SuccessActionsVisitor;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.default = void 0;
|
|
6
|
+
var _tsMixer = require("ts-mixer");
|
|
7
|
+
var _ramda = require("ramda");
|
|
8
|
+
var _Workflow = _interopRequireDefault(require("../../../../elements/Workflow.cjs"));
|
|
9
|
+
var _FallbackVisitor = _interopRequireDefault(require("../../FallbackVisitor.cjs"));
|
|
10
|
+
var _FixedFieldsVisitor = _interopRequireDefault(require("../../generics/FixedFieldsVisitor.cjs"));
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
class WorkflowVisitor extends (0, _tsMixer.Mixin)(_FixedFieldsVisitor.default, _FallbackVisitor.default) {
|
|
19
|
+
constructor(options) {
|
|
20
|
+
super(options);
|
|
21
|
+
this.element = new _Workflow.default();
|
|
22
|
+
this.specPath = (0, _ramda.always)(['document', 'objects', 'Workflow']);
|
|
23
|
+
this.canSupportSpecificationExtensions = true;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
var _default = exports.default = WorkflowVisitor;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Mixin } from 'ts-mixer';
|
|
2
|
+
import { always } from 'ramda';
|
|
3
|
+
import WorkflowElement from "../../../../elements/Workflow.mjs";
|
|
4
|
+
import FallbackVisitor from "../../FallbackVisitor.mjs";
|
|
5
|
+
import FixedFieldsVisitor from "../../generics/FixedFieldsVisitor.mjs";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
class WorkflowVisitor extends Mixin(FixedFieldsVisitor, FallbackVisitor) {
|
|
13
|
+
constructor(options) {
|
|
14
|
+
super(options);
|
|
15
|
+
this.element = new WorkflowElement();
|
|
16
|
+
this.specPath = always(['document', 'objects', 'Workflow']);
|
|
17
|
+
this.canSupportSpecificationExtensions = true;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
export default WorkflowVisitor;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.default = void 0;
|
|
6
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
7
|
+
var _SpecificationVisitor = _interopRequireDefault(require("../SpecificationVisitor.cjs"));
|
|
8
|
+
var _predicates = require("../../predicates.cjs");
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
class FixedFieldsVisitor extends _SpecificationVisitor.default {
|
|
21
|
+
specPath;
|
|
22
|
+
ignoredFields;
|
|
23
|
+
canSupportSpecificationExtensions = true;
|
|
24
|
+
specificationExtensionPredicate = _predicates.isArazzoSpecificationExtension;
|
|
25
|
+
constructor({
|
|
26
|
+
specPath,
|
|
27
|
+
ignoredFields,
|
|
28
|
+
canSupportSpecificationExtensions,
|
|
29
|
+
specificationExtensionPredicate,
|
|
30
|
+
...rest
|
|
31
|
+
}) {
|
|
32
|
+
super({
|
|
33
|
+
...rest
|
|
34
|
+
});
|
|
35
|
+
this.specPath = specPath;
|
|
36
|
+
this.ignoredFields = ignoredFields || [];
|
|
37
|
+
if (typeof canSupportSpecificationExtensions === 'boolean') {
|
|
38
|
+
this.canSupportSpecificationExtensions = canSupportSpecificationExtensions;
|
|
39
|
+
}
|
|
40
|
+
if (typeof specificationExtensionPredicate === 'function') {
|
|
41
|
+
this.specificationExtensionPredicate = specificationExtensionPredicate;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
ObjectElement(objectElement) {
|
|
45
|
+
const specPath = this.specPath(objectElement);
|
|
46
|
+
const fields = this.retrieveFixedFields(specPath);
|
|
47
|
+
|
|
48
|
+
// @ts-ignore
|
|
49
|
+
objectElement.forEach((value, key, memberElement) => {
|
|
50
|
+
if ((0, _apidomCore.isStringElement)(key) && fields.includes((0, _apidomCore.toValue)(key)) && !this.ignoredFields.includes((0, _apidomCore.toValue)(key))) {
|
|
51
|
+
const fixedFieldElement = this.toRefractedElement([...specPath, 'fixedFields', (0, _apidomCore.toValue)(key)], value);
|
|
52
|
+
const newMemberElement = new _apidomCore.MemberElement((0, _apidomCore.cloneDeep)(key), fixedFieldElement);
|
|
53
|
+
this.copyMetaAndAttributes(memberElement, newMemberElement);
|
|
54
|
+
newMemberElement.classes.push('fixed-field');
|
|
55
|
+
this.element.content.push(newMemberElement);
|
|
56
|
+
} else if (this.canSupportSpecificationExtensions && this.specificationExtensionPredicate(memberElement)) {
|
|
57
|
+
const extensionElement = this.toRefractedElement(['document', 'extension'], memberElement);
|
|
58
|
+
this.element.content.push(extensionElement);
|
|
59
|
+
} else if (!this.ignoredFields.includes((0, _apidomCore.toValue)(key))) {
|
|
60
|
+
this.element.content.push((0, _apidomCore.cloneDeep)(memberElement));
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
this.copyMetaAndAttributes(objectElement, this.element);
|
|
64
|
+
return _apidomCore.BREAK;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
var _default = exports.default = FixedFieldsVisitor;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { isStringElement, MemberElement, BREAK, cloneDeep, toValue } from '@speclynx/apidom-core';
|
|
2
|
+
import SpecificationVisitor from "../SpecificationVisitor.mjs";
|
|
3
|
+
import { isArazzoSpecificationExtension } from "../../predicates.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
class FixedFieldsVisitor extends SpecificationVisitor {
|
|
14
|
+
specPath;
|
|
15
|
+
ignoredFields;
|
|
16
|
+
canSupportSpecificationExtensions = true;
|
|
17
|
+
specificationExtensionPredicate = isArazzoSpecificationExtension;
|
|
18
|
+
constructor({
|
|
19
|
+
specPath,
|
|
20
|
+
ignoredFields,
|
|
21
|
+
canSupportSpecificationExtensions,
|
|
22
|
+
specificationExtensionPredicate,
|
|
23
|
+
...rest
|
|
24
|
+
}) {
|
|
25
|
+
super({
|
|
26
|
+
...rest
|
|
27
|
+
});
|
|
28
|
+
this.specPath = specPath;
|
|
29
|
+
this.ignoredFields = ignoredFields || [];
|
|
30
|
+
if (typeof canSupportSpecificationExtensions === 'boolean') {
|
|
31
|
+
this.canSupportSpecificationExtensions = canSupportSpecificationExtensions;
|
|
32
|
+
}
|
|
33
|
+
if (typeof specificationExtensionPredicate === 'function') {
|
|
34
|
+
this.specificationExtensionPredicate = specificationExtensionPredicate;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
ObjectElement(objectElement) {
|
|
38
|
+
const specPath = this.specPath(objectElement);
|
|
39
|
+
const fields = this.retrieveFixedFields(specPath);
|
|
40
|
+
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
objectElement.forEach((value, key, memberElement) => {
|
|
43
|
+
if (isStringElement(key) && fields.includes(toValue(key)) && !this.ignoredFields.includes(toValue(key))) {
|
|
44
|
+
const fixedFieldElement = this.toRefractedElement([...specPath, 'fixedFields', toValue(key)], value);
|
|
45
|
+
const newMemberElement = new MemberElement(cloneDeep(key), fixedFieldElement);
|
|
46
|
+
this.copyMetaAndAttributes(memberElement, newMemberElement);
|
|
47
|
+
newMemberElement.classes.push('fixed-field');
|
|
48
|
+
this.element.content.push(newMemberElement);
|
|
49
|
+
} else if (this.canSupportSpecificationExtensions && this.specificationExtensionPredicate(memberElement)) {
|
|
50
|
+
const extensionElement = this.toRefractedElement(['document', 'extension'], memberElement);
|
|
51
|
+
this.element.content.push(extensionElement);
|
|
52
|
+
} else if (!this.ignoredFields.includes(toValue(key))) {
|
|
53
|
+
this.element.content.push(cloneDeep(memberElement));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
this.copyMetaAndAttributes(objectElement, this.element);
|
|
57
|
+
return BREAK;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
export default FixedFieldsVisitor;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.default = void 0;
|
|
6
|
+
var _ramdaAdjunct = require("ramda-adjunct");
|
|
7
|
+
var _PatternedFieldsVisitor = _interopRequireDefault(require("./PatternedFieldsVisitor.cjs"));
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
class MapVisitor extends _PatternedFieldsVisitor.default {
|
|
16
|
+
constructor(options) {
|
|
17
|
+
super(options);
|
|
18
|
+
this.fieldPatternPredicate = _ramdaAdjunct.isNonEmptyString;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
var _default = exports.default = MapVisitor;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { isNonEmptyString } from 'ramda-adjunct';
|
|
2
|
+
import PatternedFieldsVisitor from "./PatternedFieldsVisitor.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class MapVisitor extends PatternedFieldsVisitor {
|
|
10
|
+
constructor(options) {
|
|
11
|
+
super(options);
|
|
12
|
+
this.fieldPatternPredicate = isNonEmptyString;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export default MapVisitor;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
|
|
4
|
+
exports.__esModule = true;
|
|
5
|
+
exports.default = void 0;
|
|
6
|
+
var _ramda = require("ramda");
|
|
7
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
8
|
+
var _SpecificationVisitor = _interopRequireDefault(require("../SpecificationVisitor.cjs"));
|
|
9
|
+
var _predicates = require("../../predicates.cjs");
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
class PatternedFieldsVisitor extends _SpecificationVisitor.default {
|
|
18
|
+
specPath;
|
|
19
|
+
ignoredFields;
|
|
20
|
+
fieldPatternPredicate = _ramda.F;
|
|
21
|
+
canSupportSpecificationExtensions = false;
|
|
22
|
+
specificationExtensionPredicate = _predicates.isArazzoSpecificationExtension;
|
|
23
|
+
constructor({
|
|
24
|
+
specPath,
|
|
25
|
+
ignoredFields,
|
|
26
|
+
fieldPatternPredicate,
|
|
27
|
+
canSupportSpecificationExtensions,
|
|
28
|
+
specificationExtensionPredicate,
|
|
29
|
+
...rest
|
|
30
|
+
}) {
|
|
31
|
+
super({
|
|
32
|
+
...rest
|
|
33
|
+
});
|
|
34
|
+
this.specPath = specPath;
|
|
35
|
+
this.ignoredFields = ignoredFields || [];
|
|
36
|
+
if (typeof fieldPatternPredicate === 'function') {
|
|
37
|
+
this.fieldPatternPredicate = fieldPatternPredicate;
|
|
38
|
+
}
|
|
39
|
+
if (typeof canSupportSpecificationExtensions === 'boolean') {
|
|
40
|
+
this.canSupportSpecificationExtensions = canSupportSpecificationExtensions;
|
|
41
|
+
}
|
|
42
|
+
if (typeof specificationExtensionPredicate === 'function') {
|
|
43
|
+
this.specificationExtensionPredicate = specificationExtensionPredicate;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
ObjectElement(objectElement) {
|
|
47
|
+
// @ts-ignore
|
|
48
|
+
objectElement.forEach((value, key, memberElement) => {
|
|
49
|
+
if (this.canSupportSpecificationExtensions && this.specificationExtensionPredicate(memberElement)) {
|
|
50
|
+
const extensionElement = this.toRefractedElement(['document', 'extension'], memberElement);
|
|
51
|
+
this.element.content.push(extensionElement);
|
|
52
|
+
} else if (!this.ignoredFields.includes((0, _apidomCore.toValue)(key)) && this.fieldPatternPredicate((0, _apidomCore.toValue)(key))) {
|
|
53
|
+
const specPath = this.specPath(value);
|
|
54
|
+
const patternedFieldElement = this.toRefractedElement(specPath, value);
|
|
55
|
+
const newMemberElement = new _apidomCore.MemberElement((0, _apidomCore.cloneDeep)(key), patternedFieldElement);
|
|
56
|
+
this.copyMetaAndAttributes(memberElement, newMemberElement);
|
|
57
|
+
newMemberElement.classes.push('patterned-field');
|
|
58
|
+
this.element.content.push(newMemberElement);
|
|
59
|
+
} else if (!this.ignoredFields.includes((0, _apidomCore.toValue)(key))) {
|
|
60
|
+
this.element.content.push((0, _apidomCore.cloneDeep)(memberElement));
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
this.copyMetaAndAttributes(objectElement, this.element);
|
|
64
|
+
return _apidomCore.BREAK;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
var _default = exports.default = PatternedFieldsVisitor;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { F as stubFalse } from 'ramda';
|
|
2
|
+
import { MemberElement, BREAK, cloneDeep, toValue } from '@speclynx/apidom-core';
|
|
3
|
+
import SpecificationVisitor from "../SpecificationVisitor.mjs";
|
|
4
|
+
import { isArazzoSpecificationExtension } from "../../predicates.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
class PatternedFieldsVisitor extends SpecificationVisitor {
|
|
12
|
+
specPath;
|
|
13
|
+
ignoredFields;
|
|
14
|
+
fieldPatternPredicate = stubFalse;
|
|
15
|
+
canSupportSpecificationExtensions = false;
|
|
16
|
+
specificationExtensionPredicate = isArazzoSpecificationExtension;
|
|
17
|
+
constructor({
|
|
18
|
+
specPath,
|
|
19
|
+
ignoredFields,
|
|
20
|
+
fieldPatternPredicate,
|
|
21
|
+
canSupportSpecificationExtensions,
|
|
22
|
+
specificationExtensionPredicate,
|
|
23
|
+
...rest
|
|
24
|
+
}) {
|
|
25
|
+
super({
|
|
26
|
+
...rest
|
|
27
|
+
});
|
|
28
|
+
this.specPath = specPath;
|
|
29
|
+
this.ignoredFields = ignoredFields || [];
|
|
30
|
+
if (typeof fieldPatternPredicate === 'function') {
|
|
31
|
+
this.fieldPatternPredicate = fieldPatternPredicate;
|
|
32
|
+
}
|
|
33
|
+
if (typeof canSupportSpecificationExtensions === 'boolean') {
|
|
34
|
+
this.canSupportSpecificationExtensions = canSupportSpecificationExtensions;
|
|
35
|
+
}
|
|
36
|
+
if (typeof specificationExtensionPredicate === 'function') {
|
|
37
|
+
this.specificationExtensionPredicate = specificationExtensionPredicate;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
ObjectElement(objectElement) {
|
|
41
|
+
// @ts-ignore
|
|
42
|
+
objectElement.forEach((value, key, memberElement) => {
|
|
43
|
+
if (this.canSupportSpecificationExtensions && this.specificationExtensionPredicate(memberElement)) {
|
|
44
|
+
const extensionElement = this.toRefractedElement(['document', 'extension'], memberElement);
|
|
45
|
+
this.element.content.push(extensionElement);
|
|
46
|
+
} else if (!this.ignoredFields.includes(toValue(key)) && this.fieldPatternPredicate(toValue(key))) {
|
|
47
|
+
const specPath = this.specPath(value);
|
|
48
|
+
const patternedFieldElement = this.toRefractedElement(specPath, value);
|
|
49
|
+
const newMemberElement = new MemberElement(cloneDeep(key), patternedFieldElement);
|
|
50
|
+
this.copyMetaAndAttributes(memberElement, newMemberElement);
|
|
51
|
+
newMemberElement.classes.push('patterned-field');
|
|
52
|
+
this.element.content.push(newMemberElement);
|
|
53
|
+
} else if (!this.ignoredFields.includes(toValue(key))) {
|
|
54
|
+
this.element.content.push(cloneDeep(memberElement));
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
this.copyMetaAndAttributes(objectElement, this.element);
|
|
58
|
+
return BREAK;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
export default PatternedFieldsVisitor;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.keyMap = exports.getNodeType = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
const getNodeType = element => {
|
|
10
|
+
if (!(0, _apidomCore.isElement)(element)) {
|
|
11
|
+
return undefined;
|
|
12
|
+
}
|
|
13
|
+
return `${element.element.charAt(0).toUpperCase() + element.element.slice(1)}Element`;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Arazzo Specification 1.0.1
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
exports.getNodeType = getNodeType;
|
|
21
|
+
const keyMap = exports.keyMap = {
|
|
22
|
+
ArazzoSpecification1Element: ['content'],
|
|
23
|
+
ComponentsElement: ['content'],
|
|
24
|
+
CriterionElement: ['content'],
|
|
25
|
+
CriterionExpressionTypeElement: ['content'],
|
|
26
|
+
FailureActionElement: ['content'],
|
|
27
|
+
InfoElement: ['content'],
|
|
28
|
+
ParameterElement: ['content'],
|
|
29
|
+
PayloadReplacementElement: ['content'],
|
|
30
|
+
RequestBodyElement: ['content'],
|
|
31
|
+
ReusableElement: ['content'],
|
|
32
|
+
SourceDescriptionElement: ['content'],
|
|
33
|
+
StepElement: ['content'],
|
|
34
|
+
SuccessActionElement: ['content'],
|
|
35
|
+
WorkflowElement: ['content'],
|
|
36
|
+
JSONSchema202012Element: ['content'],
|
|
37
|
+
..._apidomCore.keyMap
|
|
38
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { keyMap as keyMapBase, isElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export const getNodeType = element => {
|
|
7
|
+
if (!isElement(element)) {
|
|
8
|
+
return undefined;
|
|
9
|
+
}
|
|
10
|
+
return `${element.element.charAt(0).toUpperCase() + element.element.slice(1)}Element`;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Arazzo Specification 1.0.1
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
export const keyMap = {
|
|
19
|
+
ArazzoSpecification1Element: ['content'],
|
|
20
|
+
ComponentsElement: ['content'],
|
|
21
|
+
CriterionElement: ['content'],
|
|
22
|
+
CriterionExpressionTypeElement: ['content'],
|
|
23
|
+
FailureActionElement: ['content'],
|
|
24
|
+
InfoElement: ['content'],
|
|
25
|
+
ParameterElement: ['content'],
|
|
26
|
+
PayloadReplacementElement: ['content'],
|
|
27
|
+
RequestBodyElement: ['content'],
|
|
28
|
+
ReusableElement: ['content'],
|
|
29
|
+
SourceDescriptionElement: ['content'],
|
|
30
|
+
StepElement: ['content'],
|
|
31
|
+
SuccessActionElement: ['content'],
|
|
32
|
+
WorkflowElement: ['content'],
|
|
33
|
+
JSONSchema202012Element: ['content'],
|
|
34
|
+
...keyMapBase
|
|
35
|
+
};
|