@speclynx/apidom-ns-openapi-3-1 4.0.3 → 4.0.4

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.
Files changed (99) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/apidom-ns-openapi-3-1.browser.js +6 -6
  3. package/dist/apidom-ns-openapi-3-1.browser.min.js +1 -1
  4. package/package.json +10 -9
  5. package/src/elements/Callback.ts +0 -8
  6. package/src/elements/Components.ts +0 -17
  7. package/src/elements/Contact.ts +0 -8
  8. package/src/elements/Discriminator.ts +0 -8
  9. package/src/elements/Encoding.ts +0 -8
  10. package/src/elements/Example.ts +0 -8
  11. package/src/elements/ExternalDocumentation.ts +0 -8
  12. package/src/elements/Header.ts +0 -18
  13. package/src/elements/Info.ts +0 -27
  14. package/src/elements/JsonSchemaDialect.ts +0 -15
  15. package/src/elements/License.ts +0 -17
  16. package/src/elements/Link.ts +0 -8
  17. package/src/elements/MediaType.ts +0 -18
  18. package/src/elements/OAuthFlow.ts +0 -8
  19. package/src/elements/OAuthFlows.ts +0 -8
  20. package/src/elements/OpenApi3-1.ts +0 -107
  21. package/src/elements/Openapi.ts +0 -8
  22. package/src/elements/Operation.ts +0 -19
  23. package/src/elements/Parameter.ts +0 -18
  24. package/src/elements/PathItem.ts +0 -74
  25. package/src/elements/Paths.ts +0 -8
  26. package/src/elements/Reference.ts +0 -29
  27. package/src/elements/RequestBody.ts +0 -8
  28. package/src/elements/Response.ts +0 -8
  29. package/src/elements/Responses.ts +0 -8
  30. package/src/elements/Schema.ts +0 -59
  31. package/src/elements/SecurityRequirement.ts +0 -8
  32. package/src/elements/SecurityScheme.ts +0 -8
  33. package/src/elements/Server.ts +0 -8
  34. package/src/elements/ServerVariable.ts +0 -8
  35. package/src/elements/Tag.ts +0 -8
  36. package/src/elements/Xml.ts +0 -8
  37. package/src/elements/nces/ComponentsPathItems.ts +0 -15
  38. package/src/elements/nces/Webhooks.ts +0 -15
  39. package/src/index.ts +0 -592
  40. package/src/media-types.ts +0 -46
  41. package/src/namespace.ts +0 -80
  42. package/src/predicates.ts +0 -229
  43. package/src/refractor/index.ts +0 -380
  44. package/src/refractor/inspect.ts +0 -241
  45. package/src/refractor/plugins/normalize-header-examples/NormalizeStorage.ts +0 -53
  46. package/src/refractor/plugins/normalize-header-examples/index.ts +0 -125
  47. package/src/refractor/plugins/normalize-operation-ids.ts +0 -198
  48. package/src/refractor/plugins/normalize-parameter-examples.ts +0 -128
  49. package/src/refractor/plugins/normalize-parameters.ts +0 -136
  50. package/src/refractor/plugins/normalize-security-requirements.ts +0 -87
  51. package/src/refractor/plugins/normalize-servers.ts +0 -144
  52. package/src/refractor/plugins/replace-empty-element.ts +0 -726
  53. package/src/refractor/predicates.ts +0 -39
  54. package/src/refractor/specification.ts +0 -594
  55. package/src/refractor/toolbox.ts +0 -70
  56. package/src/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.ts +0 -32
  57. package/src/refractor/visitors/open-api-3-1/OpenapiVisitor.ts +0 -30
  58. package/src/refractor/visitors/open-api-3-1/WebhooksVisitor.ts +0 -57
  59. package/src/refractor/visitors/open-api-3-1/bases.ts +0 -66
  60. package/src/refractor/visitors/open-api-3-1/callback/index.ts +0 -56
  61. package/src/refractor/visitors/open-api-3-1/components/PathItemsVisitor.ts +0 -45
  62. package/src/refractor/visitors/open-api-3-1/components/SchemasVisitor.ts +0 -26
  63. package/src/refractor/visitors/open-api-3-1/components/index.ts +0 -29
  64. package/src/refractor/visitors/open-api-3-1/contact/index.ts +0 -29
  65. package/src/refractor/visitors/open-api-3-1/distriminator/index.ts +0 -32
  66. package/src/refractor/visitors/open-api-3-1/encoding/index.ts +0 -29
  67. package/src/refractor/visitors/open-api-3-1/example/index.ts +0 -29
  68. package/src/refractor/visitors/open-api-3-1/external-documentation/index.ts +0 -29
  69. package/src/refractor/visitors/open-api-3-1/header/index.ts +0 -29
  70. package/src/refractor/visitors/open-api-3-1/index.ts +0 -52
  71. package/src/refractor/visitors/open-api-3-1/info/index.ts +0 -29
  72. package/src/refractor/visitors/open-api-3-1/license/index.ts +0 -29
  73. package/src/refractor/visitors/open-api-3-1/link/index.ts +0 -29
  74. package/src/refractor/visitors/open-api-3-1/media-type/index.ts +0 -29
  75. package/src/refractor/visitors/open-api-3-1/oauth-flow/index.ts +0 -29
  76. package/src/refractor/visitors/open-api-3-1/oauth-flows/index.ts +0 -29
  77. package/src/refractor/visitors/open-api-3-1/operation/index.ts +0 -29
  78. package/src/refractor/visitors/open-api-3-1/parameter/index.ts +0 -29
  79. package/src/refractor/visitors/open-api-3-1/path-item/index.ts +0 -29
  80. package/src/refractor/visitors/open-api-3-1/paths/index.ts +0 -29
  81. package/src/refractor/visitors/open-api-3-1/reference/index.ts +0 -29
  82. package/src/refractor/visitors/open-api-3-1/request-body/index.ts +0 -29
  83. package/src/refractor/visitors/open-api-3-1/response/index.ts +0 -29
  84. package/src/refractor/visitors/open-api-3-1/responses/index.ts +0 -29
  85. package/src/refractor/visitors/open-api-3-1/schema/$defsVisitor.ts +0 -21
  86. package/src/refractor/visitors/open-api-3-1/schema/AllOfVisitor.ts +0 -18
  87. package/src/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.ts +0 -18
  88. package/src/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.ts +0 -18
  89. package/src/refractor/visitors/open-api-3-1/schema/OneOfVisitor.ts +0 -18
  90. package/src/refractor/visitors/open-api-3-1/schema/PatternPropertiesVisitor.ts +0 -18
  91. package/src/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.ts +0 -18
  92. package/src/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.ts +0 -18
  93. package/src/refractor/visitors/open-api-3-1/schema/index.ts +0 -88
  94. package/src/refractor/visitors/open-api-3-1/security-requirement/index.ts +0 -29
  95. package/src/refractor/visitors/open-api-3-1/security-scheme/index.ts +0 -29
  96. package/src/refractor/visitors/open-api-3-1/server/index.ts +0 -29
  97. package/src/refractor/visitors/open-api-3-1/server-variable/index.ts +0 -29
  98. package/src/refractor/visitors/open-api-3-1/tag/index.ts +0 -29
  99. package/src/refractor/visitors/open-api-3-1/xml/index.ts +0 -29
