@speclynx/apidom-ns-openapi-3-1 2.10.3 → 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 +10 -0
- package/dist/apidom-ns-openapi-3-1.browser.js +468 -268
- package/dist/apidom-ns-openapi-3-1.browser.min.js +1 -1
- package/package.json +8 -8
- package/src/refractor/plugins/replace-empty-element.cjs +1 -0
- package/src/refractor/plugins/replace-empty-element.mjs +2 -1
- package/types/apidom-ns-openapi-3-1.d.ts +4 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speclynx/apidom-ns-openapi-3-1",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "OpenAPI 3.1.x namespace for ApiDOM.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"license": "Apache-2.0",
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime-corejs3": "^7.28.4",
|
|
49
|
-
"@speclynx/apidom-core": "^2.
|
|
50
|
-
"@speclynx/apidom-datamodel": "^2.
|
|
51
|
-
"@speclynx/apidom-json-pointer": "^2.
|
|
52
|
-
"@speclynx/apidom-ns-json-schema-2020-12": "^2.
|
|
53
|
-
"@speclynx/apidom-ns-openapi-3-0": "^2.
|
|
54
|
-
"@speclynx/apidom-traverse": "^2.
|
|
49
|
+
"@speclynx/apidom-core": "^2.12.0",
|
|
50
|
+
"@speclynx/apidom-datamodel": "^2.12.0",
|
|
51
|
+
"@speclynx/apidom-json-pointer": "^2.12.0",
|
|
52
|
+
"@speclynx/apidom-ns-json-schema-2020-12": "^2.12.0",
|
|
53
|
+
"@speclynx/apidom-ns-openapi-3-0": "^2.12.0",
|
|
54
|
+
"@speclynx/apidom-traverse": "^2.12.0",
|
|
55
55
|
"ramda": "~0.32.0",
|
|
56
56
|
"ramda-adjunct": "^6.0.0",
|
|
57
57
|
"ts-mixer": "^6.0.4"
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"README.md",
|
|
67
67
|
"CHANGELOG.md"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "672efe907afef6ae5b547a8028db077297a0c52e"
|
|
70
70
|
}
|
|
@@ -659,6 +659,7 @@ const plugin = () => () => {
|
|
|
659
659
|
context
|
|
660
660
|
}, undefined, (0, _apidomDatamodel.cloneDeep)(element.meta), (0, _apidomDatamodel.cloneDeep)(element.attributes));
|
|
661
661
|
_apidomDatamodel.SourceMapElement.transfer(element, newElement);
|
|
662
|
+
_apidomDatamodel.StyleElement.transfer(element, newElement);
|
|
662
663
|
path.replaceWith(newElement);
|
|
663
664
|
}
|
|
664
665
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ArrayElement, ObjectElement, isStringElement, isArrayElement, isMemberElement, includesClasses, cloneDeep, SourceMapElement } from '@speclynx/apidom-datamodel';
|
|
1
|
+
import { ArrayElement, ObjectElement, isStringElement, isArrayElement, isMemberElement, includesClasses, cloneDeep, SourceMapElement, StyleElement } from '@speclynx/apidom-datamodel';
|
|
2
2
|
import { toValue } from '@speclynx/apidom-core';
|
|
3
3
|
import { getNodeType } from '@speclynx/apidom-traverse';
|
|
4
4
|
import { ServersElement, SecurityElement, TagsElement, ServerVariablesElement, ComponentsSchemasElement, ComponentsResponsesElement, ComponentsParametersElement, ComponentsExamplesElement, ComponentsRequestBodiesElement, ComponentsHeadersElement, ComponentsSecuritySchemesElement, ComponentsLinksElement, ComponentsCallbacksElement, PathItemServersElement, PathItemParametersElement, OperationParametersElement, ParameterExamplesElement, ParameterContentElement, HeaderExamplesElement, HeaderContentElement, OperationTagsElement, OperationCallbacksElement, OperationSecurityElement, OperationServersElement, RequestBodyContentElement, MediaTypeExamplesElement, MediaTypeEncodingElement, EncodingHeadersElement, ResponseHeadersElement, ResponseContentElement, ResponseLinksElement, DiscriminatorMappingElement, OAuthFlowScopesElement } from '@speclynx/apidom-ns-openapi-3-0';
|
|
@@ -651,6 +651,7 @@ const plugin = () => () => {
|
|
|
651
651
|
context
|
|
652
652
|
}, undefined, cloneDeep(element.meta), cloneDeep(element.attributes));
|
|
653
653
|
SourceMapElement.transfer(element, newElement);
|
|
654
|
+
StyleElement.transfer(element, newElement);
|
|
654
655
|
path.replaceWith(newElement);
|
|
655
656
|
}
|
|
656
657
|
}
|
|
@@ -71,7 +71,6 @@ import { ExternalDocumentationElement as ExternalDocumentationElement_2 } from '
|
|
|
71
71
|
import { ExternalDocumentationVisitor as ExternalDocumentationVisitor_2 } from '@speclynx/apidom-ns-openapi-3-0';
|
|
72
72
|
import { ExternalDocumentationVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
|
|
73
73
|
import { FallbackVisitor } from '@speclynx/apidom-ns-openapi-3-0';
|
|
74
|
-
import { FallbackVisitor as FallbackVisitor_2 } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
75
74
|
import { FallbackVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
|
|
76
75
|
import { FixedFieldsVisitor } from '@speclynx/apidom-ns-openapi-3-0';
|
|
77
76
|
import { FixedFieldsVisitorOptions } from '@speclynx/apidom-ns-openapi-3-0';
|
|
@@ -2346,6 +2345,7 @@ export declare const specificationObj: {
|
|
|
2346
2345
|
};
|
|
2347
2346
|
readonly style: {
|
|
2348
2347
|
readonly $ref: "#/visitors/value";
|
|
2348
|
+
readonly alias: "styleField";
|
|
2349
2349
|
};
|
|
2350
2350
|
readonly explode: {
|
|
2351
2351
|
readonly $ref: "#/visitors/value";
|
|
@@ -2406,6 +2406,7 @@ export declare const specificationObj: {
|
|
|
2406
2406
|
readonly headers: EncodingHeadersVisitor;
|
|
2407
2407
|
readonly style: {
|
|
2408
2408
|
readonly $ref: "#/visitors/value";
|
|
2409
|
+
readonly alias: "styleField";
|
|
2409
2410
|
};
|
|
2410
2411
|
readonly explode: {
|
|
2411
2412
|
readonly $ref: "#/visitors/value";
|
|
@@ -2496,6 +2497,7 @@ export declare const specificationObj: {
|
|
|
2496
2497
|
};
|
|
2497
2498
|
readonly style: {
|
|
2498
2499
|
readonly $ref: "#/visitors/value";
|
|
2500
|
+
readonly alias: "styleField";
|
|
2499
2501
|
};
|
|
2500
2502
|
readonly explode: {
|
|
2501
2503
|
readonly $ref: "#/visitors/value";
|
|
@@ -2631,7 +2633,7 @@ export declare const specificationObj: {
|
|
|
2631
2633
|
readonly $ref: "#/visitors/value";
|
|
2632
2634
|
};
|
|
2633
2635
|
readonly id: {
|
|
2634
|
-
$
|
|
2636
|
+
$ref: string;
|
|
2635
2637
|
alias: string;
|
|
2636
2638
|
};
|
|
2637
2639
|
readonly $schema: {
|