@speclynx/apidom-ns-openapi-3-0 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 +88 -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 +221 -0
- package/dist/apidom-ns-openapi-3-0.browser.js +25840 -0
- package/dist/apidom-ns-openapi-3-0.browser.min.js +1 -0
- package/package.json +65 -0
- package/src/elements/Callback.cjs +15 -0
- package/src/elements/Callback.mjs +12 -0
- package/src/elements/Components.cjs +69 -0
- package/src/elements/Components.mjs +66 -0
- package/src/elements/Contact.cjs +33 -0
- package/src/elements/Contact.mjs +30 -0
- package/src/elements/Discriminator.cjs +27 -0
- package/src/elements/Discriminator.mjs +24 -0
- package/src/elements/Encoding.cjs +45 -0
- package/src/elements/Encoding.mjs +42 -0
- package/src/elements/Example.cjs +39 -0
- package/src/elements/Example.mjs +36 -0
- package/src/elements/ExternalDocumentation.cjs +27 -0
- package/src/elements/ExternalDocumentation.mjs +24 -0
- package/src/elements/Header.cjs +90 -0
- package/src/elements/Header.mjs +86 -0
- package/src/elements/Info.cjs +52 -0
- package/src/elements/Info.mjs +48 -0
- package/src/elements/License.cjs +27 -0
- package/src/elements/License.mjs +24 -0
- package/src/elements/Link.cjs +63 -0
- package/src/elements/Link.mjs +59 -0
- package/src/elements/MediaType.cjs +39 -0
- package/src/elements/MediaType.mjs +35 -0
- package/src/elements/OAuthFlow.cjs +39 -0
- package/src/elements/OAuthFlow.mjs +36 -0
- package/src/elements/OAuthFlows.cjs +39 -0
- package/src/elements/OAuthFlows.mjs +35 -0
- package/src/elements/OpenApi3-0.cjs +65 -0
- package/src/elements/OpenApi3-0.mjs +61 -0
- package/src/elements/Openapi.cjs +17 -0
- package/src/elements/Openapi.mjs +14 -0
- package/src/elements/Operation.cjs +90 -0
- package/src/elements/Operation.mjs +86 -0
- package/src/elements/Parameter.cjs +102 -0
- package/src/elements/Parameter.mjs +98 -0
- package/src/elements/PathItem.cjs +93 -0
- package/src/elements/PathItem.mjs +89 -0
- package/src/elements/Paths.cjs +15 -0
- package/src/elements/Paths.mjs +12 -0
- package/src/elements/Reference.cjs +22 -0
- package/src/elements/Reference.mjs +19 -0
- package/src/elements/RequestBody.cjs +36 -0
- package/src/elements/RequestBody.mjs +33 -0
- package/src/elements/Response.cjs +39 -0
- package/src/elements/Response.mjs +36 -0
- package/src/elements/Responses.cjs +21 -0
- package/src/elements/Responses.mjs +17 -0
- package/src/elements/Schema.cjs +170 -0
- package/src/elements/Schema.mjs +166 -0
- package/src/elements/SecurityRequirement.cjs +15 -0
- package/src/elements/SecurityRequirement.mjs +12 -0
- package/src/elements/SecurityScheme.cjs +63 -0
- package/src/elements/SecurityScheme.mjs +59 -0
- package/src/elements/Server.cjs +33 -0
- package/src/elements/Server.mjs +30 -0
- package/src/elements/ServerVariable.cjs +33 -0
- package/src/elements/ServerVariable.mjs +30 -0
- package/src/elements/Tag.cjs +33 -0
- package/src/elements/Tag.mjs +29 -0
- package/src/elements/Xml.cjs +45 -0
- package/src/elements/Xml.mjs +42 -0
- package/src/elements/nces/ComponentsCallbacks.cjs +16 -0
- package/src/elements/nces/ComponentsCallbacks.mjs +13 -0
- package/src/elements/nces/ComponentsExamples.cjs +17 -0
- package/src/elements/nces/ComponentsExamples.mjs +14 -0
- package/src/elements/nces/ComponentsHeaders.cjs +16 -0
- package/src/elements/nces/ComponentsHeaders.mjs +13 -0
- package/src/elements/nces/ComponentsLinks.cjs +16 -0
- package/src/elements/nces/ComponentsLinks.mjs +13 -0
- package/src/elements/nces/ComponentsParameters.cjs +17 -0
- package/src/elements/nces/ComponentsParameters.mjs +14 -0
- package/src/elements/nces/ComponentsRequestBodies.cjs +16 -0
- package/src/elements/nces/ComponentsRequestBodies.mjs +13 -0
- package/src/elements/nces/ComponentsResponses.cjs +16 -0
- package/src/elements/nces/ComponentsResponses.mjs +13 -0
- package/src/elements/nces/ComponentsSchemas.cjs +16 -0
- package/src/elements/nces/ComponentsSchemas.mjs +13 -0
- package/src/elements/nces/ComponentsSecuritySchemes.cjs +16 -0
- package/src/elements/nces/ComponentsSecuritySchemes.mjs +13 -0
- package/src/elements/nces/DiscriminatorMapping.cjs +16 -0
- package/src/elements/nces/DiscriminatorMapping.mjs +13 -0
- package/src/elements/nces/EncodingHeaders.cjs +16 -0
- package/src/elements/nces/EncodingHeaders.mjs +13 -0
- package/src/elements/nces/HeaderContent.cjs +17 -0
- package/src/elements/nces/HeaderContent.mjs +14 -0
- package/src/elements/nces/HeaderExamples.cjs +17 -0
- package/src/elements/nces/HeaderExamples.mjs +14 -0
- package/src/elements/nces/LinkParameters.cjs +16 -0
- package/src/elements/nces/LinkParameters.mjs +13 -0
- package/src/elements/nces/MediaTypeEncoding.cjs +16 -0
- package/src/elements/nces/MediaTypeEncoding.mjs +13 -0
- package/src/elements/nces/MediaTypeExamples.cjs +17 -0
- package/src/elements/nces/MediaTypeExamples.mjs +14 -0
- package/src/elements/nces/OAuthFlowScopes.cjs +16 -0
- package/src/elements/nces/OAuthFlowScopes.mjs +13 -0
- package/src/elements/nces/OperationCallbacks.cjs +16 -0
- package/src/elements/nces/OperationCallbacks.mjs +13 -0
- package/src/elements/nces/OperationParameters.cjs +17 -0
- package/src/elements/nces/OperationParameters.mjs +14 -0
- package/src/elements/nces/OperationSecurity.cjs +17 -0
- package/src/elements/nces/OperationSecurity.mjs +14 -0
- package/src/elements/nces/OperationServers.cjs +17 -0
- package/src/elements/nces/OperationServers.mjs +14 -0
- package/src/elements/nces/OperationTags.cjs +16 -0
- package/src/elements/nces/OperationTags.mjs +13 -0
- package/src/elements/nces/ParameterContent.cjs +17 -0
- package/src/elements/nces/ParameterContent.mjs +14 -0
- package/src/elements/nces/ParameterExamples.cjs +17 -0
- package/src/elements/nces/ParameterExamples.mjs +14 -0
- package/src/elements/nces/PathItemParameters.cjs +17 -0
- package/src/elements/nces/PathItemParameters.mjs +14 -0
- package/src/elements/nces/PathItemServers.cjs +17 -0
- package/src/elements/nces/PathItemServers.mjs +14 -0
- package/src/elements/nces/RequestBodyContent.cjs +17 -0
- package/src/elements/nces/RequestBodyContent.mjs +14 -0
- package/src/elements/nces/ResponseContent.cjs +17 -0
- package/src/elements/nces/ResponseContent.mjs +14 -0
- package/src/elements/nces/ResponseHeaders.cjs +16 -0
- package/src/elements/nces/ResponseHeaders.mjs +13 -0
- package/src/elements/nces/ResponseLinks.cjs +16 -0
- package/src/elements/nces/ResponseLinks.mjs +13 -0
- package/src/elements/nces/Security.cjs +16 -0
- package/src/elements/nces/Security.mjs +13 -0
- package/src/elements/nces/ServerVariables.cjs +16 -0
- package/src/elements/nces/ServerVariables.mjs +13 -0
- package/src/elements/nces/Servers.cjs +16 -0
- package/src/elements/nces/Servers.mjs +13 -0
- package/src/elements/nces/Tags.cjs +16 -0
- package/src/elements/nces/Tags.mjs +13 -0
- package/src/index.cjs +185 -0
- package/src/index.mjs +54 -0
- package/src/media-types.cjs +34 -0
- package/src/media-types.mjs +30 -0
- package/src/namespace.cjs +80 -0
- package/src/namespace.mjs +74 -0
- package/src/predicates.cjs +330 -0
- package/src/predicates.mjs +322 -0
- package/src/refractor/index.cjs +52 -0
- package/src/refractor/index.mjs +46 -0
- package/src/refractor/plugins/replace-empty-element.cjs +627 -0
- package/src/refractor/plugins/replace-empty-element.mjs +619 -0
- package/src/refractor/predicates.cjs +36 -0
- package/src/refractor/predicates.mjs +31 -0
- package/src/refractor/registration.cjs +99 -0
- package/src/refractor/registration.mjs +64 -0
- package/src/refractor/specification.cjs +644 -0
- package/src/refractor/specification.mjs +639 -0
- package/src/refractor/toolbox.cjs +38 -0
- package/src/refractor/toolbox.mjs +30 -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 +84 -0
- package/src/refractor/visitors/SpecificationVisitor.mjs +78 -0
- package/src/refractor/visitors/Visitor.cjs +31 -0
- package/src/refractor/visitors/Visitor.mjs +28 -0
- package/src/refractor/visitors/generics/AlternatingVisitor.cjs +42 -0
- package/src/refractor/visitors/generics/AlternatingVisitor.mjs +35 -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/MixedFieldsVisitor.cjs +60 -0
- package/src/refractor/visitors/generics/MixedFieldsVisitor.mjs +54 -0
- package/src/refractor/visitors/generics/PatternedFieldsVisitor.cjs +67 -0
- package/src/refractor/visitors/generics/PatternedFieldsVisitor.mjs +61 -0
- package/src/refractor/visitors/open-api-3-0/ContentVisitor.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/ContentVisitor.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/ExamplesVisitor.cjs +37 -0
- package/src/refractor/visitors/open-api-3-0/ExamplesVisitor.mjs +31 -0
- package/src/refractor/visitors/open-api-3-0/OpenapiVisitor.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/OpenapiVisitor.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/ParametersVisitor.cjs +38 -0
- package/src/refractor/visitors/open-api-3-0/ParametersVisitor.mjs +32 -0
- package/src/refractor/visitors/open-api-3-0/SecurityVisitor.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/SecurityVisitor.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/ServersVisitor.cjs +34 -0
- package/src/refractor/visitors/open-api-3-0/ServersVisitor.mjs +28 -0
- package/src/refractor/visitors/open-api-3-0/TagsVisitor.cjs +34 -0
- package/src/refractor/visitors/open-api-3-0/TagsVisitor.mjs +28 -0
- package/src/refractor/visitors/open-api-3-0/callback/index.cjs +41 -0
- package/src/refractor/visitors/open-api-3-0/callback/index.mjs +35 -0
- package/src/refractor/visitors/open-api-3-0/components/CallbacksVisitor.cjs +35 -0
- package/src/refractor/visitors/open-api-3-0/components/CallbacksVisitor.mjs +29 -0
- package/src/refractor/visitors/open-api-3-0/components/ExamplesVisitor.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/components/ExamplesVisitor.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/components/HeadersVisitor.cjs +43 -0
- package/src/refractor/visitors/open-api-3-0/components/HeadersVisitor.mjs +37 -0
- package/src/refractor/visitors/open-api-3-0/components/LinksVisitor.cjs +35 -0
- package/src/refractor/visitors/open-api-3-0/components/LinksVisitor.mjs +29 -0
- package/src/refractor/visitors/open-api-3-0/components/ParametersVisitor.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/components/ParametersVisitor.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/components/RequestBodiesVisitor.cjs +35 -0
- package/src/refractor/visitors/open-api-3-0/components/RequestBodiesVisitor.mjs +29 -0
- package/src/refractor/visitors/open-api-3-0/components/ResponsesVisitor.cjs +43 -0
- package/src/refractor/visitors/open-api-3-0/components/ResponsesVisitor.mjs +37 -0
- package/src/refractor/visitors/open-api-3-0/components/SchemasVisitor.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/components/SchemasVisitor.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/components/SecuritySchemesVisitor.cjs +35 -0
- package/src/refractor/visitors/open-api-3-0/components/SecuritySchemesVisitor.mjs +29 -0
- package/src/refractor/visitors/open-api-3-0/components/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/components/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/contact/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/contact/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/distriminator/MappingVisitor.cjs +25 -0
- package/src/refractor/visitors/open-api-3-0/distriminator/MappingVisitor.mjs +19 -0
- package/src/refractor/visitors/open-api-3-0/distriminator/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/distriminator/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/encoding/HeadersVisitor.cjs +44 -0
- package/src/refractor/visitors/open-api-3-0/encoding/HeadersVisitor.mjs +38 -0
- package/src/refractor/visitors/open-api-3-0/encoding/index.cjs +41 -0
- package/src/refractor/visitors/open-api-3-0/encoding/index.mjs +35 -0
- package/src/refractor/visitors/open-api-3-0/example/ExternalValueVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/example/ExternalValueVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/example/index.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/example/index.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/external-documentation/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/external-documentation/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/header/ContentVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/header/ContentVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/header/ExamplesVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/header/ExamplesVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/header/SchemaVisitor.cjs +38 -0
- package/src/refractor/visitors/open-api-3-0/header/SchemaVisitor.mjs +32 -0
- package/src/refractor/visitors/open-api-3-0/header/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/header/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/index.cjs +30 -0
- package/src/refractor/visitors/open-api-3-0/index.mjs +24 -0
- package/src/refractor/visitors/open-api-3-0/info/VersionVisitor.cjs +18 -0
- package/src/refractor/visitors/open-api-3-0/info/VersionVisitor.mjs +13 -0
- package/src/refractor/visitors/open-api-3-0/info/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/info/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/license/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/license/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/link/OperationIdVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/link/OperationIdVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/link/OperationRefVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/link/OperationRefVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/link/ParametersVisitor.cjs +25 -0
- package/src/refractor/visitors/open-api-3-0/link/ParametersVisitor.mjs +19 -0
- package/src/refractor/visitors/open-api-3-0/link/index.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/link/index.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/media-type/EncodingVisitor.cjs +25 -0
- package/src/refractor/visitors/open-api-3-0/media-type/EncodingVisitor.mjs +19 -0
- package/src/refractor/visitors/open-api-3-0/media-type/ExamplesVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/media-type/ExamplesVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/media-type/SchemaVisitor.cjs +38 -0
- package/src/refractor/visitors/open-api-3-0/media-type/SchemaVisitor.mjs +32 -0
- package/src/refractor/visitors/open-api-3-0/media-type/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/media-type/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/oauth-flow/ScopesVisitor.cjs +25 -0
- package/src/refractor/visitors/open-api-3-0/oauth-flow/ScopesVisitor.mjs +19 -0
- package/src/refractor/visitors/open-api-3-0/oauth-flow/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/oauth-flow/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/oauth-flows/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/oauth-flows/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/operation/CallbacksVisitor.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/operation/CallbacksVisitor.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/operation/ParametersVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/operation/ParametersVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/operation/RequestBodyVisitor.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/operation/RequestBodyVisitor.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/operation/SecurityVisitor.cjs +33 -0
- package/src/refractor/visitors/open-api-3-0/operation/SecurityVisitor.mjs +27 -0
- package/src/refractor/visitors/open-api-3-0/operation/ServersVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/operation/ServersVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/operation/TagsVisitor.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/operation/TagsVisitor.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/operation/index.cjs +25 -0
- package/src/refractor/visitors/open-api-3-0/operation/index.mjs +19 -0
- package/src/refractor/visitors/open-api-3-0/parameter/ContentVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/parameter/ContentVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/parameter/ExamplesVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/parameter/ExamplesVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/parameter/SchemaVisitor.cjs +38 -0
- package/src/refractor/visitors/open-api-3-0/parameter/SchemaVisitor.mjs +32 -0
- package/src/refractor/visitors/open-api-3-0/parameter/index.cjs +41 -0
- package/src/refractor/visitors/open-api-3-0/parameter/index.mjs +35 -0
- package/src/refractor/visitors/open-api-3-0/path-item/$RefVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/path-item/$RefVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/path-item/ParametersVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/path-item/ParametersVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/path-item/ServersVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/path-item/ServersVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/path-item/index.cjs +45 -0
- package/src/refractor/visitors/open-api-3-0/path-item/index.mjs +39 -0
- package/src/refractor/visitors/open-api-3-0/paths/index.cjs +42 -0
- package/src/refractor/visitors/open-api-3-0/paths/index.mjs +36 -0
- package/src/refractor/visitors/open-api-3-0/reference/$RefVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/reference/$RefVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/reference/index.cjs +36 -0
- package/src/refractor/visitors/open-api-3-0/reference/index.mjs +30 -0
- package/src/refractor/visitors/open-api-3-0/request-body/ContentVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/request-body/ContentVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/request-body/index.cjs +40 -0
- package/src/refractor/visitors/open-api-3-0/request-body/index.mjs +34 -0
- package/src/refractor/visitors/open-api-3-0/response/ContentVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/response/ContentVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/response/HeadersVisitor.cjs +44 -0
- package/src/refractor/visitors/open-api-3-0/response/HeadersVisitor.mjs +38 -0
- package/src/refractor/visitors/open-api-3-0/response/LinksVisitor.cjs +35 -0
- package/src/refractor/visitors/open-api-3-0/response/LinksVisitor.mjs +29 -0
- package/src/refractor/visitors/open-api-3-0/response/index.cjs +49 -0
- package/src/refractor/visitors/open-api-3-0/response/index.mjs +43 -0
- package/src/refractor/visitors/open-api-3-0/responses/DefaultVisitor.cjs +42 -0
- package/src/refractor/visitors/open-api-3-0/responses/DefaultVisitor.mjs +36 -0
- package/src/refractor/visitors/open-api-3-0/responses/index.cjs +49 -0
- package/src/refractor/visitors/open-api-3-0/responses/index.mjs +43 -0
- package/src/refractor/visitors/open-api-3-0/schema/AllOfVisitor.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/schema/AllOfVisitor.mjs +22 -0
- package/src/refractor/visitors/open-api-3-0/schema/AnyOfVisitor.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/schema/AnyOfVisitor.mjs +22 -0
- package/src/refractor/visitors/open-api-3-0/schema/ItemsVisitor.cjs +28 -0
- package/src/refractor/visitors/open-api-3-0/schema/ItemsVisitor.mjs +24 -0
- package/src/refractor/visitors/open-api-3-0/schema/OneOfVisitor.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/schema/OneOfVisitor.mjs +22 -0
- package/src/refractor/visitors/open-api-3-0/schema/PropertiesVisitor.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/schema/PropertiesVisitor.mjs +22 -0
- package/src/refractor/visitors/open-api-3-0/schema/SchemaOrReferenceVisitor.cjs +25 -0
- package/src/refractor/visitors/open-api-3-0/schema/SchemaOrReferenceVisitor.mjs +21 -0
- package/src/refractor/visitors/open-api-3-0/schema/TypeVisitor.cjs +20 -0
- package/src/refractor/visitors/open-api-3-0/schema/TypeVisitor.mjs +16 -0
- package/src/refractor/visitors/open-api-3-0/schema/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/schema/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/security-requirement/index.cjs +25 -0
- package/src/refractor/visitors/open-api-3-0/security-requirement/index.mjs +19 -0
- package/src/refractor/visitors/open-api-3-0/security-scheme/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/security-scheme/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/server/UrlVisitor.cjs +17 -0
- package/src/refractor/visitors/open-api-3-0/server/UrlVisitor.mjs +12 -0
- package/src/refractor/visitors/open-api-3-0/server/VariablesVisitor.cjs +25 -0
- package/src/refractor/visitors/open-api-3-0/server/VariablesVisitor.mjs +19 -0
- package/src/refractor/visitors/open-api-3-0/server/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/server/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/server-variable/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/server-variable/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/tag/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/tag/index.mjs +20 -0
- package/src/refractor/visitors/open-api-3-0/xml/index.cjs +26 -0
- package/src/refractor/visitors/open-api-3-0/xml/index.mjs +20 -0
- package/src/traversal/visitor.cjs +57 -0
- package/src/traversal/visitor.mjs +54 -0
- package/types/apidom-ns-openapi-3-0.d.ts +3383 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
class Responses extends ObjectElement {
|
|
6
|
+
constructor(content, meta, attributes) {
|
|
7
|
+
super(content, meta, attributes);
|
|
8
|
+
this.element = 'responses';
|
|
9
|
+
}
|
|
10
|
+
get default() {
|
|
11
|
+
return this.get('default');
|
|
12
|
+
}
|
|
13
|
+
set default(defaultValue) {
|
|
14
|
+
this.set('default', defaultValue);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export default Responses;
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.default = void 0;
|
|
5
|
+
var _apidomError = require("@speclynx/apidom-error");
|
|
6
|
+
var _apidomNsJsonSchemaDraft = require("@speclynx/apidom-ns-json-schema-draft-4");
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
class Schema extends _apidomNsJsonSchemaDraft.JSONSchemaElement {
|
|
11
|
+
constructor(content, meta, attributes) {
|
|
12
|
+
super(content, meta, attributes);
|
|
13
|
+
this.element = 'schema';
|
|
14
|
+
this.classes.push('json-schema-draft-4');
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Core vocabulary
|
|
19
|
+
*
|
|
20
|
+
* URI: https://tools.ietf.org/html/draft-wright-json-schema-00
|
|
21
|
+
*/
|
|
22
|
+
get idProp() {
|
|
23
|
+
throw new _apidomError.UnsupportedOperationError('idProp getter in Schema class is not not supported.');
|
|
24
|
+
}
|
|
25
|
+
set idProp(idProps) {
|
|
26
|
+
throw new _apidomError.UnsupportedOperationError('idProp setter in Schema class is not not supported.');
|
|
27
|
+
}
|
|
28
|
+
get $schema() {
|
|
29
|
+
throw new _apidomError.UnsupportedOperationError('$schema getter in Schema class is not not supported.');
|
|
30
|
+
}
|
|
31
|
+
set $schema($schema) {
|
|
32
|
+
throw new _apidomError.UnsupportedOperationError('$schema setter in Schema class is not not supported.');
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Validation keywords for arrays
|
|
37
|
+
*/
|
|
38
|
+
|
|
39
|
+
get additionalItems() {
|
|
40
|
+
return this.get('additionalItems');
|
|
41
|
+
}
|
|
42
|
+
set additionalItems(additionalItems) {
|
|
43
|
+
this.set('additionalItems', additionalItems);
|
|
44
|
+
}
|
|
45
|
+
get items() {
|
|
46
|
+
return this.get('items');
|
|
47
|
+
}
|
|
48
|
+
set items(items) {
|
|
49
|
+
this.set('items', items);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Validation keywords for objects
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
get additionalProperties() {
|
|
57
|
+
return this.get('additionalProperties');
|
|
58
|
+
}
|
|
59
|
+
set additionalProperties(additionalProperties) {
|
|
60
|
+
this.set('additionalProperties', additionalProperties);
|
|
61
|
+
}
|
|
62
|
+
get patternProperties() {
|
|
63
|
+
throw new _apidomError.UnsupportedOperationError('patternProperties getter in Schema class is not not supported.');
|
|
64
|
+
}
|
|
65
|
+
set patternProperties(patternProperties) {
|
|
66
|
+
throw new _apidomError.UnsupportedOperationError('patternProperties setter in Schema class is not not supported.');
|
|
67
|
+
}
|
|
68
|
+
get dependencies() {
|
|
69
|
+
throw new _apidomError.UnsupportedOperationError('dependencies getter in Schema class is not not supported.');
|
|
70
|
+
}
|
|
71
|
+
set dependencies(dependencies) {
|
|
72
|
+
throw new _apidomError.UnsupportedOperationError('dependencies setter in Schema class is not not supported.');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Validation keywords for any instance type
|
|
77
|
+
*/
|
|
78
|
+
|
|
79
|
+
get type() {
|
|
80
|
+
return this.get('type');
|
|
81
|
+
}
|
|
82
|
+
set type(type) {
|
|
83
|
+
this.set('type', type);
|
|
84
|
+
}
|
|
85
|
+
get not() {
|
|
86
|
+
return this.get('not');
|
|
87
|
+
}
|
|
88
|
+
set not(not) {
|
|
89
|
+
this.set('not', not);
|
|
90
|
+
}
|
|
91
|
+
get definitions() {
|
|
92
|
+
throw new _apidomError.UnsupportedOperationError('definitions getter in Schema class is not not supported.');
|
|
93
|
+
}
|
|
94
|
+
set definitions(definitions) {
|
|
95
|
+
throw new _apidomError.UnsupportedOperationError('definitions setter in Schema class is not not supported.');
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* JSON Hyper-Schema
|
|
100
|
+
*
|
|
101
|
+
* URI: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-hyperschema-00
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
get base() {
|
|
105
|
+
throw new _apidomError.UnsupportedOperationError('base getter in Schema class is not not supported.');
|
|
106
|
+
}
|
|
107
|
+
set base(base) {
|
|
108
|
+
throw new _apidomError.UnsupportedOperationError('base setter in Schema class is not not supported.');
|
|
109
|
+
}
|
|
110
|
+
get links() {
|
|
111
|
+
throw new _apidomError.UnsupportedOperationError('links getter in Schema class is not not supported.');
|
|
112
|
+
}
|
|
113
|
+
set links(links) {
|
|
114
|
+
throw new _apidomError.UnsupportedOperationError('links setter in Schema class is not not supported.');
|
|
115
|
+
}
|
|
116
|
+
get media() {
|
|
117
|
+
throw new _apidomError.UnsupportedOperationError('media getter in Schema class is not not supported.');
|
|
118
|
+
}
|
|
119
|
+
set media(media) {
|
|
120
|
+
throw new _apidomError.UnsupportedOperationError('media setter in Schema class is not not supported.');
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* OpenAPI vocabulary
|
|
125
|
+
*/
|
|
126
|
+
|
|
127
|
+
get nullable() {
|
|
128
|
+
return this.get('nullable');
|
|
129
|
+
}
|
|
130
|
+
set nullable(nullable) {
|
|
131
|
+
this.set('nullable', nullable);
|
|
132
|
+
}
|
|
133
|
+
get discriminator() {
|
|
134
|
+
return this.get('discriminator');
|
|
135
|
+
}
|
|
136
|
+
set discriminator(discriminator) {
|
|
137
|
+
this.set('discriminator', discriminator);
|
|
138
|
+
}
|
|
139
|
+
get writeOnly() {
|
|
140
|
+
return this.get('writeOnly');
|
|
141
|
+
}
|
|
142
|
+
set writeOnly(writeOnly) {
|
|
143
|
+
this.set('writeOnly', writeOnly);
|
|
144
|
+
}
|
|
145
|
+
get xml() {
|
|
146
|
+
return this.get('xml');
|
|
147
|
+
}
|
|
148
|
+
set xml(xml) {
|
|
149
|
+
this.set('xml', xml);
|
|
150
|
+
}
|
|
151
|
+
get externalDocs() {
|
|
152
|
+
return this.get('externalDocs');
|
|
153
|
+
}
|
|
154
|
+
set externalDocs(externalDocs) {
|
|
155
|
+
this.set('externalDocs', externalDocs);
|
|
156
|
+
}
|
|
157
|
+
get example() {
|
|
158
|
+
return this.get('example');
|
|
159
|
+
}
|
|
160
|
+
set example(example) {
|
|
161
|
+
this.set('example', example);
|
|
162
|
+
}
|
|
163
|
+
get deprecated() {
|
|
164
|
+
return this.get('deprecated');
|
|
165
|
+
}
|
|
166
|
+
set deprecated(deprecated) {
|
|
167
|
+
this.set('deprecated', deprecated);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
var _default = exports.default = Schema;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { UnsupportedOperationError } from '@speclynx/apidom-error';
|
|
2
|
+
import { JSONSchemaElement } from '@speclynx/apidom-ns-json-schema-draft-4';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class Schema extends JSONSchemaElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'schema';
|
|
10
|
+
this.classes.push('json-schema-draft-4');
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Core vocabulary
|
|
15
|
+
*
|
|
16
|
+
* URI: https://tools.ietf.org/html/draft-wright-json-schema-00
|
|
17
|
+
*/
|
|
18
|
+
get idProp() {
|
|
19
|
+
throw new UnsupportedOperationError('idProp getter in Schema class is not not supported.');
|
|
20
|
+
}
|
|
21
|
+
set idProp(idProps) {
|
|
22
|
+
throw new UnsupportedOperationError('idProp setter in Schema class is not not supported.');
|
|
23
|
+
}
|
|
24
|
+
get $schema() {
|
|
25
|
+
throw new UnsupportedOperationError('$schema getter in Schema class is not not supported.');
|
|
26
|
+
}
|
|
27
|
+
set $schema($schema) {
|
|
28
|
+
throw new UnsupportedOperationError('$schema setter in Schema class is not not supported.');
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Validation keywords for arrays
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
get additionalItems() {
|
|
36
|
+
return this.get('additionalItems');
|
|
37
|
+
}
|
|
38
|
+
set additionalItems(additionalItems) {
|
|
39
|
+
this.set('additionalItems', additionalItems);
|
|
40
|
+
}
|
|
41
|
+
get items() {
|
|
42
|
+
return this.get('items');
|
|
43
|
+
}
|
|
44
|
+
set items(items) {
|
|
45
|
+
this.set('items', items);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Validation keywords for objects
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
get additionalProperties() {
|
|
53
|
+
return this.get('additionalProperties');
|
|
54
|
+
}
|
|
55
|
+
set additionalProperties(additionalProperties) {
|
|
56
|
+
this.set('additionalProperties', additionalProperties);
|
|
57
|
+
}
|
|
58
|
+
get patternProperties() {
|
|
59
|
+
throw new UnsupportedOperationError('patternProperties getter in Schema class is not not supported.');
|
|
60
|
+
}
|
|
61
|
+
set patternProperties(patternProperties) {
|
|
62
|
+
throw new UnsupportedOperationError('patternProperties setter in Schema class is not not supported.');
|
|
63
|
+
}
|
|
64
|
+
get dependencies() {
|
|
65
|
+
throw new UnsupportedOperationError('dependencies getter in Schema class is not not supported.');
|
|
66
|
+
}
|
|
67
|
+
set dependencies(dependencies) {
|
|
68
|
+
throw new UnsupportedOperationError('dependencies setter in Schema class is not not supported.');
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Validation keywords for any instance type
|
|
73
|
+
*/
|
|
74
|
+
|
|
75
|
+
get type() {
|
|
76
|
+
return this.get('type');
|
|
77
|
+
}
|
|
78
|
+
set type(type) {
|
|
79
|
+
this.set('type', type);
|
|
80
|
+
}
|
|
81
|
+
get not() {
|
|
82
|
+
return this.get('not');
|
|
83
|
+
}
|
|
84
|
+
set not(not) {
|
|
85
|
+
this.set('not', not);
|
|
86
|
+
}
|
|
87
|
+
get definitions() {
|
|
88
|
+
throw new UnsupportedOperationError('definitions getter in Schema class is not not supported.');
|
|
89
|
+
}
|
|
90
|
+
set definitions(definitions) {
|
|
91
|
+
throw new UnsupportedOperationError('definitions setter in Schema class is not not supported.');
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/**
|
|
95
|
+
* JSON Hyper-Schema
|
|
96
|
+
*
|
|
97
|
+
* URI: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-hyperschema-00
|
|
98
|
+
*/
|
|
99
|
+
|
|
100
|
+
get base() {
|
|
101
|
+
throw new UnsupportedOperationError('base getter in Schema class is not not supported.');
|
|
102
|
+
}
|
|
103
|
+
set base(base) {
|
|
104
|
+
throw new UnsupportedOperationError('base setter in Schema class is not not supported.');
|
|
105
|
+
}
|
|
106
|
+
get links() {
|
|
107
|
+
throw new UnsupportedOperationError('links getter in Schema class is not not supported.');
|
|
108
|
+
}
|
|
109
|
+
set links(links) {
|
|
110
|
+
throw new UnsupportedOperationError('links setter in Schema class is not not supported.');
|
|
111
|
+
}
|
|
112
|
+
get media() {
|
|
113
|
+
throw new UnsupportedOperationError('media getter in Schema class is not not supported.');
|
|
114
|
+
}
|
|
115
|
+
set media(media) {
|
|
116
|
+
throw new UnsupportedOperationError('media setter in Schema class is not not supported.');
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* OpenAPI vocabulary
|
|
121
|
+
*/
|
|
122
|
+
|
|
123
|
+
get nullable() {
|
|
124
|
+
return this.get('nullable');
|
|
125
|
+
}
|
|
126
|
+
set nullable(nullable) {
|
|
127
|
+
this.set('nullable', nullable);
|
|
128
|
+
}
|
|
129
|
+
get discriminator() {
|
|
130
|
+
return this.get('discriminator');
|
|
131
|
+
}
|
|
132
|
+
set discriminator(discriminator) {
|
|
133
|
+
this.set('discriminator', discriminator);
|
|
134
|
+
}
|
|
135
|
+
get writeOnly() {
|
|
136
|
+
return this.get('writeOnly');
|
|
137
|
+
}
|
|
138
|
+
set writeOnly(writeOnly) {
|
|
139
|
+
this.set('writeOnly', writeOnly);
|
|
140
|
+
}
|
|
141
|
+
get xml() {
|
|
142
|
+
return this.get('xml');
|
|
143
|
+
}
|
|
144
|
+
set xml(xml) {
|
|
145
|
+
this.set('xml', xml);
|
|
146
|
+
}
|
|
147
|
+
get externalDocs() {
|
|
148
|
+
return this.get('externalDocs');
|
|
149
|
+
}
|
|
150
|
+
set externalDocs(externalDocs) {
|
|
151
|
+
this.set('externalDocs', externalDocs);
|
|
152
|
+
}
|
|
153
|
+
get example() {
|
|
154
|
+
return this.get('example');
|
|
155
|
+
}
|
|
156
|
+
set example(example) {
|
|
157
|
+
this.set('example', example);
|
|
158
|
+
}
|
|
159
|
+
get deprecated() {
|
|
160
|
+
return this.get('deprecated');
|
|
161
|
+
}
|
|
162
|
+
set deprecated(deprecated) {
|
|
163
|
+
this.set('deprecated', deprecated);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
export default Schema;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 SecurityRequirement extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'securityRequirement';
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
var _default = exports.default = SecurityRequirement;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class SecurityRequirement extends ObjectElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'securityRequirement';
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export default SecurityRequirement;
|
|
@@ -0,0 +1,63 @@
|
|
|
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 SecurityScheme extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'securityScheme';
|
|
13
|
+
}
|
|
14
|
+
get type() {
|
|
15
|
+
return this.get('type');
|
|
16
|
+
}
|
|
17
|
+
set type(type) {
|
|
18
|
+
this.set('type', type);
|
|
19
|
+
}
|
|
20
|
+
get description() {
|
|
21
|
+
return this.get('description');
|
|
22
|
+
}
|
|
23
|
+
set description(description) {
|
|
24
|
+
this.set('description', description);
|
|
25
|
+
}
|
|
26
|
+
get name() {
|
|
27
|
+
return this.get('name');
|
|
28
|
+
}
|
|
29
|
+
set name(name) {
|
|
30
|
+
this.set('name', name);
|
|
31
|
+
}
|
|
32
|
+
get in() {
|
|
33
|
+
return this.get('in');
|
|
34
|
+
}
|
|
35
|
+
set in(inVal) {
|
|
36
|
+
this.set('in', inVal);
|
|
37
|
+
}
|
|
38
|
+
get scheme() {
|
|
39
|
+
return this.get('scheme');
|
|
40
|
+
}
|
|
41
|
+
set scheme(scheme) {
|
|
42
|
+
this.set('scheme', scheme);
|
|
43
|
+
}
|
|
44
|
+
get bearerFormat() {
|
|
45
|
+
return this.get('bearerFormat');
|
|
46
|
+
}
|
|
47
|
+
set bearerFormat(bearerFormat) {
|
|
48
|
+
this.set('bearerFormat', bearerFormat);
|
|
49
|
+
}
|
|
50
|
+
get flows() {
|
|
51
|
+
return this.get('flows');
|
|
52
|
+
}
|
|
53
|
+
set flows(flows) {
|
|
54
|
+
this.set('flows', flows);
|
|
55
|
+
}
|
|
56
|
+
get openIdConnectUrl() {
|
|
57
|
+
return this.get('openIdConnectUrl');
|
|
58
|
+
}
|
|
59
|
+
set openIdConnectUrl(openIdConnectUrl) {
|
|
60
|
+
this.set('openIdConnectUrl', openIdConnectUrl);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
var _default = exports.default = SecurityScheme;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
class SecurityScheme extends ObjectElement {
|
|
6
|
+
constructor(content, meta, attributes) {
|
|
7
|
+
super(content, meta, attributes);
|
|
8
|
+
this.element = 'securityScheme';
|
|
9
|
+
}
|
|
10
|
+
get type() {
|
|
11
|
+
return this.get('type');
|
|
12
|
+
}
|
|
13
|
+
set type(type) {
|
|
14
|
+
this.set('type', type);
|
|
15
|
+
}
|
|
16
|
+
get description() {
|
|
17
|
+
return this.get('description');
|
|
18
|
+
}
|
|
19
|
+
set description(description) {
|
|
20
|
+
this.set('description', description);
|
|
21
|
+
}
|
|
22
|
+
get name() {
|
|
23
|
+
return this.get('name');
|
|
24
|
+
}
|
|
25
|
+
set name(name) {
|
|
26
|
+
this.set('name', name);
|
|
27
|
+
}
|
|
28
|
+
get in() {
|
|
29
|
+
return this.get('in');
|
|
30
|
+
}
|
|
31
|
+
set in(inVal) {
|
|
32
|
+
this.set('in', inVal);
|
|
33
|
+
}
|
|
34
|
+
get scheme() {
|
|
35
|
+
return this.get('scheme');
|
|
36
|
+
}
|
|
37
|
+
set scheme(scheme) {
|
|
38
|
+
this.set('scheme', scheme);
|
|
39
|
+
}
|
|
40
|
+
get bearerFormat() {
|
|
41
|
+
return this.get('bearerFormat');
|
|
42
|
+
}
|
|
43
|
+
set bearerFormat(bearerFormat) {
|
|
44
|
+
this.set('bearerFormat', bearerFormat);
|
|
45
|
+
}
|
|
46
|
+
get flows() {
|
|
47
|
+
return this.get('flows');
|
|
48
|
+
}
|
|
49
|
+
set flows(flows) {
|
|
50
|
+
this.set('flows', flows);
|
|
51
|
+
}
|
|
52
|
+
get openIdConnectUrl() {
|
|
53
|
+
return this.get('openIdConnectUrl');
|
|
54
|
+
}
|
|
55
|
+
set openIdConnectUrl(openIdConnectUrl) {
|
|
56
|
+
this.set('openIdConnectUrl', openIdConnectUrl);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
export default SecurityScheme;
|
|
@@ -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 Server extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'server';
|
|
13
|
+
}
|
|
14
|
+
get url() {
|
|
15
|
+
return this.get('url');
|
|
16
|
+
}
|
|
17
|
+
set url(url) {
|
|
18
|
+
this.set('url', url);
|
|
19
|
+
}
|
|
20
|
+
get description() {
|
|
21
|
+
return this.get('description');
|
|
22
|
+
}
|
|
23
|
+
set description(description) {
|
|
24
|
+
this.set('description', description);
|
|
25
|
+
}
|
|
26
|
+
get variables() {
|
|
27
|
+
return this.get('variables');
|
|
28
|
+
}
|
|
29
|
+
set variables(variables) {
|
|
30
|
+
this.set('variables', variables);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
var _default = exports.default = Server;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class Server extends ObjectElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'server';
|
|
10
|
+
}
|
|
11
|
+
get url() {
|
|
12
|
+
return this.get('url');
|
|
13
|
+
}
|
|
14
|
+
set url(url) {
|
|
15
|
+
this.set('url', url);
|
|
16
|
+
}
|
|
17
|
+
get description() {
|
|
18
|
+
return this.get('description');
|
|
19
|
+
}
|
|
20
|
+
set description(description) {
|
|
21
|
+
this.set('description', description);
|
|
22
|
+
}
|
|
23
|
+
get variables() {
|
|
24
|
+
return this.get('variables');
|
|
25
|
+
}
|
|
26
|
+
set variables(variables) {
|
|
27
|
+
this.set('variables', variables);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export default Server;
|
|
@@ -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 ServerVariable extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'serverVariable';
|
|
13
|
+
}
|
|
14
|
+
get enum() {
|
|
15
|
+
return this.get('enum');
|
|
16
|
+
}
|
|
17
|
+
set enum(value) {
|
|
18
|
+
this.set('enum', value);
|
|
19
|
+
}
|
|
20
|
+
get default() {
|
|
21
|
+
return this.get('default');
|
|
22
|
+
}
|
|
23
|
+
set default(value) {
|
|
24
|
+
this.set('default', value);
|
|
25
|
+
}
|
|
26
|
+
get description() {
|
|
27
|
+
return this.get('description');
|
|
28
|
+
}
|
|
29
|
+
set description(description) {
|
|
30
|
+
this.set('description', description);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
var _default = exports.default = ServerVariable;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
class ServerVariable extends ObjectElement {
|
|
7
|
+
constructor(content, meta, attributes) {
|
|
8
|
+
super(content, meta, attributes);
|
|
9
|
+
this.element = 'serverVariable';
|
|
10
|
+
}
|
|
11
|
+
get enum() {
|
|
12
|
+
return this.get('enum');
|
|
13
|
+
}
|
|
14
|
+
set enum(value) {
|
|
15
|
+
this.set('enum', value);
|
|
16
|
+
}
|
|
17
|
+
get default() {
|
|
18
|
+
return this.get('default');
|
|
19
|
+
}
|
|
20
|
+
set default(value) {
|
|
21
|
+
this.set('default', value);
|
|
22
|
+
}
|
|
23
|
+
get description() {
|
|
24
|
+
return this.get('description');
|
|
25
|
+
}
|
|
26
|
+
set description(description) {
|
|
27
|
+
this.set('description', description);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export default ServerVariable;
|
|
@@ -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 Tag extends _apidomCore.ObjectElement {
|
|
10
|
+
constructor(content, meta, attributes) {
|
|
11
|
+
super(content, meta, attributes);
|
|
12
|
+
this.element = 'tag';
|
|
13
|
+
}
|
|
14
|
+
get name() {
|
|
15
|
+
return this.get('name');
|
|
16
|
+
}
|
|
17
|
+
set name(name) {
|
|
18
|
+
this.set('name', name);
|
|
19
|
+
}
|
|
20
|
+
get description() {
|
|
21
|
+
return this.get('description');
|
|
22
|
+
}
|
|
23
|
+
set description(description) {
|
|
24
|
+
this.set('description', description);
|
|
25
|
+
}
|
|
26
|
+
get externalDocs() {
|
|
27
|
+
return this.get('externalDocs');
|
|
28
|
+
}
|
|
29
|
+
set externalDocs(externalDocs) {
|
|
30
|
+
this.set('externalDocs', externalDocs);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
var _default = exports.default = Tag;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ObjectElement } from '@speclynx/apidom-core';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
class Tag extends ObjectElement {
|
|
6
|
+
constructor(content, meta, attributes) {
|
|
7
|
+
super(content, meta, attributes);
|
|
8
|
+
this.element = 'tag';
|
|
9
|
+
}
|
|
10
|
+
get name() {
|
|
11
|
+
return this.get('name');
|
|
12
|
+
}
|
|
13
|
+
set name(name) {
|
|
14
|
+
this.set('name', name);
|
|
15
|
+
}
|
|
16
|
+
get description() {
|
|
17
|
+
return this.get('description');
|
|
18
|
+
}
|
|
19
|
+
set description(description) {
|
|
20
|
+
this.set('description', description);
|
|
21
|
+
}
|
|
22
|
+
get externalDocs() {
|
|
23
|
+
return this.get('externalDocs');
|
|
24
|
+
}
|
|
25
|
+
set externalDocs(externalDocs) {
|
|
26
|
+
this.set('externalDocs', externalDocs);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export default Tag;
|