@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,43 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
class ArazzoSpecification1 extends ObjectElement {
|
|
6
|
+
constructor(content, meta, attributes) {
|
|
7
|
+
super(content, meta, attributes);
|
|
8
|
+
this.element = 'arazzoSpecification1';
|
|
9
|
+
this.classes.push('api');
|
|
10
|
+
this.classes.push('arazzo');
|
|
11
|
+
}
|
|
12
|
+
get arazzo() {
|
|
13
|
+
return this.get('arazzo');
|
|
14
|
+
}
|
|
15
|
+
set arazzo(arazzo) {
|
|
16
|
+
this.set('arazzo', arazzo);
|
|
17
|
+
}
|
|
18
|
+
get info() {
|
|
19
|
+
return this.get('info');
|
|
20
|
+
}
|
|
21
|
+
set info(info) {
|
|
22
|
+
this.set('info', info);
|
|
23
|
+
}
|
|
24
|
+
get sourceDescriptions() {
|
|
25
|
+
return this.get('sourceDescriptions');
|
|
26
|
+
}
|
|
27
|
+
set sourceDescriptions(sourceDescriptions) {
|
|
28
|
+
this.set('sourceDescriptions', sourceDescriptions);
|
|
29
|
+
}
|
|
30
|
+
get workflows() {
|
|
31
|
+
return this.get('workflows');
|
|
32
|
+
}
|
|
33
|
+
set workflows(workflows) {
|
|
34
|
+
this.set('workflows', workflows);
|
|
35
|
+
}
|
|
36
|
+
get components() {
|
|
37
|
+
return this.get('components');
|
|
38
|
+
}
|
|
39
|
+
set components(components) {
|
|
40
|
+
this.set('components', components);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export default ArazzoSpecification1;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class Components extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'components';
|
|
13
|
+
}
|
|
14
|
+
get inputs() {
|
|
15
|
+
return this.get('inputs');
|
|
16
|
+
}
|
|
17
|
+
set inputs(inputs) {
|
|
18
|
+
this.set('inputs', inputs);
|
|
19
|
+
}
|
|
20
|
+
get parameters() {
|
|
21
|
+
return this.get('parameters');
|
|
22
|
+
}
|
|
23
|
+
set parameters(parameters) {
|
|
24
|
+
this.set('parameters', parameters);
|
|
25
|
+
}
|
|
26
|
+
get successActions() {
|
|
27
|
+
return this.get('successActions');
|
|
28
|
+
}
|
|
29
|
+
set successActions(successActions) {
|
|
30
|
+
this.set('successActions', successActions);
|
|
31
|
+
}
|
|
32
|
+
get failureActions() {
|
|
33
|
+
return this.get('failureActions');
|
|
34
|
+
}
|
|
35
|
+
set failureActions(failureActions) {
|
|
36
|
+
this.set('failureActions', failureActions);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
var _default = exports.default = Components;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
class Components extends ObjectElement {
|
|
6
|
+
constructor(content, meta, attributes) {
|
|
7
|
+
super(content, meta, attributes);
|
|
8
|
+
this.element = 'components';
|
|
9
|
+
}
|
|
10
|
+
get inputs() {
|
|
11
|
+
return this.get('inputs');
|
|
12
|
+
}
|
|
13
|
+
set inputs(inputs) {
|
|
14
|
+
this.set('inputs', inputs);
|
|
15
|
+
}
|
|
16
|
+
get parameters() {
|
|
17
|
+
return this.get('parameters');
|
|
18
|
+
}
|
|
19
|
+
set parameters(parameters) {
|
|
20
|
+
this.set('parameters', parameters);
|
|
21
|
+
}
|
|
22
|
+
get successActions() {
|
|
23
|
+
return this.get('successActions');
|
|
24
|
+
}
|
|
25
|
+
set successActions(successActions) {
|
|
26
|
+
this.set('successActions', successActions);
|
|
27
|
+
}
|
|
28
|
+
get failureActions() {
|
|
29
|
+
return this.get('failureActions');
|
|
30
|
+
}
|
|
31
|
+
set failureActions(failureActions) {
|
|
32
|
+
this.set('failureActions', failureActions);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
export default Components;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class Criterion extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'criterion';
|
|
13
|
+
}
|
|
14
|
+
get context() {
|
|
15
|
+
return this.get('context');
|
|
16
|
+
}
|
|
17
|
+
set context(context) {
|
|
18
|
+
this.set('context', context);
|
|
19
|
+
}
|
|
20
|
+
get condition() {
|
|
21
|
+
return this.get('condition');
|
|
22
|
+
}
|
|
23
|
+
set condition(condition) {
|
|
24
|
+
this.set('condition', condition);
|
|
25
|
+
}
|
|
26
|
+
get type() {
|
|
27
|
+
return this.get('type');
|
|
28
|
+
}
|
|
29
|
+
set type(type) {
|
|
30
|
+
this.set('type', type);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
var _default = exports.default = Criterion;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
class Criterion extends ObjectElement {
|
|
6
|
+
constructor(content, meta, attributes) {
|
|
7
|
+
super(content, meta, attributes);
|
|
8
|
+
this.element = 'criterion';
|
|
9
|
+
}
|
|
10
|
+
get context() {
|
|
11
|
+
return this.get('context');
|
|
12
|
+
}
|
|
13
|
+
set context(context) {
|
|
14
|
+
this.set('context', context);
|
|
15
|
+
}
|
|
16
|
+
get condition() {
|
|
17
|
+
return this.get('condition');
|
|
18
|
+
}
|
|
19
|
+
set condition(condition) {
|
|
20
|
+
this.set('condition', condition);
|
|
21
|
+
}
|
|
22
|
+
get type() {
|
|
23
|
+
return this.get('type');
|
|
24
|
+
}
|
|
25
|
+
set type(type) {
|
|
26
|
+
this.set('type', type);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export default Criterion;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class CriterionExpressionType extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'criterionExpressionType';
|
|
13
|
+
}
|
|
14
|
+
get type() {
|
|
15
|
+
return this.get('type');
|
|
16
|
+
}
|
|
17
|
+
set type(type) {
|
|
18
|
+
this.set('type', type);
|
|
19
|
+
}
|
|
20
|
+
get version() {
|
|
21
|
+
return this.get('version');
|
|
22
|
+
}
|
|
23
|
+
set version(version) {
|
|
24
|
+
this.set('version', version);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
var _default = exports.default = CriterionExpressionType;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class CriterionExpressionType extends ObjectElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'criterionExpressionType';
|
|
10
|
+
}
|
|
11
|
+
get type() {
|
|
12
|
+
return this.get('type');
|
|
13
|
+
}
|
|
14
|
+
set type(type) {
|
|
15
|
+
this.set('type', type);
|
|
16
|
+
}
|
|
17
|
+
get version() {
|
|
18
|
+
return this.get('version');
|
|
19
|
+
}
|
|
20
|
+
set version(version) {
|
|
21
|
+
this.set('version', version);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export default CriterionExpressionType;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class FailureAction extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'failureAction';
|
|
13
|
+
}
|
|
14
|
+
get name() {
|
|
15
|
+
return this.get('name');
|
|
16
|
+
}
|
|
17
|
+
set name(name) {
|
|
18
|
+
this.set('name', name);
|
|
19
|
+
}
|
|
20
|
+
get type() {
|
|
21
|
+
return this.get('type');
|
|
22
|
+
}
|
|
23
|
+
set type(type) {
|
|
24
|
+
this.set('type', type);
|
|
25
|
+
}
|
|
26
|
+
get workflowId() {
|
|
27
|
+
return this.get('workflowId');
|
|
28
|
+
}
|
|
29
|
+
set workflowId(workflowId) {
|
|
30
|
+
this.set('workflowId', workflowId);
|
|
31
|
+
}
|
|
32
|
+
get stepId() {
|
|
33
|
+
return this.get('stepId');
|
|
34
|
+
}
|
|
35
|
+
set stepId(stepId) {
|
|
36
|
+
this.set('stepId', stepId);
|
|
37
|
+
}
|
|
38
|
+
get retryAfter() {
|
|
39
|
+
return this.get('retryAfter');
|
|
40
|
+
}
|
|
41
|
+
set retryAfter(retryAfter) {
|
|
42
|
+
this.set('retryAfter', retryAfter);
|
|
43
|
+
}
|
|
44
|
+
get retryLimit() {
|
|
45
|
+
return this.get('retryLimit');
|
|
46
|
+
}
|
|
47
|
+
set retryLimit(retryLimit) {
|
|
48
|
+
this.set('retryLimit', retryLimit);
|
|
49
|
+
}
|
|
50
|
+
get criteria() {
|
|
51
|
+
return this.get('criteria');
|
|
52
|
+
}
|
|
53
|
+
set criteria(criteria) {
|
|
54
|
+
this.set('criteria', criteria);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
var _default = exports.default = FailureAction;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
class FailureAction extends ObjectElement {
|
|
6
|
+
constructor(content, meta, attributes) {
|
|
7
|
+
super(content, meta, attributes);
|
|
8
|
+
this.element = 'failureAction';
|
|
9
|
+
}
|
|
10
|
+
get name() {
|
|
11
|
+
return this.get('name');
|
|
12
|
+
}
|
|
13
|
+
set name(name) {
|
|
14
|
+
this.set('name', name);
|
|
15
|
+
}
|
|
16
|
+
get type() {
|
|
17
|
+
return this.get('type');
|
|
18
|
+
}
|
|
19
|
+
set type(type) {
|
|
20
|
+
this.set('type', type);
|
|
21
|
+
}
|
|
22
|
+
get workflowId() {
|
|
23
|
+
return this.get('workflowId');
|
|
24
|
+
}
|
|
25
|
+
set workflowId(workflowId) {
|
|
26
|
+
this.set('workflowId', workflowId);
|
|
27
|
+
}
|
|
28
|
+
get stepId() {
|
|
29
|
+
return this.get('stepId');
|
|
30
|
+
}
|
|
31
|
+
set stepId(stepId) {
|
|
32
|
+
this.set('stepId', stepId);
|
|
33
|
+
}
|
|
34
|
+
get retryAfter() {
|
|
35
|
+
return this.get('retryAfter');
|
|
36
|
+
}
|
|
37
|
+
set retryAfter(retryAfter) {
|
|
38
|
+
this.set('retryAfter', retryAfter);
|
|
39
|
+
}
|
|
40
|
+
get retryLimit() {
|
|
41
|
+
return this.get('retryLimit');
|
|
42
|
+
}
|
|
43
|
+
set retryLimit(retryLimit) {
|
|
44
|
+
this.set('retryLimit', retryLimit);
|
|
45
|
+
}
|
|
46
|
+
get criteria() {
|
|
47
|
+
return this.get('criteria');
|
|
48
|
+
}
|
|
49
|
+
set criteria(criteria) {
|
|
50
|
+
this.set('criteria', criteria);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export default FailureAction;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class Info extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'info';
|
|
13
|
+
this.classes.push('info');
|
|
14
|
+
}
|
|
15
|
+
get title() {
|
|
16
|
+
return this.get('title');
|
|
17
|
+
}
|
|
18
|
+
set title(title) {
|
|
19
|
+
this.set('title', title);
|
|
20
|
+
}
|
|
21
|
+
get summary() {
|
|
22
|
+
return this.get('summary');
|
|
23
|
+
}
|
|
24
|
+
set summary(summary) {
|
|
25
|
+
this.set('summary', summary);
|
|
26
|
+
}
|
|
27
|
+
get description() {
|
|
28
|
+
return this.get('description');
|
|
29
|
+
}
|
|
30
|
+
set description(description) {
|
|
31
|
+
this.set('description', description);
|
|
32
|
+
}
|
|
33
|
+
get version() {
|
|
34
|
+
return this.get('version');
|
|
35
|
+
}
|
|
36
|
+
set version(version) {
|
|
37
|
+
this.set('version', version);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
var _default = exports.default = Info;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class Info extends ObjectElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'info';
|
|
10
|
+
this.classes.push('info');
|
|
11
|
+
}
|
|
12
|
+
get title() {
|
|
13
|
+
return this.get('title');
|
|
14
|
+
}
|
|
15
|
+
set title(title) {
|
|
16
|
+
this.set('title', title);
|
|
17
|
+
}
|
|
18
|
+
get summary() {
|
|
19
|
+
return this.get('summary');
|
|
20
|
+
}
|
|
21
|
+
set summary(summary) {
|
|
22
|
+
this.set('summary', summary);
|
|
23
|
+
}
|
|
24
|
+
get description() {
|
|
25
|
+
return this.get('description');
|
|
26
|
+
}
|
|
27
|
+
set description(description) {
|
|
28
|
+
this.set('description', description);
|
|
29
|
+
}
|
|
30
|
+
get version() {
|
|
31
|
+
return this.get('version');
|
|
32
|
+
}
|
|
33
|
+
set version(version) {
|
|
34
|
+
this.set('version', version);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
export default Info;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomNsJsonSchema = require("@speclynx/apidom-ns-json-schema-2020-12");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class JSONSchema extends _apidomNsJsonSchema.JSONSchemaElement {}
|
|
10
|
+
var _default = exports.default = JSONSchema;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class Parameter extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'parameter';
|
|
13
|
+
}
|
|
14
|
+
get name() {
|
|
15
|
+
return this.get('name');
|
|
16
|
+
}
|
|
17
|
+
set name(name) {
|
|
18
|
+
this.set('name', name);
|
|
19
|
+
}
|
|
20
|
+
get in() {
|
|
21
|
+
return this.get('in');
|
|
22
|
+
}
|
|
23
|
+
set in(val) {
|
|
24
|
+
this.set('in', val);
|
|
25
|
+
}
|
|
26
|
+
get value() {
|
|
27
|
+
return this.get('value');
|
|
28
|
+
}
|
|
29
|
+
set value(value) {
|
|
30
|
+
this.set('value', value);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
var _default = exports.default = Parameter;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class Parameter extends ObjectElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'parameter';
|
|
10
|
+
}
|
|
11
|
+
get name() {
|
|
12
|
+
return this.get('name');
|
|
13
|
+
}
|
|
14
|
+
set name(name) {
|
|
15
|
+
this.set('name', name);
|
|
16
|
+
}
|
|
17
|
+
get in() {
|
|
18
|
+
return this.get('in');
|
|
19
|
+
}
|
|
20
|
+
set in(val) {
|
|
21
|
+
this.set('in', val);
|
|
22
|
+
}
|
|
23
|
+
get value() {
|
|
24
|
+
return this.get('value');
|
|
25
|
+
}
|
|
26
|
+
set value(value) {
|
|
27
|
+
this.set('value', value);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export default Parameter;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class PayloadReplacement extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'payloadReplacement';
|
|
13
|
+
}
|
|
14
|
+
get target() {
|
|
15
|
+
return this.get('target');
|
|
16
|
+
}
|
|
17
|
+
set target(target) {
|
|
18
|
+
this.set('target', target);
|
|
19
|
+
}
|
|
20
|
+
get value() {
|
|
21
|
+
return this.get('value');
|
|
22
|
+
}
|
|
23
|
+
set value(value) {
|
|
24
|
+
this.set('value', value);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
var _default = exports.default = PayloadReplacement;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class PayloadReplacement extends ObjectElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'payloadReplacement';
|
|
10
|
+
}
|
|
11
|
+
get target() {
|
|
12
|
+
return this.get('target');
|
|
13
|
+
}
|
|
14
|
+
set target(target) {
|
|
15
|
+
this.set('target', target);
|
|
16
|
+
}
|
|
17
|
+
get value() {
|
|
18
|
+
return this.get('value');
|
|
19
|
+
}
|
|
20
|
+
set value(value) {
|
|
21
|
+
this.set('value', value);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export default PayloadReplacement;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class RequestBody extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'requestBody';
|
|
13
|
+
}
|
|
14
|
+
get contentType() {
|
|
15
|
+
return this.get('contentType');
|
|
16
|
+
}
|
|
17
|
+
set contentType(contentType) {
|
|
18
|
+
this.set('contentType', contentType);
|
|
19
|
+
}
|
|
20
|
+
get payload() {
|
|
21
|
+
return this.get('payload');
|
|
22
|
+
}
|
|
23
|
+
set payload(payload) {
|
|
24
|
+
this.set('payload', payload);
|
|
25
|
+
}
|
|
26
|
+
get replacements() {
|
|
27
|
+
return this.get('replacements');
|
|
28
|
+
}
|
|
29
|
+
set replacements(replacements) {
|
|
30
|
+
this.set('replacements', replacements);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
var _default = exports.default = RequestBody;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
class RequestBody extends ObjectElement {
|
|
6
|
+
constructor(content, meta, attributes) {
|
|
7
|
+
super(content, meta, attributes);
|
|
8
|
+
this.element = 'requestBody';
|
|
9
|
+
}
|
|
10
|
+
get contentType() {
|
|
11
|
+
return this.get('contentType');
|
|
12
|
+
}
|
|
13
|
+
set contentType(contentType) {
|
|
14
|
+
this.set('contentType', contentType);
|
|
15
|
+
}
|
|
16
|
+
get payload() {
|
|
17
|
+
return this.get('payload');
|
|
18
|
+
}
|
|
19
|
+
set payload(payload) {
|
|
20
|
+
this.set('payload', payload);
|
|
21
|
+
}
|
|
22
|
+
get replacements() {
|
|
23
|
+
return this.get('replacements');
|
|
24
|
+
}
|
|
25
|
+
set replacements(replacements) {
|
|
26
|
+
this.set('replacements', replacements);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export default RequestBody;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomCore = require("@speclynx/apidom-core");
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
class Reusable extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'reusable';
|
|
13
|
+
this.classes.push('arazzo-reference');
|
|
14
|
+
}
|
|
15
|
+
get reference() {
|
|
16
|
+
return this.get('reference');
|
|
17
|
+
}
|
|
18
|
+
set reference(reference) {
|
|
19
|
+
this.set('reference', reference);
|
|
20
|
+
}
|
|
21
|
+
get value() {
|
|
22
|
+
return this.get('value');
|
|
23
|
+
}
|
|
24
|
+
set value(value) {
|
|
25
|
+
this.set('value', value);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
var _default = exports.default = Reusable;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class Reusable extends ObjectElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'reusable';
|
|
10
|
+
this.classes.push('arazzo-reference');
|
|
11
|
+
}
|
|
12
|
+
get reference() {
|
|
13
|
+
return this.get('reference');
|
|
14
|
+
}
|
|
15
|
+
set reference(reference) {
|
|
16
|
+
this.set('reference', reference);
|
|
17
|
+
}
|
|
18
|
+
get value() {
|
|
19
|
+
return this.get('value');
|
|
20
|
+
}
|
|
21
|
+
set value(value) {
|
|
22
|
+
this.set('value', value);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export default Reusable;
|