@@ -1,29 +0,0 @@
1
- import {
2
- specificationObj as OpenApi3_1Specification,
3
- SecuritySchemeVisitorOptions,
4
- SecuritySchemeVisitor as SecuritySchemeVisitorType,
5
- } from '@speclynx/apidom-ns-openapi-3-0';
6
-
7
- import SecuritySchemeElement from '../../../../elements/SecurityScheme.ts';
8
-
9
- /**
10
- * @public
11
- */
12
- export const BaseSecuritySchemeVisitor: typeof SecuritySchemeVisitorType =
13
- OpenApi3_1Specification.visitors.document.objects.SecurityScheme.$visitor;
14
-
15
- export type { SecuritySchemeVisitorOptions };
16
-
17
- /**
18
- * @public
19
- */
20
- class SecuritySchemeVisitor extends BaseSecuritySchemeVisitor {
21
- declare public readonly element: SecuritySchemeElement;
22
-
23
- constructor(options: SecuritySchemeVisitorOptions) {
24
- super(options);
25
- this.element = new SecuritySchemeElement();
26
- }
27
- }
28
-
29
- export default SecuritySchemeVisitor;
@@ -1,29 +0,0 @@
1
- import {
2
- specificationObj as OpenApi3_1Specification,
3
- ServerVisitorOptions,
4
- ServerVisitor as ServerVisitorType,
5
- } from '@speclynx/apidom-ns-openapi-3-0';
6
-
7
- import ServerElement from '../../../../elements/Server.ts';
8
-
9
- /**
10
- * @public
11
- */
12
- export const BaseServerVisitor: typeof ServerVisitorType =
13
- OpenApi3_1Specification.visitors.document.objects.Server.$visitor;
14
-
15
- export type { ServerVisitorOptions };
16
-
17
- /**
18
- * @public
19
- */
20
- class ServerVisitor extends BaseServerVisitor {
21
- declare public readonly element: ServerElement;
22
-
23
- constructor(options: ServerVisitorOptions) {
24
- super(options);
25
- this.element = new ServerElement();
26
- }
27
- }
28
-
29
- export default ServerVisitor;
@@ -1,29 +0,0 @@
1
- import {
2
- specificationObj as OpenApi3_1Specification,
3
- ServerVariableVisitorOptions,
4
- ServerVariableVisitor as ServerVariableVisitorType,
5
- } from '@speclynx/apidom-ns-openapi-3-0';
6
-
7
- import ServerVariableElement from '../../../../elements/ServerVariable.ts';
8
-
9
- /**
10
- * @public
11
- */
12
- export const BaseServerVariableVisitor: typeof ServerVariableVisitorType =
13
- OpenApi3_1Specification.visitors.document.objects.ServerVariable.$visitor;
14
-
15
- export type { ServerVariableVisitorOptions };
16
-
17
- /**
18
- * @public
19
- */
20
- class ServerVariableVisitor extends BaseServerVariableVisitor {
21
- declare public readonly element: ServerVariableElement;
22
-
23
- constructor(options: ServerVariableVisitorOptions) {
24
- super(options);
25
- this.element = new ServerVariableElement();
26
- }
27
- }
28
-
29
- export default ServerVariableVisitor;
@@ -1,29 +0,0 @@
1
- import {
2
- specificationObj as OpenApi3_1Specification,
3
- TagVisitorOptions,
4
- TagVisitor as TagVisitorType,
5
- } from '@speclynx/apidom-ns-openapi-3-0';
6
-
7
- import TagElement from '../../../../elements/Tag.ts';
8
-
9
- /**
10
- * @public
11
- */
12
- export const BaseTagVisitor: typeof TagVisitorType =
13
- OpenApi3_1Specification.visitors.document.objects.Tag.$visitor;
14
-
15
- export type { TagVisitorOptions };
16
-
17
- /**
18
- * @public
19
- */
20
- class TagVisitor extends BaseTagVisitor {
21
- declare public readonly element: TagElement;
22
-
23
- constructor(options: TagVisitorOptions) {
24
- super(options);
25
- this.element = new TagElement();
26
- }
27
- }
28
-
29
- export default TagVisitor;
@@ -1,29 +0,0 @@
1
- import {
2
- specificationObj as OpenApi3_1Specification,
3
- XmlVisitorOptions,
4
- XmlVisitor as XmlVisitorType,
5
- } from '@speclynx/apidom-ns-openapi-3-0';
6
-
7
- import XmlElement from '../../../../elements/Xml.ts';
8
-
9
- /**
10
- * @public
11
- */
12
- export const BaseXMLVisitor: typeof XmlVisitorType =
13
- OpenApi3_1Specification.visitors.document.objects.XML.$visitor;
14
-
15
- export type { XmlVisitorOptions };
16
-
17
- /**
18
- * @public
19
- */
20
- class XmlVisitor extends BaseXMLVisitor {
21
- declare public readonly element: XmlElement;
22
-
23
- constructor(options: XmlVisitorOptions) {
24
- super(options);
25
- this.element = new XmlElement();
26
- }
27
- }
28
-
29
- export default XmlVisitor;