@swagger-api/apidom-ns-openapi-3-1 1.0.0-beta.1 → 1.0.0-beta.10
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 +36 -0
- package/LICENSES/AFL-3.0.txt +182 -0
- package/LICENSES/BSD-3-Clause.txt +26 -0
- package/NOTICE +26 -0
- package/dist/apidom-ns-openapi-3-1.browser.js +747 -323
- package/dist/apidom-ns-openapi-3-1.browser.min.js +1 -1
- package/package.json +10 -10
- package/src/elements/Callback.cjs +3 -0
- package/src/elements/Callback.mjs +4 -0
- package/src/elements/Components.cjs +3 -0
- package/src/elements/Components.mjs +4 -0
- package/src/elements/Contact.cjs +3 -0
- package/src/elements/Contact.mjs +4 -0
- package/src/elements/Discriminator.cjs +3 -0
- package/src/elements/Discriminator.mjs +4 -0
- package/src/elements/Encoding.cjs +3 -0
- package/src/elements/Encoding.mjs +4 -0
- package/src/elements/Example.cjs +3 -0
- package/src/elements/Example.mjs +4 -0
- package/src/elements/ExternalDocumentation.cjs +3 -0
- package/src/elements/ExternalDocumentation.mjs +4 -0
- package/src/elements/Header.cjs +3 -0
- package/src/elements/Header.mjs +3 -0
- package/src/elements/Info.cjs +3 -0
- package/src/elements/Info.mjs +3 -0
- package/src/elements/JsonSchemaDialect.cjs +3 -0
- package/src/elements/JsonSchemaDialect.mjs +4 -0
- package/src/elements/License.cjs +3 -0
- package/src/elements/License.mjs +4 -0
- package/src/elements/Link.cjs +3 -0
- package/src/elements/Link.mjs +4 -0
- package/src/elements/MediaType.cjs +3 -0
- package/src/elements/MediaType.mjs +3 -0
- package/src/elements/OAuthFlow.cjs +3 -0
- package/src/elements/OAuthFlow.mjs +4 -0
- package/src/elements/OAuthFlows.cjs +3 -0
- package/src/elements/OAuthFlows.mjs +4 -0
- package/src/elements/OpenApi3-1.cjs +3 -0
- package/src/elements/OpenApi3-1.mjs +3 -0
- package/src/elements/Openapi.cjs +3 -0
- package/src/elements/Openapi.mjs +4 -0
- package/src/elements/Operation.cjs +3 -0
- package/src/elements/Operation.mjs +3 -0
- package/src/elements/Parameter.cjs +3 -0
- package/src/elements/Parameter.mjs +3 -0
- package/src/elements/PathItem.cjs +3 -0
- package/src/elements/PathItem.mjs +3 -0
- package/src/elements/Paths.cjs +3 -0
- package/src/elements/Paths.mjs +4 -0
- package/src/elements/Reference.cjs +3 -0
- package/src/elements/Reference.mjs +4 -0
- package/src/elements/RequestBody.cjs +3 -0
- package/src/elements/RequestBody.mjs +4 -0
- package/src/elements/Response.cjs +3 -0
- package/src/elements/Response.mjs +4 -0
- package/src/elements/Responses.cjs +3 -0
- package/src/elements/Responses.mjs +4 -0
- package/src/elements/Schema.cjs +3 -4
- package/src/elements/Schema.mjs +3 -4
- package/src/elements/SecurityRequirement.cjs +3 -0
- package/src/elements/SecurityRequirement.mjs +4 -0
- package/src/elements/SecurityScheme.cjs +3 -0
- package/src/elements/SecurityScheme.mjs +4 -0
- package/src/elements/Server.cjs +3 -0
- package/src/elements/Server.mjs +4 -0
- package/src/elements/ServerVariable.cjs +3 -0
- package/src/elements/ServerVariable.mjs +4 -0
- package/src/elements/Tag.cjs +3 -0
- package/src/elements/Tag.mjs +4 -0
- package/src/elements/Xml.cjs +3 -0
- package/src/elements/Xml.mjs +4 -0
- package/src/elements/nces/ComponentsPathItems.cjs +3 -0
- package/src/elements/nces/ComponentsPathItems.mjs +4 -0
- package/src/elements/nces/Webhooks.cjs +3 -0
- package/src/elements/nces/Webhooks.mjs +4 -0
- package/src/index.mjs +2 -1
- package/src/media-types.cjs +11 -0
- package/src/media-types.mjs +12 -0
- package/src/namespace.cjs +3 -0
- package/src/namespace.mjs +5 -1
- package/src/predicates.cjs +108 -0
- package/src/predicates.mjs +108 -0
- package/src/refractor/plugins/normalize-header-examples/index.cjs +4 -0
- package/src/refractor/plugins/normalize-header-examples/index.mjs +4 -0
- package/src/refractor/plugins/normalize-operation-ids.cjs +4 -0
- package/src/refractor/plugins/normalize-operation-ids.mjs +4 -0
- package/src/refractor/plugins/normalize-parameter-examples.cjs +4 -0
- package/src/refractor/plugins/normalize-parameter-examples.mjs +4 -0
- package/src/refractor/plugins/normalize-parameters.cjs +4 -0
- package/src/refractor/plugins/normalize-parameters.mjs +4 -0
- package/src/refractor/plugins/normalize-security-requirements.cjs +4 -0
- package/src/refractor/plugins/normalize-security-requirements.mjs +4 -0
- package/src/refractor/plugins/normalize-servers.cjs +6 -2
- package/src/refractor/plugins/normalize-servers.mjs +6 -2
- package/src/refractor/plugins/replace-empty-element.cjs +4 -0
- package/src/refractor/plugins/replace-empty-element.mjs +4 -0
- package/src/refractor/specification.cjs +1 -0
- package/src/refractor/specification.mjs +1 -0
- package/src/refractor/toolbox.cjs +19 -1
- package/src/refractor/toolbox.mjs +15 -1
- package/src/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/JsonSchemaDialectVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/WebhooksVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/WebhooksVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/callback/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/callback/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/components/PathItemsVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/components/PathItemsVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/components/SchemasVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/components/SchemasVisitor.mjs +8 -0
- package/src/refractor/visitors/open-api-3-1/components/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/components/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/contact/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/contact/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/distriminator/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/distriminator/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/encoding/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/encoding/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/example/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/example/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/external-documentation/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/external-documentation/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/header/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/header/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/index.cjs +6 -0
- package/src/refractor/visitors/open-api-3-1/index.mjs +8 -1
- package/src/refractor/visitors/open-api-3-1/info/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/info/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/license/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/license/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/link/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/link/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/media-type/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/media-type/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/oauth-flow/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/oauth-flow/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/oauth-flows/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/oauth-flows/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/operation/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/operation/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/parameter/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/parameter/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/path-item/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/path-item/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/paths/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/paths/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/reference/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/reference/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/request-body/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/request-body/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/response/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/response/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/responses/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/responses/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/schema/$defsVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/schema/$defsVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/schema/$refVisitor.cjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/$refVisitor.mjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/$vocabularyVisitor.cjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/$vocabularyVisitor.mjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/AllOfVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/schema/AllOfVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/schema/AnyOfVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/schema/DependentRequiredVisitor.cjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/DependentRequiredVisitor.mjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/schema/DependentSchemasVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/schema/EnumVisitor.cjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/EnumVisitor.mjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/ExamplesVisitor.cjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/ExamplesVisitor.mjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/OneOfVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/schema/OneOfVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/schema/ParentSchemaAwareVisitor.cjs +4 -0
- package/src/refractor/visitors/open-api-3-1/schema/ParentSchemaAwareVisitor.mjs +4 -0
- package/src/refractor/visitors/open-api-3-1/schema/PatternPropertiesVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/schema/PatternPropertiesVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/schema/PrefixItemsVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.cjs +7 -0
- package/src/refractor/visitors/open-api-3-1/schema/PropertiesVisitor.mjs +6 -0
- package/src/refractor/visitors/open-api-3-1/schema/RequiredVisitor.cjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/RequiredVisitor.mjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/TypeVisitor.cjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/TypeVisitor.mjs +3 -0
- package/src/refractor/visitors/open-api-3-1/schema/index.cjs +8 -1
- package/src/refractor/visitors/open-api-3-1/schema/index.mjs +7 -1
- package/src/refractor/visitors/open-api-3-1/security-requirement/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/security-requirement/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/security-scheme/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/security-scheme/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/server/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/server/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/server-variable/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/server-variable/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/tag/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/tag/index.mjs +7 -11
- package/src/refractor/visitors/open-api-3-1/xml/index.cjs +8 -12
- package/src/refractor/visitors/open-api-3-1/xml/index.mjs +7 -11
- package/src/traversal/visitor.cjs +4 -1
- package/src/traversal/visitor.mjs +4 -1
- package/types/apidom-ns-openapi-3-1.d.ts +3014 -0
- package/types/dist.d.ts +0 -1778
package/types/dist.d.ts
DELETED
|
@@ -1,1778 +0,0 @@
|
|
|
1
|
-
import { MediaTypes, NamespacePluginOptions, ObjectElement, Meta, Attributes, StringElement, ArrayElement, Element, NumberElement, BooleanElement, ElementPredicate, isElement, isStringElement, isArrayElement, isObjectElement, isMemberElement, includesClasses, hasElementSourceMap, Namespace } from '@swagger-api/apidom-core';
|
|
2
|
-
export { isArrayElement, isBooleanElement, isElement, isLinkElement as isLinkPrimitiveElement, isMemberElement, isNullElement, isNumberElement, isObjectElement, isRefElement, isStringElement } from '@swagger-api/apidom-core';
|
|
3
|
-
import * as minim from 'minim';
|
|
4
|
-
import * as _swagger_api_apidom_ns_openapi_3_0 from '@swagger-api/apidom-ns-openapi-3-0';
|
|
5
|
-
import { CallbackElement, ComponentsElement, ContactElement, ExampleElement, ExternalDocumentationElement, XmlElement, DiscriminatorElement, HeaderElement, LicenseElement, InfoElement, LinkElement, OpenapiElement, PathsElement, RequestBodyElement, ReferenceElement, OperationElement, ParameterElement, PathItemElement, ResponseElement, ResponsesElement, SecurityRequirementElement, SecuritySchemeElement, ServerElement, ServerVariableElement, MediaTypeElement, isServersElement, FixedFieldsVisitorOptions, FallbackVisitorOptions, SpecPath, FixedFieldsVisitor, FallbackVisitor, InfoVisitorOptions, ContactVisitorOptions, LicenseVisitorOptions, LinkVisitorOptions, SpecificationVisitorOptions, SpecificationVisitor, ServerVisitorOptions, ServerVariableVisitorOptions, MediaTypeVisitorOptions, SecurityRequirementVisitorOptions, ComponentsVisitorOptions, TagElement, TagVisitorOptions, ReferenceVisitorOptions, ParameterVisitorOptions, HeaderVisitorOptions, MapVisitorOptions, MapVisitor, DiscriminatorVisitorOptions, XmlVisitorOptions, ComponentsSchemasElement, ExampleVisitorOptions, ExternalDocumentationVisitorOptions, EncodingElement, EncodingVisitorOptions, PathsVisitorOptions, RequestBodyVisitorOptions, CallbackVisitorOptions, ResponseVisitorOptions, ResponsesVisitorOptions, OperationVisitorOptions, PathItemVisitorOptions, SecuritySchemeVisitorOptions, OAuthFlowsElement, OAuthFlowsVisitorOptions, OAuthFlowElement, OAuthFlowVisitorOptions } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
6
|
-
export { AlternatingVisitor, AlternatingVisitorOptions, CallbackVisitorOptions, ComponentsCallbacksElement, ComponentsCallbacksVisitor, ComponentsCallbacksVisitorOptions, ComponentsExamplesElement, ComponentsExamplesVisitor, ComponentsExamplesVisitorOptions, ComponentsHeadersElement, ComponentsHeadersVisitor, ComponentsHeadersVisitorOptions, ComponentsLinksElement, ComponentsLinksVisitor, ComponentsLinksVisitorOptions, ComponentsParametersElement, ComponentsParametersVisitor, ComponentsParametersVisitorOptions, ComponentsRequestBodiesElement, ComponentsRequestBodiesVisitor, ComponentsRequestBodiesVisitorOptions, ComponentsResponsesElement, ComponentsResponsesVisitor, ComponentsResponsesVisitorOptions, ComponentsSchemasElement, ComponentsSecuritySchemesElement, ComponentsSecuritySchemesVisitor, ComponentsSecuritySchemesVisitorOptions, ComponentsVisitorOptions, ContactVisitorOptions, ContentVisitor, ContentVisitorOptions, DiscriminatorMappingElement, DiscriminatorMappingVisitor, DiscriminatorMappingVisitorOptions, DiscriminatorVisitorOptions, EncodingHeadersElement, EncodingHeadersVisitor, EncodingHeadersVisitorOptions, EncodingVisitorOptions, ExampleExternalValueVisitor, ExampleExternalValueVisitorOptions, ExampleVisitorOptions, ExamplesVisitor, ExamplesVisitorOptions, ExternalDocumentationVisitorOptions, FallbackVisitor, FallbackVisitorOptions, FixedFieldsVisitor, FixedFieldsVisitorOptions, HeaderContentElement, HeaderContentVisitor, HeaderContentVisitorOptions, HeaderExamplesElement, HeaderExamplesVisitor, HeaderExamplesVisitorOptions, HeaderSchemaVisitor, HeaderSchemaVisitorOptions, HeaderVisitorOptions, InfoVersionVisitor, InfoVersionVisitorOptions, InfoVisitorOptions, LicenseVisitorOptions, LinkOperationIdVisitor, LinkOperationIdVisitorOptions, LinkOperationRefVisitor, LinkOperationRefVisitorOptions, LinkParametersElement, LinkParametersVisitor, LinkParametersVisitorOptions, LinkVisitorOptions, MapVisitor, MapVisitorOptions, MediaTypeEncodingElement, MediaTypeEncodingVisitor, MediaTypeEncodingVisitorOptions, MediaTypeExamplesElement, MediaTypeExamplesVisitor, MediaTypeExamplesVisitorOptions, MediaTypeSchemaVisitor, MediaTypeSchemaVisitorOptions, MediaTypeVisitorOptions, MixedFieldsVisitor, MixedFieldsVisitorOptions, OAuthFlowScopesElement, OAuthFlowScopesVisitor, OAuthFlowScopesVisitorOptions, OAuthFlowVisitorOptions, OAuthFlowsVisitorOptions, OpenapiVisitor, OpenapiVisitorOptions, OperationCallbacksElement, OperationCallbacksVisitor, OperationCallbacksVisitorOptions, OperationParametersElement, OperationParametersVisitor, OperationParametersVisitorOptions, OperationRequestBodyVisitor, OperationRequestBodyVisitorOptions, OperationSecurityElement, OperationSecurityVisitor, OperationSecurityVisitorOptions, OperationServersElement, OperationServersVisitor, OperationServersVisitorOptions, OperationTagsElement, OperationTagsVisitor, OperationTagsVisitorOptions, OperationVisitorOptions, ParameterContentElement, ParameterContentVisitor, ParameterContentVisitorOptions, ParameterExampleVisitor, ParameterExamplesElement, ParameterExamplesVisitorOptions, ParameterSchemaVisitor, ParameterSchemaVisitorOptions, ParameterVisitorOptions, ParametersVisitor, ParametersVisitorOptions, PathItem$RefVisitor, PathItem$RefVisitorOptions, PathItemParametersElement, PathItemParametersVisitor, PathItemParametersVisitorOptions, PathItemServersElement, PathItemServersVisitor, PathItemServersVisitorOptions, PathItemVisitorOptions, PathsVisitorOptions, PatternedFieldsVisitor, PatternedFieldsVisitorOptions, Reference$RefVisitor, Reference$RefVisitorOptions, ReferenceVisitorOptions, RequestBodyContentElement, RequestBodyContentVisitor, RequestBodyContentVisitorOptions, RequestBodyVisitorOptions, ResponseContentElement, ResponseContentVisitor, ResponseContentVisitorOptions, ResponseHeadersElement, ResponseHeadersVisitor, ResponseHeadersVisitorOptions, ResponseLinksElement, ResponseLinksVisitor, ResponseLinksVisitorOptions, ResponseVisitorOptions, ResponsesDefaultVisitor, ResponsesDefaultVisitorOptions, ResponsesVisitorOptions, FallbackVisitorOptions as Schema$refVisitorOptions, FallbackVisitorOptions as Schema$vocabularyVisitorOptions, FallbackVisitorOptions as SchemaDependentRequiredVisitorOptions, FallbackVisitorOptions as SchemaEnumVisitorOptions, FallbackVisitorOptions as SchemaExamplesVisitorOptions, FallbackVisitorOptions as SchemaRequiredVisitorOptions, FallbackVisitorOptions as SchemaTypeVisitorOptions, SecurityElement, SecurityRequirementVisitorOptions, SecuritySchemeVisitorOptions, SecurityVisitor, SecurityVisitorOptions, ServerVariableUrlVisitor, ServerVariableUrlVisitorOptions, ServerVariableVariablesVisitor, ServerVariableVariablesVisitorOptions, ServerVariableVisitorOptions, ServerVariablesElement, ServerVisitorOptions, ServersElement, ServersVisitor, ServersVisitorOptions, SpecPath, SpecificationExtensionVisitor, SpecificationExtensionVisitorOptions, SpecificationVisitor, SpecificationVisitorOptions, TagVisitorOptions, TagsElement, TagsVisitor, TagsVisitorOptions, Visitor, VisitorOptions, XmlVisitorOptions, isOpenApiExtension, isReferenceLikeElement, isServerLikeElement, isServersElement } from '@swagger-api/apidom-ns-openapi-3-0';
|
|
7
|
-
import * as ts_mixer_dist_types_types_js from 'ts-mixer/dist/types/types.js';
|
|
8
|
-
|
|
9
|
-
type Format = 'generic' | 'json' | 'yaml';
|
|
10
|
-
declare class OpenAPIMediaTypes extends MediaTypes<string> {
|
|
11
|
-
filterByFormat(format?: Format): string[];
|
|
12
|
-
findBy(version?: string, format?: Format): string;
|
|
13
|
-
latest(format?: Format): string;
|
|
14
|
-
}
|
|
15
|
-
declare const mediaTypes: OpenAPIMediaTypes;
|
|
16
|
-
|
|
17
|
-
declare const openApi3_1: {
|
|
18
|
-
namespace: (options: NamespacePluginOptions) => minim.Namespace;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
declare class Callback extends CallbackElement {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare class Components extends ComponentsElement {
|
|
25
|
-
get pathItems(): ObjectElement | undefined;
|
|
26
|
-
set pathItems(pathItems: ObjectElement | undefined);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
declare class Contact extends ContactElement {
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
declare class Example extends ExampleElement {
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
declare class ExternalDocumentation extends ExternalDocumentationElement {
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
declare class Xml extends XmlElement {
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
declare class Discriminator extends DiscriminatorElement {
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
declare class Schema extends ObjectElement {
|
|
45
|
-
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
46
|
-
/**
|
|
47
|
-
* Core vocabulary
|
|
48
|
-
*
|
|
49
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/core
|
|
50
|
-
*/
|
|
51
|
-
get $schema(): StringElement | undefined;
|
|
52
|
-
set $schema($schema: StringElement | undefined);
|
|
53
|
-
get $vocabulary(): ObjectElement | undefined;
|
|
54
|
-
set $vocabulary($vocabulary: ObjectElement | undefined);
|
|
55
|
-
get $id(): StringElement | undefined;
|
|
56
|
-
set $id($id: StringElement | undefined);
|
|
57
|
-
get $anchor(): StringElement | undefined;
|
|
58
|
-
set $anchor($anchor: StringElement | undefined);
|
|
59
|
-
get $dynamicAnchor(): StringElement | undefined;
|
|
60
|
-
set $dynamicAnchor($dynamicAnchor: StringElement | undefined);
|
|
61
|
-
get $dynamicRef(): StringElement | undefined;
|
|
62
|
-
set $dynamicRef($dynamicRef: StringElement | undefined);
|
|
63
|
-
get $ref(): StringElement | undefined;
|
|
64
|
-
set $ref($ref: StringElement | undefined);
|
|
65
|
-
get $defs(): ObjectElement | undefined;
|
|
66
|
-
set $defs($defs: ObjectElement | undefined);
|
|
67
|
-
get $comment(): StringElement | undefined;
|
|
68
|
-
set $comment($comment: StringElement | undefined);
|
|
69
|
-
/**
|
|
70
|
-
* Applicator vocabulary
|
|
71
|
-
*
|
|
72
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/applicator
|
|
73
|
-
*/
|
|
74
|
-
get allOf(): ArrayElement | undefined;
|
|
75
|
-
set allOf(allOf: ArrayElement | undefined);
|
|
76
|
-
get anyOf(): ArrayElement | undefined;
|
|
77
|
-
set anyOf(anyOf: ArrayElement | undefined);
|
|
78
|
-
get oneOf(): ArrayElement | undefined;
|
|
79
|
-
set oneOf(oneOf: ArrayElement | undefined);
|
|
80
|
-
get not(): Schema | undefined;
|
|
81
|
-
set not(not: Schema | undefined);
|
|
82
|
-
get if(): Schema | undefined;
|
|
83
|
-
set if(ifSchema: Schema | undefined);
|
|
84
|
-
get then(): Schema | undefined;
|
|
85
|
-
set then(thenSchema: Schema | undefined);
|
|
86
|
-
get else(): Schema | undefined;
|
|
87
|
-
set else(elseSchema: Schema | undefined);
|
|
88
|
-
get dependentSchemas(): ObjectElement | undefined;
|
|
89
|
-
set dependentSchemas(dependentSchemas: ObjectElement | undefined);
|
|
90
|
-
get prefixItems(): ArrayElement | undefined;
|
|
91
|
-
set prefixItems(prefixItems: ArrayElement | undefined);
|
|
92
|
-
get items(): Schema | undefined;
|
|
93
|
-
set items(items: Schema | undefined);
|
|
94
|
-
get containsProp(): Schema | undefined;
|
|
95
|
-
set containsProp(containsProp: Schema | undefined);
|
|
96
|
-
get properties(): ObjectElement | undefined;
|
|
97
|
-
set properties(properties: ObjectElement | undefined);
|
|
98
|
-
get patternProperties(): ObjectElement | undefined;
|
|
99
|
-
set patternProperties(patternProperties: ObjectElement | undefined);
|
|
100
|
-
get additionalProperties(): Schema | undefined;
|
|
101
|
-
set additionalProperties(additionalProperties: Schema | undefined);
|
|
102
|
-
get propertyNames(): Schema | undefined;
|
|
103
|
-
set propertyNames(propertyNames: Schema | undefined);
|
|
104
|
-
/**
|
|
105
|
-
* Unevaluated Locations vocabulary
|
|
106
|
-
*
|
|
107
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/unevaluated
|
|
108
|
-
*/
|
|
109
|
-
get unevaluatedItems(): Schema | undefined;
|
|
110
|
-
set unevaluatedItems(unevaluatedItems: Schema | undefined);
|
|
111
|
-
get unevaluatedProperties(): Schema | undefined;
|
|
112
|
-
set unevaluatedProperties(unevaluatedProperties: Schema | undefined);
|
|
113
|
-
/**
|
|
114
|
-
* Validation vocabulary
|
|
115
|
-
*
|
|
116
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/validation
|
|
117
|
-
*/
|
|
118
|
-
/**
|
|
119
|
-
* Validation Keywords for Any Instance Type
|
|
120
|
-
*
|
|
121
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.1
|
|
122
|
-
*/
|
|
123
|
-
get type(): ArrayElement | StringElement | undefined;
|
|
124
|
-
set type(type: ArrayElement | StringElement | undefined);
|
|
125
|
-
get enum(): ArrayElement | undefined;
|
|
126
|
-
set enum(enumVal: ArrayElement | undefined);
|
|
127
|
-
get const(): Element | undefined;
|
|
128
|
-
set const(constVal: Element | undefined);
|
|
129
|
-
/**
|
|
130
|
-
* Validation Keywords for Numeric Instances (number and integer)
|
|
131
|
-
*
|
|
132
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#numeric
|
|
133
|
-
*/
|
|
134
|
-
get multipleOf(): NumberElement | undefined;
|
|
135
|
-
set multipleOf(multipleOf: NumberElement | undefined);
|
|
136
|
-
get maximum(): NumberElement | undefined;
|
|
137
|
-
set maximum(maximum: NumberElement | undefined);
|
|
138
|
-
get exclusiveMaximum(): NumberElement | undefined;
|
|
139
|
-
set exclusiveMaximum(exclusiveMaximum: NumberElement | undefined);
|
|
140
|
-
get minimum(): NumberElement | undefined;
|
|
141
|
-
set minimum(minimum: NumberElement | undefined);
|
|
142
|
-
get exclusiveMinimum(): NumberElement | undefined;
|
|
143
|
-
set exclusiveMinimum(exclusiveMinimum: NumberElement | undefined);
|
|
144
|
-
/**
|
|
145
|
-
* Validation Keywords for Strings
|
|
146
|
-
*
|
|
147
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#string
|
|
148
|
-
*/
|
|
149
|
-
get maxLength(): NumberElement | undefined;
|
|
150
|
-
set maxLength(maxLength: NumberElement | undefined);
|
|
151
|
-
get minLength(): NumberElement | undefined;
|
|
152
|
-
set minLength(minLength: NumberElement | undefined);
|
|
153
|
-
get pattern(): StringElement | undefined;
|
|
154
|
-
set pattern(pattern: StringElement | undefined);
|
|
155
|
-
/**
|
|
156
|
-
* Validation Keywords for Arrays
|
|
157
|
-
*
|
|
158
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.4
|
|
159
|
-
*/
|
|
160
|
-
get maxItems(): NumberElement | undefined;
|
|
161
|
-
set maxItems(maxItems: NumberElement | undefined);
|
|
162
|
-
get minItems(): NumberElement | undefined;
|
|
163
|
-
set minItems(minItems: NumberElement | undefined);
|
|
164
|
-
get uniqueItems(): BooleanElement | undefined;
|
|
165
|
-
set uniqueItems(uniqueItems: BooleanElement | undefined);
|
|
166
|
-
get maxContains(): NumberElement | undefined;
|
|
167
|
-
set maxContains(maxContains: NumberElement | undefined);
|
|
168
|
-
get minContains(): NumberElement | undefined;
|
|
169
|
-
set minContains(minContains: NumberElement | undefined);
|
|
170
|
-
/**
|
|
171
|
-
* Validation Keywords for Objects
|
|
172
|
-
*
|
|
173
|
-
* URI: https://json-schema.org/draft/2020-12/json-schema-validation.html#rfc.section.6.5
|
|
174
|
-
*/
|
|
175
|
-
get maxProperties(): NumberElement | undefined;
|
|
176
|
-
set maxProperties(maxProperties: NumberElement | undefined);
|
|
177
|
-
get minProperties(): NumberElement | undefined;
|
|
178
|
-
set minProperties(minProperties: NumberElement | undefined);
|
|
179
|
-
get required(): ArrayElement | undefined;
|
|
180
|
-
set required(required: ArrayElement | undefined);
|
|
181
|
-
get dependentRequired(): ObjectElement | undefined;
|
|
182
|
-
set dependentRequired(dependentRequired: ObjectElement | undefined);
|
|
183
|
-
/**
|
|
184
|
-
* Vocabulary for Basic Meta-Data Annotations
|
|
185
|
-
*
|
|
186
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/meta-data
|
|
187
|
-
*/
|
|
188
|
-
get title(): StringElement | undefined;
|
|
189
|
-
set title(title: StringElement | undefined);
|
|
190
|
-
get description(): StringElement | undefined;
|
|
191
|
-
set description(description: StringElement | undefined);
|
|
192
|
-
get default(): Element | undefined;
|
|
193
|
-
set default(defaultVal: Element | undefined);
|
|
194
|
-
get deprecated(): BooleanElement | undefined;
|
|
195
|
-
set deprecated(deprecated: BooleanElement | undefined);
|
|
196
|
-
get readOnly(): BooleanElement | undefined;
|
|
197
|
-
set readOnly(readOnly: BooleanElement | undefined);
|
|
198
|
-
get writeOnly(): BooleanElement | undefined;
|
|
199
|
-
set writeOnly(writeOnly: BooleanElement | undefined);
|
|
200
|
-
get examples(): ArrayElement | undefined;
|
|
201
|
-
set examples(examples: ArrayElement | undefined);
|
|
202
|
-
/**
|
|
203
|
-
* Vocabularies for Semantic Content With "format"
|
|
204
|
-
*
|
|
205
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/format-annotation
|
|
206
|
-
*/
|
|
207
|
-
get format(): StringElement | undefined;
|
|
208
|
-
set format(format: StringElement | undefined);
|
|
209
|
-
/**
|
|
210
|
-
* Vocabulary for the Contents of String-Encoded Data
|
|
211
|
-
*
|
|
212
|
-
* URI: https://json-schema.org/draft/2020-12/vocab/content
|
|
213
|
-
*/
|
|
214
|
-
get contentEncoding(): StringElement | undefined;
|
|
215
|
-
set contentEncoding(contentEncoding: StringElement | undefined);
|
|
216
|
-
get contentMediaType(): StringElement | undefined;
|
|
217
|
-
set contentMediaType(contentMediaType: StringElement | undefined);
|
|
218
|
-
get contentSchema(): Schema | undefined;
|
|
219
|
-
set contentSchema(contentSchema: Schema | undefined);
|
|
220
|
-
/**
|
|
221
|
-
* OAS base vocabulary
|
|
222
|
-
*
|
|
223
|
-
* URI: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.1.0.md#baseVocabulary
|
|
224
|
-
*/
|
|
225
|
-
get discriminator(): Discriminator | undefined;
|
|
226
|
-
set discriminator(discriminator: Discriminator | undefined);
|
|
227
|
-
get xml(): Xml | undefined;
|
|
228
|
-
set xml(xml: Xml | undefined);
|
|
229
|
-
get externalDocs(): ExternalDocumentation | undefined;
|
|
230
|
-
set externalDocs(externalDocs: ExternalDocumentation | undefined);
|
|
231
|
-
/**
|
|
232
|
-
* @deprecated The example property has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.
|
|
233
|
-
*/
|
|
234
|
-
get example(): Element | undefined;
|
|
235
|
-
/**
|
|
236
|
-
* @deprecated The example property has been deprecated in favor of the JSON Schema examples keyword. Use of example is discouraged, and later versions of this specification may remove it.
|
|
237
|
-
*/
|
|
238
|
-
set example(example: Element | undefined);
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
declare class Header extends HeaderElement {
|
|
242
|
-
get schema(): Schema | undefined;
|
|
243
|
-
set schema(schema: Schema | undefined);
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
declare class License extends LicenseElement {
|
|
247
|
-
get identifier(): StringElement | undefined;
|
|
248
|
-
set identifier(name: StringElement | undefined);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
declare class Info extends InfoElement {
|
|
252
|
-
get license(): License | undefined;
|
|
253
|
-
set license(licenseElement: License | undefined);
|
|
254
|
-
get summary(): StringElement | undefined;
|
|
255
|
-
set summary(summary: StringElement | undefined);
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
declare class JsonSchemaDialect extends StringElement {
|
|
259
|
-
static default: JsonSchemaDialect;
|
|
260
|
-
constructor(content?: string, meta?: Meta, attributes?: Attributes);
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
declare class Link extends LinkElement {
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
declare class Openapi extends OpenapiElement {
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
declare class Paths extends PathsElement {
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
declare class OpenApi3_1 extends ObjectElement {
|
|
273
|
-
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
274
|
-
get openapi(): Openapi | undefined;
|
|
275
|
-
set openapi(openapi: Openapi | undefined);
|
|
276
|
-
get info(): Info | undefined;
|
|
277
|
-
set info(info: Info | undefined);
|
|
278
|
-
get jsonSchemaDialect(): StringElement | undefined;
|
|
279
|
-
set jsonSchemaDialect(jsonSchemaDialect: StringElement | undefined);
|
|
280
|
-
get servers(): ArrayElement | undefined;
|
|
281
|
-
set servers(servers: ArrayElement | undefined);
|
|
282
|
-
get paths(): Paths | undefined;
|
|
283
|
-
set paths(paths: Paths | undefined);
|
|
284
|
-
get components(): Components | undefined;
|
|
285
|
-
set components(components: Components | undefined);
|
|
286
|
-
get security(): ArrayElement | undefined;
|
|
287
|
-
set security(security: ArrayElement | undefined);
|
|
288
|
-
get tags(): ArrayElement | undefined;
|
|
289
|
-
set tags(tags: ArrayElement | undefined);
|
|
290
|
-
get externalDocs(): ExternalDocumentation | undefined;
|
|
291
|
-
set externalDocs(externalDocs: ExternalDocumentation | undefined);
|
|
292
|
-
get webhooks(): ObjectElement | undefined;
|
|
293
|
-
set webhooks(webhooks: ObjectElement | undefined);
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
declare class RequestBody extends RequestBodyElement {
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
declare class Reference extends ReferenceElement {
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
declare class Operation extends OperationElement {
|
|
303
|
-
get requestBody(): RequestBody | Reference | undefined;
|
|
304
|
-
set requestBody(requestBody: RequestBody | Reference | undefined);
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
declare class Parameter extends ParameterElement {
|
|
308
|
-
get schema(): Schema | undefined;
|
|
309
|
-
set schema(schema: Schema | undefined);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
declare class PathItem extends PathItemElement {
|
|
313
|
-
get GET(): Operation;
|
|
314
|
-
set GET(operation: Operation | undefined);
|
|
315
|
-
get PUT(): Operation;
|
|
316
|
-
set PUT(operation: Operation | undefined);
|
|
317
|
-
get POST(): Operation;
|
|
318
|
-
set POST(operation: Operation | undefined);
|
|
319
|
-
get DELETE(): Operation;
|
|
320
|
-
set DELETE(operation: Operation | undefined);
|
|
321
|
-
get OPTIONS(): Operation;
|
|
322
|
-
set OPTIONS(operation: Operation | undefined);
|
|
323
|
-
get HEAD(): Operation;
|
|
324
|
-
set HEAD(operation: Operation | undefined);
|
|
325
|
-
get PATCH(): Operation;
|
|
326
|
-
set PATCH(operation: Operation | undefined);
|
|
327
|
-
get TRACE(): Operation;
|
|
328
|
-
set TRACE(operation: Operation | undefined);
|
|
329
|
-
}
|
|
330
|
-
|
|
331
|
-
declare class Response extends ResponseElement {
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
declare class Responses extends ResponsesElement {
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
declare class SecurityRequirement extends SecurityRequirementElement {
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
declare class SecurityScheme extends SecuritySchemeElement {
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
declare class Server extends ServerElement {
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
declare class ServerVariable extends ServerVariableElement {
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
declare class MediaType extends MediaTypeElement {
|
|
350
|
-
get schema(): Schema | undefined;
|
|
351
|
-
set schema(schema: Schema | undefined);
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
declare const isCallbackElement: ElementPredicate<Callback>;
|
|
355
|
-
declare const isComponentsElement: ElementPredicate<Components>;
|
|
356
|
-
declare const isContactElement: ElementPredicate<Contact>;
|
|
357
|
-
declare const isExampleElement: ElementPredicate<Example>;
|
|
358
|
-
declare const isExternalDocumentationElement: ElementPredicate<ExternalDocumentation>;
|
|
359
|
-
declare const isHeaderElement: ElementPredicate<Header>;
|
|
360
|
-
declare const isInfoElement: ElementPredicate<Info>;
|
|
361
|
-
declare const isJsonSchemaDialectElement: ElementPredicate<JsonSchemaDialect>;
|
|
362
|
-
declare const isLicenseElement: ElementPredicate<License>;
|
|
363
|
-
declare const isLinkElement: ElementPredicate<Link>;
|
|
364
|
-
declare const isOpenapiElement: ElementPredicate<Openapi>;
|
|
365
|
-
declare const isOpenApi3_1Element: ElementPredicate<OpenApi3_1>;
|
|
366
|
-
declare const isOperationElement: ElementPredicate<Operation>;
|
|
367
|
-
declare const isParameterElement: ElementPredicate<Parameter>;
|
|
368
|
-
declare const isPathItemElement: ElementPredicate<PathItem>;
|
|
369
|
-
/**
|
|
370
|
-
* @deprecated
|
|
371
|
-
* Determining whether a PathItemElement is external or internal is not possible by just looking
|
|
372
|
-
* at value of the $ref fixed field. The value of the $ref field needs to be resolved in runtime
|
|
373
|
-
* using the referring document as the Base URI.
|
|
374
|
-
*/
|
|
375
|
-
declare const isPathItemElementExternal: ElementPredicate<PathItem>;
|
|
376
|
-
declare const isPathsElement: ElementPredicate<Paths>;
|
|
377
|
-
declare const isReferenceElement: ElementPredicate<Reference>;
|
|
378
|
-
/**
|
|
379
|
-
* @deprecated
|
|
380
|
-
* Determining whether a ReferenceElement is external or internal is not possible by just looking
|
|
381
|
-
* at value of the $ref fixed field. The value of the $ref field needs to be resolved in runtime
|
|
382
|
-
* using the referring document as the Base URI.
|
|
383
|
-
*/
|
|
384
|
-
declare const isReferenceElementExternal: ElementPredicate<Reference>;
|
|
385
|
-
declare const isRequestBodyElement: ElementPredicate<RequestBody>;
|
|
386
|
-
declare const isResponseElement: ElementPredicate<Response>;
|
|
387
|
-
declare const isResponsesElement: ElementPredicate<Responses>;
|
|
388
|
-
declare const isSchemaElement: ElementPredicate<Schema>;
|
|
389
|
-
declare const isBooleanJsonSchemaElement: ElementPredicate<BooleanElement>;
|
|
390
|
-
declare const isSecurityRequirementElement: ElementPredicate<SecurityRequirement>;
|
|
391
|
-
declare const isSecuritySchemeElement: ElementPredicate<SecurityScheme>;
|
|
392
|
-
declare const isServerElement: ElementPredicate<Server>;
|
|
393
|
-
declare const isServerVariableElement: ElementPredicate<ServerVariable>;
|
|
394
|
-
declare const isMediaTypeElement: ElementPredicate<MediaType>;
|
|
395
|
-
|
|
396
|
-
declare const openApi3_1Predicates_isBooleanJsonSchemaElement: typeof isBooleanJsonSchemaElement;
|
|
397
|
-
declare const openApi3_1Predicates_isCallbackElement: typeof isCallbackElement;
|
|
398
|
-
declare const openApi3_1Predicates_isComponentsElement: typeof isComponentsElement;
|
|
399
|
-
declare const openApi3_1Predicates_isContactElement: typeof isContactElement;
|
|
400
|
-
declare const openApi3_1Predicates_isExampleElement: typeof isExampleElement;
|
|
401
|
-
declare const openApi3_1Predicates_isExternalDocumentationElement: typeof isExternalDocumentationElement;
|
|
402
|
-
declare const openApi3_1Predicates_isHeaderElement: typeof isHeaderElement;
|
|
403
|
-
declare const openApi3_1Predicates_isInfoElement: typeof isInfoElement;
|
|
404
|
-
declare const openApi3_1Predicates_isJsonSchemaDialectElement: typeof isJsonSchemaDialectElement;
|
|
405
|
-
declare const openApi3_1Predicates_isLicenseElement: typeof isLicenseElement;
|
|
406
|
-
declare const openApi3_1Predicates_isLinkElement: typeof isLinkElement;
|
|
407
|
-
declare const openApi3_1Predicates_isMediaTypeElement: typeof isMediaTypeElement;
|
|
408
|
-
declare const openApi3_1Predicates_isOpenApi3_1Element: typeof isOpenApi3_1Element;
|
|
409
|
-
declare const openApi3_1Predicates_isOpenapiElement: typeof isOpenapiElement;
|
|
410
|
-
declare const openApi3_1Predicates_isOperationElement: typeof isOperationElement;
|
|
411
|
-
declare const openApi3_1Predicates_isParameterElement: typeof isParameterElement;
|
|
412
|
-
declare const openApi3_1Predicates_isPathItemElement: typeof isPathItemElement;
|
|
413
|
-
declare const openApi3_1Predicates_isPathItemElementExternal: typeof isPathItemElementExternal;
|
|
414
|
-
declare const openApi3_1Predicates_isPathsElement: typeof isPathsElement;
|
|
415
|
-
declare const openApi3_1Predicates_isReferenceElement: typeof isReferenceElement;
|
|
416
|
-
declare const openApi3_1Predicates_isReferenceElementExternal: typeof isReferenceElementExternal;
|
|
417
|
-
declare const openApi3_1Predicates_isRequestBodyElement: typeof isRequestBodyElement;
|
|
418
|
-
declare const openApi3_1Predicates_isResponseElement: typeof isResponseElement;
|
|
419
|
-
declare const openApi3_1Predicates_isResponsesElement: typeof isResponsesElement;
|
|
420
|
-
declare const openApi3_1Predicates_isSchemaElement: typeof isSchemaElement;
|
|
421
|
-
declare const openApi3_1Predicates_isSecurityRequirementElement: typeof isSecurityRequirementElement;
|
|
422
|
-
declare const openApi3_1Predicates_isSecuritySchemeElement: typeof isSecuritySchemeElement;
|
|
423
|
-
declare const openApi3_1Predicates_isServerElement: typeof isServerElement;
|
|
424
|
-
declare const openApi3_1Predicates_isServerVariableElement: typeof isServerVariableElement;
|
|
425
|
-
declare namespace openApi3_1Predicates {
|
|
426
|
-
export { openApi3_1Predicates_isBooleanJsonSchemaElement as isBooleanJsonSchemaElement, openApi3_1Predicates_isCallbackElement as isCallbackElement, openApi3_1Predicates_isComponentsElement as isComponentsElement, openApi3_1Predicates_isContactElement as isContactElement, openApi3_1Predicates_isExampleElement as isExampleElement, openApi3_1Predicates_isExternalDocumentationElement as isExternalDocumentationElement, openApi3_1Predicates_isHeaderElement as isHeaderElement, openApi3_1Predicates_isInfoElement as isInfoElement, openApi3_1Predicates_isJsonSchemaDialectElement as isJsonSchemaDialectElement, openApi3_1Predicates_isLicenseElement as isLicenseElement, openApi3_1Predicates_isLinkElement as isLinkElement, openApi3_1Predicates_isMediaTypeElement as isMediaTypeElement, openApi3_1Predicates_isOpenApi3_1Element as isOpenApi3_1Element, openApi3_1Predicates_isOpenapiElement as isOpenapiElement, openApi3_1Predicates_isOperationElement as isOperationElement, openApi3_1Predicates_isParameterElement as isParameterElement, openApi3_1Predicates_isPathItemElement as isPathItemElement, openApi3_1Predicates_isPathItemElementExternal as isPathItemElementExternal, openApi3_1Predicates_isPathsElement as isPathsElement, openApi3_1Predicates_isReferenceElement as isReferenceElement, openApi3_1Predicates_isReferenceElementExternal as isReferenceElementExternal, openApi3_1Predicates_isRequestBodyElement as isRequestBodyElement, openApi3_1Predicates_isResponseElement as isResponseElement, openApi3_1Predicates_isResponsesElement as isResponsesElement, openApi3_1Predicates_isSchemaElement as isSchemaElement, openApi3_1Predicates_isSecurityRequirementElement as isSecurityRequirementElement, openApi3_1Predicates_isSecuritySchemeElement as isSecuritySchemeElement, openApi3_1Predicates_isServerElement as isServerElement, openApi3_1Predicates_isServerVariableElement as isServerVariableElement };
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
type Predicates = typeof openApi3_1Predicates & {
|
|
430
|
-
isElement: typeof isElement;
|
|
431
|
-
isStringElement: typeof isStringElement;
|
|
432
|
-
isArrayElement: typeof isArrayElement;
|
|
433
|
-
isObjectElement: typeof isObjectElement;
|
|
434
|
-
isMemberElement: typeof isMemberElement;
|
|
435
|
-
isServersElement: typeof isServersElement;
|
|
436
|
-
includesClasses: typeof includesClasses;
|
|
437
|
-
hasElementSourceMap: typeof hasElementSourceMap;
|
|
438
|
-
};
|
|
439
|
-
interface Toolbox {
|
|
440
|
-
predicates: Predicates;
|
|
441
|
-
ancestorLineageToJSONPointer: typeof ancestorLineageToJSONPointer;
|
|
442
|
-
namespace: Namespace;
|
|
443
|
-
}
|
|
444
|
-
/**
|
|
445
|
-
* Translates visitor ancestor lineage to a JSON Pointer tokens.
|
|
446
|
-
* Ancestor lineage is constructed of following visitor method arguments:
|
|
447
|
-
*
|
|
448
|
-
* - ancestors
|
|
449
|
-
* - parent
|
|
450
|
-
* - element
|
|
451
|
-
*/
|
|
452
|
-
declare const ancestorLineageToJSONPointer: <T extends (Element | Element[])[]>(elementPath: T) => string;
|
|
453
|
-
declare const createToolbox: () => Toolbox;
|
|
454
|
-
|
|
455
|
-
declare const plugin$6: () => ({ predicates }: {
|
|
456
|
-
predicates: Predicates;
|
|
457
|
-
}) => {
|
|
458
|
-
visitor: {
|
|
459
|
-
StringElement(element: StringElement, key: any, parent: any, path: any, ancestors: any[]): any;
|
|
460
|
-
};
|
|
461
|
-
};
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* Inheritance of Parameter Objects.
|
|
465
|
-
*
|
|
466
|
-
* OpenAPI 3.1 specification excerpt that defines the inheritance behavior:
|
|
467
|
-
*
|
|
468
|
-
* A list of parameters that are applicable for this operation. If a parameter is already defined at the Path Item,
|
|
469
|
-
* the new definition will override it but can never remove it. The list MUST NOT include duplicated parameters.
|
|
470
|
-
* A unique parameter is defined by a combination of a name and location.
|
|
471
|
-
*
|
|
472
|
-
* NOTE: this plugin is idempotent
|
|
473
|
-
*/
|
|
474
|
-
interface PluginOptions$5 {
|
|
475
|
-
storageField?: string;
|
|
476
|
-
}
|
|
477
|
-
declare const plugin$5: ({ storageField }?: PluginOptions$5) => (toolbox: Toolbox) => {
|
|
478
|
-
visitor: {
|
|
479
|
-
OpenApi3_1Element: {
|
|
480
|
-
enter(element: OpenApi3_1): void;
|
|
481
|
-
leave(): void;
|
|
482
|
-
};
|
|
483
|
-
PathItemElement: {
|
|
484
|
-
enter(pathItemElement: PathItem, key: string | number, parent: Element | undefined, path: (string | number)[], ancestors: [Element | Element[]]): void;
|
|
485
|
-
leave(): void;
|
|
486
|
-
};
|
|
487
|
-
OperationElement: {
|
|
488
|
-
leave(operationElement: Operation, key: string | number, parent: Element | undefined, path: (string | number)[], ancestors: [Element | Element[]]): void;
|
|
489
|
-
};
|
|
490
|
-
};
|
|
491
|
-
};
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* Override of Security Requirement Objects.
|
|
495
|
-
*
|
|
496
|
-
* OpenAPI 3.1 specification excerpt that defines the override behavior:
|
|
497
|
-
*
|
|
498
|
-
* Operation.security definition overrides any declared top-level security.
|
|
499
|
-
* To remove a top-level security declaration, an empty array can be used.
|
|
500
|
-
* When a list of Security Requirement Objects is defined on the OpenAPI Object or Operation Object,
|
|
501
|
-
* only one of the Security Requirement Objects in the list needs to be satisfied to authorize the request.
|
|
502
|
-
*
|
|
503
|
-
* NOTE: this plugin is idempotent
|
|
504
|
-
*/
|
|
505
|
-
interface PluginOptions$4 {
|
|
506
|
-
storageField?: string;
|
|
507
|
-
}
|
|
508
|
-
declare const plugin$4: ({ storageField }?: PluginOptions$4) => (toolbox: Toolbox) => {
|
|
509
|
-
visitor: {
|
|
510
|
-
OpenApi3_1Element: {
|
|
511
|
-
enter(openapiElement: OpenApi3_1): void;
|
|
512
|
-
leave(): void;
|
|
513
|
-
};
|
|
514
|
-
OperationElement: {
|
|
515
|
-
leave(operationElement: Operation, key: string | number, parent: Element | undefined, path: (string | number)[], ancestors: [Element | Element[]]): void;
|
|
516
|
-
};
|
|
517
|
-
};
|
|
518
|
-
};
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
* Override of Server Objects.
|
|
522
|
-
*
|
|
523
|
-
* List of Server Objects can be defined in OpenAPI 3.1 on multiple levels:
|
|
524
|
-
*
|
|
525
|
-
* - OpenAPI.servers
|
|
526
|
-
* - PathItem.servers
|
|
527
|
-
* - Operation.servers
|
|
528
|
-
*
|
|
529
|
-
* If an alternative server object is specified at the Path Item Object level, it will override OpenAPI.servers.
|
|
530
|
-
* If an alternative server object is specified at the Operation Object level, it will override PathItem.servers and OpenAPI.servers respectively.
|
|
531
|
-
*/
|
|
532
|
-
interface PluginOptions$3 {
|
|
533
|
-
storageField?: string;
|
|
534
|
-
}
|
|
535
|
-
declare const plugin$3: ({ storageField }?: PluginOptions$3) => (toolbox: Toolbox) => {
|
|
536
|
-
visitor: {
|
|
537
|
-
OpenApi3_1Element: {
|
|
538
|
-
enter(openapiElement: OpenApi3_1): void;
|
|
539
|
-
leave(): void;
|
|
540
|
-
};
|
|
541
|
-
PathItemElement(pathItemElement: PathItem, key: string | number, parent: Element | undefined, path: (string | number)[], ancestors: [Element | Element[]]): void;
|
|
542
|
-
OperationElement(operationElement: Operation, key: string | number, parent: Element | undefined, path: (string | number)[], ancestors: [Element | Element[]]): void;
|
|
543
|
-
};
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* Normalization of Operation.operationId field.
|
|
548
|
-
*
|
|
549
|
-
* This normalization is not guided by OpenAPI 3.1 specification.
|
|
550
|
-
*
|
|
551
|
-
* Existing Operation.operationId fields are normalized into snake case form.
|
|
552
|
-
*
|
|
553
|
-
* Operation Objects, that do not define operationId field, are left untouched.
|
|
554
|
-
*
|
|
555
|
-
* Original operationId is stored in meta and as new `__originalOperationId` field.
|
|
556
|
-
*
|
|
557
|
-
* This plugin also guarantees the uniqueness of all defined Operation.operationId fields,
|
|
558
|
-
* and make sure Link.operationId fields are pointing to correct and normalized Operation.operationId fields.
|
|
559
|
-
*
|
|
560
|
-
* NOTE: this plugin is idempotent
|
|
561
|
-
*/
|
|
562
|
-
interface PluginOptions$2 {
|
|
563
|
-
storageField?: string;
|
|
564
|
-
operationIdNormalizer?: (operationId: string, path: string, method: string) => string;
|
|
565
|
-
}
|
|
566
|
-
declare const plugin$2: ({ storageField, operationIdNormalizer, }?: PluginOptions$2) => (toolbox: Toolbox) => {
|
|
567
|
-
visitor: {
|
|
568
|
-
OpenApi3_1Element: {
|
|
569
|
-
enter(element: OpenApi3_1): void;
|
|
570
|
-
leave(): void;
|
|
571
|
-
};
|
|
572
|
-
PathItemElement: {
|
|
573
|
-
enter(pathItemElement: PathItem): void;
|
|
574
|
-
leave(): void;
|
|
575
|
-
};
|
|
576
|
-
OperationElement: {
|
|
577
|
-
enter(operationElement: Operation, key: string | number, parent: Element | undefined, path: (string | number)[], ancestors: [Element | Element[]]): void;
|
|
578
|
-
};
|
|
579
|
-
LinkElement: {
|
|
580
|
-
leave(linkElement: Link): void;
|
|
581
|
-
};
|
|
582
|
-
};
|
|
583
|
-
};
|
|
584
|
-
|
|
585
|
-
/**
|
|
586
|
-
* Override of Schema.example and Schema.examples field inside the Parameter Objects.
|
|
587
|
-
*
|
|
588
|
-
* Parameter Object has two fixed fields:
|
|
589
|
-
* - `example` of type `Any`
|
|
590
|
-
* - `examples` of type `Map[string, Example Object | Reference Object]`
|
|
591
|
-
*
|
|
592
|
-
* OpenAPI 3.1 specification excerpt that defines the override behavior:
|
|
593
|
-
*
|
|
594
|
-
* The example value SHALL override the example provided by the schema.
|
|
595
|
-
* Furthermore, if referencing a schema that contains an example, the examples value SHALL override the example provided by the schema.
|
|
596
|
-
*
|
|
597
|
-
* NOTE: this plugin is idempotent
|
|
598
|
-
*/
|
|
599
|
-
interface PluginOptions$1 {
|
|
600
|
-
storageField?: string;
|
|
601
|
-
}
|
|
602
|
-
declare const plugin$1: ({ storageField }?: PluginOptions$1) => (toolbox: Toolbox) => {
|
|
603
|
-
visitor: {
|
|
604
|
-
OpenApi3_1Element: {
|
|
605
|
-
enter(element: OpenApi3_1): void;
|
|
606
|
-
leave(): void;
|
|
607
|
-
};
|
|
608
|
-
ParameterElement: {
|
|
609
|
-
leave(parameterElement: Parameter, key: string | number, parent: Element | undefined, path: (string | number)[], ancestors: [Element | Element[]]): void;
|
|
610
|
-
};
|
|
611
|
-
};
|
|
612
|
-
};
|
|
613
|
-
|
|
614
|
-
/**
|
|
615
|
-
* Override of Schema.example and Schema.examples field inside the Header Objects.
|
|
616
|
-
*
|
|
617
|
-
* Header Object has two fixed fields:
|
|
618
|
-
* - `example` of type `Any`
|
|
619
|
-
* - `examples` of type `Map[string, Example Object | Reference Object]`
|
|
620
|
-
*
|
|
621
|
-
* OpenAPI 3.1 specification excerpt that defines the override behavior:
|
|
622
|
-
*
|
|
623
|
-
* The example value SHALL override the example provided by the schema.
|
|
624
|
-
* Furthermore, if referencing a schema that contains an example, the examples value SHALL override the example provided by the schema.
|
|
625
|
-
*
|
|
626
|
-
* NOTE: this plugin is idempotent
|
|
627
|
-
*/
|
|
628
|
-
interface PluginOptions {
|
|
629
|
-
storageField?: string;
|
|
630
|
-
}
|
|
631
|
-
declare const plugin: ({ storageField }?: PluginOptions) => (toolbox: Toolbox) => {
|
|
632
|
-
visitor: {
|
|
633
|
-
OpenApi3_1Element: {
|
|
634
|
-
enter(element: OpenApi3_1): void;
|
|
635
|
-
leave(): void;
|
|
636
|
-
};
|
|
637
|
-
HeaderElement: {
|
|
638
|
-
leave(headerElement: Header, key: string | number, parent: Element | undefined, path: (string | number)[], ancestors: [Element | Element[]]): void;
|
|
639
|
-
};
|
|
640
|
-
};
|
|
641
|
-
};
|
|
642
|
-
|
|
643
|
-
interface OpenApi3_1VisitorOptions extends FixedFieldsVisitorOptions, FallbackVisitorOptions {
|
|
644
|
-
}
|
|
645
|
-
declare const OpenApi3_1Visitor_base: ts_mixer_dist_types_types_js.Class<any[], FixedFieldsVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof FallbackVisitor>;
|
|
646
|
-
declare class OpenApi3_1Visitor extends OpenApi3_1Visitor_base {
|
|
647
|
-
readonly element: OpenApi3_1;
|
|
648
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'OpenApi']>;
|
|
649
|
-
protected readonly canSupportSpecificationExtensions: true;
|
|
650
|
-
protected readonly openApiSemanticElement: OpenApi3_1;
|
|
651
|
-
constructor(options: OpenApi3_1VisitorOptions);
|
|
652
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
declare const BaseInfoVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.InfoVisitor;
|
|
656
|
-
|
|
657
|
-
declare class InfoVisitor extends BaseInfoVisitor {
|
|
658
|
-
readonly element: Info;
|
|
659
|
-
constructor(options: InfoVisitorOptions);
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
declare const BaseContactVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ContactVisitor;
|
|
663
|
-
|
|
664
|
-
declare class ContactVisitor extends BaseContactVisitor {
|
|
665
|
-
readonly element: Contact;
|
|
666
|
-
constructor(options: ContactVisitorOptions);
|
|
667
|
-
}
|
|
668
|
-
|
|
669
|
-
declare const BaseLicenseVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.LicenseVisitor;
|
|
670
|
-
|
|
671
|
-
declare class LicenseVisitor extends BaseLicenseVisitor {
|
|
672
|
-
readonly element: License;
|
|
673
|
-
constructor(options: LicenseVisitorOptions);
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
declare const BaseLinkVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.LinkVisitor;
|
|
677
|
-
|
|
678
|
-
declare class LinkVisitor extends BaseLinkVisitor {
|
|
679
|
-
readonly element: Link;
|
|
680
|
-
constructor(options: LinkVisitorOptions);
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
interface JsonSchemaDialectVisitorOptions extends SpecificationVisitorOptions, FallbackVisitorOptions {
|
|
684
|
-
}
|
|
685
|
-
declare const JsonSchemaDialectVisitor_base: ts_mixer_dist_types_types_js.Class<any[], SpecificationVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof FallbackVisitor>;
|
|
686
|
-
declare class JsonSchemaDialectVisitor extends JsonSchemaDialectVisitor_base {
|
|
687
|
-
element: JsonSchemaDialect;
|
|
688
|
-
StringElement(stringElement: StringElement): {};
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
declare const BaseServerVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ServerVisitor;
|
|
692
|
-
|
|
693
|
-
declare class ServerVisitor extends BaseServerVisitor {
|
|
694
|
-
readonly element: Server;
|
|
695
|
-
constructor(options: ServerVisitorOptions);
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
declare const BaseServerVariableVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ServerVariableVisitor;
|
|
699
|
-
|
|
700
|
-
declare class ServerVariableVisitor extends BaseServerVariableVisitor {
|
|
701
|
-
readonly element: ServerVariable;
|
|
702
|
-
constructor(options: ServerVariableVisitorOptions);
|
|
703
|
-
}
|
|
704
|
-
|
|
705
|
-
declare const BaseMediaTypeVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.MediaTypeVisitor;
|
|
706
|
-
|
|
707
|
-
declare class MediaTypeVisitor extends BaseMediaTypeVisitor {
|
|
708
|
-
readonly element: MediaType;
|
|
709
|
-
constructor(options: MediaTypeVisitorOptions);
|
|
710
|
-
}
|
|
711
|
-
|
|
712
|
-
declare const BaseSecurityRequirementVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.SecurityRequirementVisitor;
|
|
713
|
-
|
|
714
|
-
declare class SecurityRequirementVisitor extends BaseSecurityRequirementVisitor {
|
|
715
|
-
readonly element: SecurityRequirement;
|
|
716
|
-
constructor(options: SecurityRequirementVisitorOptions);
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
declare const BaseComponentsVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsVisitor;
|
|
720
|
-
|
|
721
|
-
declare class ComponentsVisitor extends BaseComponentsVisitor {
|
|
722
|
-
readonly element: Components;
|
|
723
|
-
constructor(options: ComponentsVisitorOptions);
|
|
724
|
-
}
|
|
725
|
-
|
|
726
|
-
declare class Tag extends TagElement {
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
declare const BaseTagVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.TagVisitor;
|
|
730
|
-
|
|
731
|
-
declare class TagVisitor extends BaseTagVisitor {
|
|
732
|
-
readonly element: Tag;
|
|
733
|
-
constructor(options: TagVisitorOptions);
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
declare const BaseReferenceVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ReferenceVisitor;
|
|
737
|
-
|
|
738
|
-
declare class ReferenceVisitor extends BaseReferenceVisitor {
|
|
739
|
-
readonly element: Reference;
|
|
740
|
-
constructor(options: ReferenceVisitorOptions);
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
declare const BaseParameterVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ParameterVisitor;
|
|
744
|
-
|
|
745
|
-
declare class ParameterVisitor extends BaseParameterVisitor {
|
|
746
|
-
readonly element: Parameter;
|
|
747
|
-
constructor(options: ParameterVisitorOptions);
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
declare const BaseHeaderVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.HeaderVisitor;
|
|
751
|
-
|
|
752
|
-
declare class HeaderVisitor extends BaseHeaderVisitor {
|
|
753
|
-
readonly element: Header;
|
|
754
|
-
constructor(options: HeaderVisitorOptions);
|
|
755
|
-
}
|
|
756
|
-
|
|
757
|
-
interface ParentSchemaAwareVisitorOptions {
|
|
758
|
-
readonly parent: Element;
|
|
759
|
-
}
|
|
760
|
-
declare class ParentSchemaAwareVisitor {
|
|
761
|
-
parent: Element;
|
|
762
|
-
constructor({ parent }: ParentSchemaAwareVisitorOptions);
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
interface SchemaVisitorOptions extends FixedFieldsVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
766
|
-
}
|
|
767
|
-
declare const SchemaVisitor_base: ts_mixer_dist_types_types_js.Class<any[], FixedFieldsVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof FixedFieldsVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
768
|
-
declare class SchemaVisitor extends SchemaVisitor_base {
|
|
769
|
-
readonly element: Schema;
|
|
770
|
-
protected readonly jsonSchemaDefaultDialect: JsonSchemaDialect;
|
|
771
|
-
constructor(options: SchemaVisitorOptions);
|
|
772
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
773
|
-
BooleanElement(booleanElement: BooleanElement): {};
|
|
774
|
-
/**
|
|
775
|
-
* This function depends on some external context, so we need to make sure this function
|
|
776
|
-
* works even when no context is provided like when directly refracting generic Object Element
|
|
777
|
-
* into Schema Element: SchemaElement.refract(new ObjectElement({ type: 'object' });
|
|
778
|
-
*/
|
|
779
|
-
getJsonSchemaDialect(): JsonSchemaDialect;
|
|
780
|
-
handle$schema(objectElement: ObjectElement): void;
|
|
781
|
-
handle$id(objectElement: ObjectElement): void;
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
declare class $vocabularyVisitor extends FallbackVisitor {
|
|
785
|
-
readonly element: ObjectElement;
|
|
786
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
declare class $refVisitor extends FallbackVisitor {
|
|
790
|
-
readonly element: StringElement;
|
|
791
|
-
StringElement(stringElement: StringElement): {};
|
|
792
|
-
}
|
|
793
|
-
|
|
794
|
-
interface $defsVisitorOptions extends MapVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
795
|
-
}
|
|
796
|
-
declare const $defsVisitor_base: ts_mixer_dist_types_types_js.Class<any[], MapVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof MapVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
797
|
-
declare class $defsVisitor extends $defsVisitor_base {
|
|
798
|
-
readonly element: ObjectElement;
|
|
799
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
800
|
-
constructor(options: $defsVisitorOptions);
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
interface AllOfVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
804
|
-
}
|
|
805
|
-
declare const AllOfVisitor_base: ts_mixer_dist_types_types_js.Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
806
|
-
declare class AllOfVisitor extends AllOfVisitor_base {
|
|
807
|
-
readonly element: ArrayElement;
|
|
808
|
-
constructor(options: AllOfVisitorOptions);
|
|
809
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
810
|
-
}
|
|
811
|
-
|
|
812
|
-
interface AnyOfVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
813
|
-
}
|
|
814
|
-
declare const AnyOfVisitor_base: ts_mixer_dist_types_types_js.Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
815
|
-
declare class AnyOfVisitor extends AnyOfVisitor_base {
|
|
816
|
-
readonly element: ArrayElement;
|
|
817
|
-
constructor(options: AnyOfVisitorOptions);
|
|
818
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
interface OneOfVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
822
|
-
}
|
|
823
|
-
declare const OneOfVisitor_base: ts_mixer_dist_types_types_js.Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
824
|
-
declare class OneOfVisitor extends OneOfVisitor_base {
|
|
825
|
-
readonly element: ArrayElement;
|
|
826
|
-
constructor(options: OneOfVisitorOptions);
|
|
827
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
interface DependentSchemasVisitorOptions extends MapVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
831
|
-
}
|
|
832
|
-
declare const DependentSchemasVisitor_base: ts_mixer_dist_types_types_js.Class<any[], MapVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof MapVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
833
|
-
declare class DependentSchemasVisitor extends DependentSchemasVisitor_base {
|
|
834
|
-
readonly element: ObjectElement;
|
|
835
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
836
|
-
constructor(options: DependentSchemasVisitorOptions);
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
interface PrefixItemsVisitorOptions extends SpecificationVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
840
|
-
}
|
|
841
|
-
declare const PrefixItemsVisitor_base: ts_mixer_dist_types_types_js.Class<any[], SpecificationVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof SpecificationVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
842
|
-
declare class PrefixItemsVisitor extends PrefixItemsVisitor_base {
|
|
843
|
-
readonly element: ArrayElement;
|
|
844
|
-
constructor(options: PrefixItemsVisitorOptions);
|
|
845
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
interface PropertiesVisitorOptions extends MapVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
849
|
-
}
|
|
850
|
-
declare const PropertiesVisitor_base: ts_mixer_dist_types_types_js.Class<any[], MapVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof MapVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
851
|
-
declare class PropertiesVisitor extends PropertiesVisitor_base {
|
|
852
|
-
readonly element: ObjectElement;
|
|
853
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
854
|
-
constructor(options: PropertiesVisitorOptions);
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
interface PatternPropertiesVisitorOptions extends MapVisitorOptions, ParentSchemaAwareVisitorOptions, FallbackVisitorOptions {
|
|
858
|
-
}
|
|
859
|
-
declare const PatternPropertiesVisitor_base: ts_mixer_dist_types_types_js.Class<any[], MapVisitor & ParentSchemaAwareVisitor & FallbackVisitor, typeof MapVisitor & typeof ParentSchemaAwareVisitor & typeof FallbackVisitor>;
|
|
860
|
-
declare class PatternPropertiesVisitor extends PatternPropertiesVisitor_base {
|
|
861
|
-
readonly element: ObjectElement;
|
|
862
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
863
|
-
constructor(options: PatternPropertiesVisitorOptions);
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
declare class TypeVisitor extends FallbackVisitor {
|
|
867
|
-
readonly element: StringElement | ArrayElement;
|
|
868
|
-
StringElement(stringElement: StringElement): {};
|
|
869
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
declare class EnumVisitor extends FallbackVisitor {
|
|
873
|
-
readonly element: ArrayElement;
|
|
874
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
declare class DependentRequiredVisitor extends FallbackVisitor {
|
|
878
|
-
readonly element: ObjectElement;
|
|
879
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
declare class ExamplesVisitor extends FallbackVisitor {
|
|
883
|
-
readonly element: ArrayElement;
|
|
884
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
declare const BaseDiscriminatorVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.DiscriminatorVisitor;
|
|
888
|
-
|
|
889
|
-
declare class DiscriminatorVisitor extends BaseDiscriminatorVisitor {
|
|
890
|
-
readonly element: Discriminator;
|
|
891
|
-
protected readonly canSupportSpecificationExtensions: true;
|
|
892
|
-
constructor(options: DiscriminatorVisitorOptions);
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
declare const BaseXMLVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.XmlVisitor;
|
|
896
|
-
|
|
897
|
-
declare class XmlVisitor extends BaseXMLVisitor {
|
|
898
|
-
readonly element: Xml;
|
|
899
|
-
constructor(options: XmlVisitorOptions);
|
|
900
|
-
}
|
|
901
|
-
|
|
902
|
-
interface SchemasVisitorOptions extends MapVisitorOptions, FallbackVisitorOptions {
|
|
903
|
-
}
|
|
904
|
-
declare const SchemasVisitor_base: ts_mixer_dist_types_types_js.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
905
|
-
declare class SchemasVisitor extends SchemasVisitor_base {
|
|
906
|
-
readonly element: ComponentsSchemasElement;
|
|
907
|
-
protected readonly specPath: SpecPath<['document', 'objects', 'Schema']>;
|
|
908
|
-
constructor(options: SchemasVisitorOptions);
|
|
909
|
-
}
|
|
910
|
-
|
|
911
|
-
declare class ComponentsPathItems extends ObjectElement {
|
|
912
|
-
static primaryClass: string;
|
|
913
|
-
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
interface PathItemsVisitorOptions extends MapVisitorOptions, FallbackVisitorOptions {
|
|
917
|
-
}
|
|
918
|
-
declare const PathItemsVisitor_base: ts_mixer_dist_types_types_js.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
919
|
-
declare class PathItemsVisitor extends PathItemsVisitor_base {
|
|
920
|
-
readonly element: ComponentsPathItems;
|
|
921
|
-
protected readonly specPath: SpecPath<[
|
|
922
|
-
'document',
|
|
923
|
-
'objects',
|
|
924
|
-
'Reference'
|
|
925
|
-
] | ['document', 'objects', 'PathItem']>;
|
|
926
|
-
constructor(options: PathItemsVisitorOptions);
|
|
927
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
declare const BaseExampleVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ExampleVisitor;
|
|
931
|
-
|
|
932
|
-
declare class ExampleVisitor extends BaseExampleVisitor {
|
|
933
|
-
readonly element: Example;
|
|
934
|
-
constructor(options: ExampleVisitorOptions);
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
declare const BaseExternalDocumentationVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ExternalDocumentationVisitor;
|
|
938
|
-
|
|
939
|
-
declare class ExternalDocumentationVisitor extends BaseExternalDocumentationVisitor {
|
|
940
|
-
readonly element: ExternalDocumentation;
|
|
941
|
-
constructor(options: ExternalDocumentationVisitorOptions);
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
declare class Encoding extends EncodingElement {
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
declare const BaseEncodingVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.EncodingVisitor;
|
|
948
|
-
|
|
949
|
-
declare class EncodingVisitor extends BaseEncodingVisitor {
|
|
950
|
-
readonly element: Encoding;
|
|
951
|
-
constructor(options: EncodingVisitorOptions);
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
declare const BasePathsVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.PathsVisitor;
|
|
955
|
-
|
|
956
|
-
declare class PathsVisitor extends BasePathsVisitor {
|
|
957
|
-
readonly element: Paths;
|
|
958
|
-
constructor(options: PathsVisitorOptions);
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
declare const BaseRequestBodyVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.RequestBodyVisitor;
|
|
962
|
-
|
|
963
|
-
declare class RequestBodyVisitor extends BaseRequestBodyVisitor {
|
|
964
|
-
readonly element: RequestBody;
|
|
965
|
-
constructor(options: RequestBodyVisitorOptions);
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
declare const BaseCallbackVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.CallbackVisitor;
|
|
969
|
-
|
|
970
|
-
declare class CallbackVisitor extends BaseCallbackVisitor {
|
|
971
|
-
readonly element: Callback;
|
|
972
|
-
protected readonly specPath: SpecPath<[
|
|
973
|
-
'document',
|
|
974
|
-
'objects',
|
|
975
|
-
'Reference'
|
|
976
|
-
] | ['document', 'objects', 'PathItem']>;
|
|
977
|
-
constructor(options: CallbackVisitorOptions);
|
|
978
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
declare const BaseResponseVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ResponseVisitor;
|
|
982
|
-
|
|
983
|
-
declare class ResponseVisitor extends BaseResponseVisitor {
|
|
984
|
-
readonly element: Response;
|
|
985
|
-
constructor(options: ResponseVisitorOptions);
|
|
986
|
-
}
|
|
987
|
-
|
|
988
|
-
declare const BaseResponsesVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.ResponsesVisitor;
|
|
989
|
-
|
|
990
|
-
declare class ResponsesVisitor extends BaseResponsesVisitor {
|
|
991
|
-
readonly element: Responses;
|
|
992
|
-
constructor(options: ResponsesVisitorOptions);
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
declare const BaseOperationVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.OperationVisitor;
|
|
996
|
-
|
|
997
|
-
declare class OperationVisitor extends BaseOperationVisitor {
|
|
998
|
-
readonly element: Operation;
|
|
999
|
-
constructor(options: OperationVisitorOptions);
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
declare const BasePathItemVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.PathItemVisitor;
|
|
1003
|
-
|
|
1004
|
-
declare class PathItemVisitor extends BasePathItemVisitor {
|
|
1005
|
-
readonly element: PathItem;
|
|
1006
|
-
constructor(options: PathItemVisitorOptions);
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
declare const BaseSecuritySchemeVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.SecuritySchemeVisitor;
|
|
1010
|
-
|
|
1011
|
-
declare class SecuritySchemeVisitor extends BaseSecuritySchemeVisitor {
|
|
1012
|
-
readonly element: SecurityScheme;
|
|
1013
|
-
constructor(options: SecuritySchemeVisitorOptions);
|
|
1014
|
-
}
|
|
1015
|
-
|
|
1016
|
-
declare class OAuthFlows extends OAuthFlowsElement {
|
|
1017
|
-
}
|
|
1018
|
-
|
|
1019
|
-
declare const BaseOAuthFlowsVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.OAuthFlowsVisitor;
|
|
1020
|
-
|
|
1021
|
-
declare class OAuthFlowsVisitor extends BaseOAuthFlowsVisitor {
|
|
1022
|
-
readonly element: OAuthFlows;
|
|
1023
|
-
constructor(options: OAuthFlowsVisitorOptions);
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
declare class OAuthFlow extends OAuthFlowElement {
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
declare const BaseOAuthFlowVisitor: typeof _swagger_api_apidom_ns_openapi_3_0.OAuthFlowVisitor;
|
|
1030
|
-
|
|
1031
|
-
declare class OAuthFlowVisitor extends BaseOAuthFlowVisitor {
|
|
1032
|
-
readonly element: OAuthFlow;
|
|
1033
|
-
constructor(options: OAuthFlowVisitorOptions);
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
declare class Webhooks extends ObjectElement {
|
|
1037
|
-
static primaryClass: string;
|
|
1038
|
-
constructor(content?: Record<string, unknown>, meta?: Meta, attributes?: Attributes);
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
interface WebhooksVisitorOptions extends MapVisitorOptions, FallbackVisitorOptions {
|
|
1042
|
-
}
|
|
1043
|
-
declare const WebhooksVisitor_base: ts_mixer_dist_types_types_js.Class<any[], MapVisitor & FallbackVisitor, typeof MapVisitor & typeof FallbackVisitor>;
|
|
1044
|
-
declare class WebhooksVisitor extends WebhooksVisitor_base {
|
|
1045
|
-
readonly element: Webhooks;
|
|
1046
|
-
protected readonly specPath: SpecPath<[
|
|
1047
|
-
'document',
|
|
1048
|
-
'objects',
|
|
1049
|
-
'Reference'
|
|
1050
|
-
] | ['document', 'objects', 'PathItem']>;
|
|
1051
|
-
constructor(options: WebhooksVisitorOptions);
|
|
1052
|
-
ObjectElement(objectElement: ObjectElement): {};
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
/**
|
|
1056
|
-
* Specification object allows us to have complete control over visitors
|
|
1057
|
-
* when traversing the ApiDOM.
|
|
1058
|
-
* Specification also allows us to create amended refractors from
|
|
1059
|
-
* existing ones by manipulating it.
|
|
1060
|
-
*
|
|
1061
|
-
* Note: Specification object allows to use absolute internal JSON pointers.
|
|
1062
|
-
*/
|
|
1063
|
-
declare const specification: {
|
|
1064
|
-
readonly visitors: {
|
|
1065
|
-
readonly value: typeof _swagger_api_apidom_ns_openapi_3_0.FallbackVisitor;
|
|
1066
|
-
readonly document: {
|
|
1067
|
-
readonly objects: {
|
|
1068
|
-
readonly OpenApi: {
|
|
1069
|
-
readonly $visitor: typeof OpenApi3_1Visitor;
|
|
1070
|
-
readonly fixedFields: {
|
|
1071
|
-
readonly openapi: typeof _swagger_api_apidom_ns_openapi_3_0.OpenapiVisitor;
|
|
1072
|
-
readonly info: {
|
|
1073
|
-
readonly $ref: "#/visitors/document/objects/Info";
|
|
1074
|
-
};
|
|
1075
|
-
readonly jsonSchemaDialect: typeof JsonSchemaDialectVisitor;
|
|
1076
|
-
readonly servers: typeof _swagger_api_apidom_ns_openapi_3_0.ServersVisitor;
|
|
1077
|
-
readonly paths: {
|
|
1078
|
-
readonly $ref: "#/visitors/document/objects/Paths";
|
|
1079
|
-
};
|
|
1080
|
-
readonly webhooks: typeof WebhooksVisitor;
|
|
1081
|
-
readonly components: {
|
|
1082
|
-
readonly $ref: "#/visitors/document/objects/Components";
|
|
1083
|
-
};
|
|
1084
|
-
readonly security: typeof _swagger_api_apidom_ns_openapi_3_0.SecurityVisitor;
|
|
1085
|
-
readonly tags: typeof _swagger_api_apidom_ns_openapi_3_0.TagsVisitor;
|
|
1086
|
-
readonly externalDocs: {
|
|
1087
|
-
readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
|
|
1088
|
-
};
|
|
1089
|
-
};
|
|
1090
|
-
};
|
|
1091
|
-
readonly Info: {
|
|
1092
|
-
readonly $visitor: typeof InfoVisitor;
|
|
1093
|
-
readonly fixedFields: {
|
|
1094
|
-
readonly title: {
|
|
1095
|
-
readonly $ref: "#/visitors/value";
|
|
1096
|
-
};
|
|
1097
|
-
readonly description: {
|
|
1098
|
-
readonly $ref: "#/visitors/value";
|
|
1099
|
-
};
|
|
1100
|
-
readonly summary: {
|
|
1101
|
-
readonly $ref: "#/visitors/value";
|
|
1102
|
-
};
|
|
1103
|
-
readonly termsOfService: {
|
|
1104
|
-
readonly $ref: "#/visitors/value";
|
|
1105
|
-
};
|
|
1106
|
-
readonly contact: {
|
|
1107
|
-
readonly $ref: "#/visitors/document/objects/Contact";
|
|
1108
|
-
};
|
|
1109
|
-
readonly license: {
|
|
1110
|
-
readonly $ref: "#/visitors/document/objects/License";
|
|
1111
|
-
};
|
|
1112
|
-
readonly version: typeof _swagger_api_apidom_ns_openapi_3_0.InfoVersionVisitor;
|
|
1113
|
-
};
|
|
1114
|
-
};
|
|
1115
|
-
readonly Contact: {
|
|
1116
|
-
readonly $visitor: typeof ContactVisitor;
|
|
1117
|
-
readonly fixedFields: {
|
|
1118
|
-
readonly name: {
|
|
1119
|
-
readonly $ref: "#/visitors/value";
|
|
1120
|
-
};
|
|
1121
|
-
readonly url: {
|
|
1122
|
-
readonly $ref: "#/visitors/value";
|
|
1123
|
-
};
|
|
1124
|
-
readonly email: {
|
|
1125
|
-
readonly $ref: "#/visitors/value";
|
|
1126
|
-
};
|
|
1127
|
-
};
|
|
1128
|
-
};
|
|
1129
|
-
readonly License: {
|
|
1130
|
-
readonly $visitor: typeof LicenseVisitor;
|
|
1131
|
-
readonly fixedFields: {
|
|
1132
|
-
readonly name: {
|
|
1133
|
-
readonly $ref: "#/visitors/value";
|
|
1134
|
-
};
|
|
1135
|
-
readonly identifier: {
|
|
1136
|
-
readonly $ref: "#/visitors/value";
|
|
1137
|
-
};
|
|
1138
|
-
readonly url: {
|
|
1139
|
-
readonly $ref: "#/visitors/value";
|
|
1140
|
-
};
|
|
1141
|
-
};
|
|
1142
|
-
};
|
|
1143
|
-
readonly Server: {
|
|
1144
|
-
readonly $visitor: typeof ServerVisitor;
|
|
1145
|
-
readonly fixedFields: {
|
|
1146
|
-
readonly url: typeof _swagger_api_apidom_ns_openapi_3_0.ServerVariableUrlVisitor;
|
|
1147
|
-
readonly description: {
|
|
1148
|
-
readonly $ref: "#/visitors/value";
|
|
1149
|
-
};
|
|
1150
|
-
readonly variables: typeof _swagger_api_apidom_ns_openapi_3_0.ServerVariableVariablesVisitor;
|
|
1151
|
-
};
|
|
1152
|
-
};
|
|
1153
|
-
readonly ServerVariable: {
|
|
1154
|
-
readonly $visitor: typeof ServerVariableVisitor;
|
|
1155
|
-
readonly fixedFields: {
|
|
1156
|
-
readonly enum: {
|
|
1157
|
-
readonly $ref: "#/visitors/value";
|
|
1158
|
-
};
|
|
1159
|
-
readonly default: {
|
|
1160
|
-
readonly $ref: "#/visitors/value";
|
|
1161
|
-
};
|
|
1162
|
-
readonly description: {
|
|
1163
|
-
readonly $ref: "#/visitors/value";
|
|
1164
|
-
};
|
|
1165
|
-
};
|
|
1166
|
-
};
|
|
1167
|
-
readonly Components: {
|
|
1168
|
-
readonly $visitor: typeof ComponentsVisitor;
|
|
1169
|
-
readonly fixedFields: {
|
|
1170
|
-
readonly schemas: typeof SchemasVisitor;
|
|
1171
|
-
readonly responses: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsResponsesVisitor;
|
|
1172
|
-
readonly parameters: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsParametersVisitor;
|
|
1173
|
-
readonly examples: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsExamplesVisitor;
|
|
1174
|
-
readonly requestBodies: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsRequestBodiesVisitor;
|
|
1175
|
-
readonly headers: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsHeadersVisitor;
|
|
1176
|
-
readonly securitySchemes: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsSecuritySchemesVisitor;
|
|
1177
|
-
readonly links: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsLinksVisitor;
|
|
1178
|
-
readonly callbacks: typeof _swagger_api_apidom_ns_openapi_3_0.ComponentsCallbacksVisitor;
|
|
1179
|
-
readonly pathItems: typeof PathItemsVisitor;
|
|
1180
|
-
};
|
|
1181
|
-
};
|
|
1182
|
-
readonly Paths: {
|
|
1183
|
-
readonly $visitor: typeof PathsVisitor;
|
|
1184
|
-
};
|
|
1185
|
-
readonly PathItem: {
|
|
1186
|
-
readonly $visitor: typeof PathItemVisitor;
|
|
1187
|
-
readonly fixedFields: {
|
|
1188
|
-
readonly $ref: typeof _swagger_api_apidom_ns_openapi_3_0.PathItem$RefVisitor;
|
|
1189
|
-
readonly summary: {
|
|
1190
|
-
readonly $ref: "#/visitors/value";
|
|
1191
|
-
};
|
|
1192
|
-
readonly description: {
|
|
1193
|
-
readonly $ref: "#/visitors/value";
|
|
1194
|
-
};
|
|
1195
|
-
readonly get: {
|
|
1196
|
-
readonly $ref: "#/visitors/document/objects/Operation";
|
|
1197
|
-
};
|
|
1198
|
-
readonly put: {
|
|
1199
|
-
readonly $ref: "#/visitors/document/objects/Operation";
|
|
1200
|
-
};
|
|
1201
|
-
readonly post: {
|
|
1202
|
-
readonly $ref: "#/visitors/document/objects/Operation";
|
|
1203
|
-
};
|
|
1204
|
-
readonly delete: {
|
|
1205
|
-
readonly $ref: "#/visitors/document/objects/Operation";
|
|
1206
|
-
};
|
|
1207
|
-
readonly options: {
|
|
1208
|
-
readonly $ref: "#/visitors/document/objects/Operation";
|
|
1209
|
-
};
|
|
1210
|
-
readonly head: {
|
|
1211
|
-
readonly $ref: "#/visitors/document/objects/Operation";
|
|
1212
|
-
};
|
|
1213
|
-
readonly patch: {
|
|
1214
|
-
readonly $ref: "#/visitors/document/objects/Operation";
|
|
1215
|
-
};
|
|
1216
|
-
readonly trace: {
|
|
1217
|
-
readonly $ref: "#/visitors/document/objects/Operation";
|
|
1218
|
-
};
|
|
1219
|
-
readonly servers: typeof _swagger_api_apidom_ns_openapi_3_0.PathItemServersVisitor;
|
|
1220
|
-
readonly parameters: typeof _swagger_api_apidom_ns_openapi_3_0.PathItemParametersVisitor;
|
|
1221
|
-
};
|
|
1222
|
-
};
|
|
1223
|
-
readonly Operation: {
|
|
1224
|
-
readonly $visitor: typeof OperationVisitor;
|
|
1225
|
-
readonly fixedFields: {
|
|
1226
|
-
readonly tags: typeof _swagger_api_apidom_ns_openapi_3_0.OperationTagsVisitor;
|
|
1227
|
-
readonly summary: {
|
|
1228
|
-
readonly $ref: "#/visitors/value";
|
|
1229
|
-
};
|
|
1230
|
-
readonly description: {
|
|
1231
|
-
readonly $ref: "#/visitors/value";
|
|
1232
|
-
};
|
|
1233
|
-
readonly externalDocs: {
|
|
1234
|
-
readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
|
|
1235
|
-
};
|
|
1236
|
-
readonly operationId: {
|
|
1237
|
-
readonly $ref: "#/visitors/value";
|
|
1238
|
-
};
|
|
1239
|
-
readonly parameters: typeof _swagger_api_apidom_ns_openapi_3_0.OperationParametersVisitor;
|
|
1240
|
-
readonly requestBody: typeof _swagger_api_apidom_ns_openapi_3_0.OperationRequestBodyVisitor;
|
|
1241
|
-
readonly responses: {
|
|
1242
|
-
readonly $ref: "#/visitors/document/objects/Responses";
|
|
1243
|
-
};
|
|
1244
|
-
readonly callbacks: typeof _swagger_api_apidom_ns_openapi_3_0.OperationCallbacksVisitor;
|
|
1245
|
-
readonly deprecated: {
|
|
1246
|
-
readonly $ref: "#/visitors/value";
|
|
1247
|
-
};
|
|
1248
|
-
readonly security: typeof _swagger_api_apidom_ns_openapi_3_0.OperationSecurityVisitor;
|
|
1249
|
-
readonly servers: typeof _swagger_api_apidom_ns_openapi_3_0.OperationServersVisitor;
|
|
1250
|
-
};
|
|
1251
|
-
};
|
|
1252
|
-
readonly ExternalDocumentation: {
|
|
1253
|
-
readonly $visitor: typeof ExternalDocumentationVisitor;
|
|
1254
|
-
readonly fixedFields: {
|
|
1255
|
-
readonly description: {
|
|
1256
|
-
readonly $ref: "#/visitors/value";
|
|
1257
|
-
};
|
|
1258
|
-
readonly url: {
|
|
1259
|
-
readonly $ref: "#/visitors/value";
|
|
1260
|
-
};
|
|
1261
|
-
};
|
|
1262
|
-
};
|
|
1263
|
-
readonly Parameter: {
|
|
1264
|
-
readonly $visitor: typeof ParameterVisitor;
|
|
1265
|
-
readonly fixedFields: {
|
|
1266
|
-
readonly name: {
|
|
1267
|
-
readonly $ref: "#/visitors/value";
|
|
1268
|
-
};
|
|
1269
|
-
readonly in: {
|
|
1270
|
-
readonly $ref: "#/visitors/value";
|
|
1271
|
-
};
|
|
1272
|
-
readonly description: {
|
|
1273
|
-
readonly $ref: "#/visitors/value";
|
|
1274
|
-
};
|
|
1275
|
-
readonly required: {
|
|
1276
|
-
readonly $ref: "#/visitors/value";
|
|
1277
|
-
};
|
|
1278
|
-
readonly deprecated: {
|
|
1279
|
-
readonly $ref: "#/visitors/value";
|
|
1280
|
-
};
|
|
1281
|
-
readonly allowEmptyValue: {
|
|
1282
|
-
readonly $ref: "#/visitors/value";
|
|
1283
|
-
};
|
|
1284
|
-
readonly style: {
|
|
1285
|
-
readonly $ref: "#/visitors/value";
|
|
1286
|
-
};
|
|
1287
|
-
readonly explode: {
|
|
1288
|
-
readonly $ref: "#/visitors/value";
|
|
1289
|
-
};
|
|
1290
|
-
readonly allowReserved: {
|
|
1291
|
-
readonly $ref: "#/visitors/value";
|
|
1292
|
-
};
|
|
1293
|
-
readonly schema: {
|
|
1294
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1295
|
-
};
|
|
1296
|
-
readonly example: {
|
|
1297
|
-
readonly $ref: "#/visitors/value";
|
|
1298
|
-
};
|
|
1299
|
-
readonly examples: typeof _swagger_api_apidom_ns_openapi_3_0.ParameterExampleVisitor;
|
|
1300
|
-
readonly content: typeof _swagger_api_apidom_ns_openapi_3_0.ParameterContentVisitor;
|
|
1301
|
-
};
|
|
1302
|
-
};
|
|
1303
|
-
readonly RequestBody: {
|
|
1304
|
-
readonly $visitor: typeof RequestBodyVisitor;
|
|
1305
|
-
readonly fixedFields: {
|
|
1306
|
-
readonly description: {
|
|
1307
|
-
readonly $ref: "#/visitors/value";
|
|
1308
|
-
};
|
|
1309
|
-
readonly content: typeof _swagger_api_apidom_ns_openapi_3_0.RequestBodyContentVisitor;
|
|
1310
|
-
readonly required: {
|
|
1311
|
-
readonly $ref: "#/visitors/value";
|
|
1312
|
-
};
|
|
1313
|
-
};
|
|
1314
|
-
};
|
|
1315
|
-
readonly MediaType: {
|
|
1316
|
-
readonly $visitor: typeof MediaTypeVisitor;
|
|
1317
|
-
readonly fixedFields: {
|
|
1318
|
-
readonly schema: {
|
|
1319
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1320
|
-
};
|
|
1321
|
-
readonly example: {
|
|
1322
|
-
readonly $ref: "#/visitors/value";
|
|
1323
|
-
};
|
|
1324
|
-
readonly examples: typeof _swagger_api_apidom_ns_openapi_3_0.MediaTypeExamplesVisitor;
|
|
1325
|
-
readonly encoding: typeof _swagger_api_apidom_ns_openapi_3_0.MediaTypeEncodingVisitor;
|
|
1326
|
-
};
|
|
1327
|
-
};
|
|
1328
|
-
readonly Encoding: {
|
|
1329
|
-
readonly $visitor: typeof EncodingVisitor;
|
|
1330
|
-
readonly fixedFields: {
|
|
1331
|
-
readonly contentType: {
|
|
1332
|
-
readonly $ref: "#/visitors/value";
|
|
1333
|
-
};
|
|
1334
|
-
readonly headers: typeof _swagger_api_apidom_ns_openapi_3_0.EncodingHeadersVisitor;
|
|
1335
|
-
readonly style: {
|
|
1336
|
-
readonly $ref: "#/visitors/value";
|
|
1337
|
-
};
|
|
1338
|
-
readonly explode: {
|
|
1339
|
-
readonly $ref: "#/visitors/value";
|
|
1340
|
-
};
|
|
1341
|
-
readonly allowReserved: {
|
|
1342
|
-
readonly $ref: "#/visitors/value";
|
|
1343
|
-
};
|
|
1344
|
-
};
|
|
1345
|
-
};
|
|
1346
|
-
readonly Responses: {
|
|
1347
|
-
readonly $visitor: typeof ResponsesVisitor;
|
|
1348
|
-
readonly fixedFields: {
|
|
1349
|
-
readonly default: typeof _swagger_api_apidom_ns_openapi_3_0.ResponsesDefaultVisitor;
|
|
1350
|
-
};
|
|
1351
|
-
};
|
|
1352
|
-
readonly Response: {
|
|
1353
|
-
readonly $visitor: typeof ResponseVisitor;
|
|
1354
|
-
readonly fixedFields: {
|
|
1355
|
-
readonly description: {
|
|
1356
|
-
readonly $ref: "#/visitors/value";
|
|
1357
|
-
};
|
|
1358
|
-
readonly headers: typeof _swagger_api_apidom_ns_openapi_3_0.ResponseHeadersVisitor;
|
|
1359
|
-
readonly content: typeof _swagger_api_apidom_ns_openapi_3_0.ResponseContentVisitor;
|
|
1360
|
-
readonly links: typeof _swagger_api_apidom_ns_openapi_3_0.ResponseLinksVisitor;
|
|
1361
|
-
};
|
|
1362
|
-
};
|
|
1363
|
-
readonly Callback: {
|
|
1364
|
-
readonly $visitor: typeof CallbackVisitor;
|
|
1365
|
-
};
|
|
1366
|
-
readonly Example: {
|
|
1367
|
-
readonly $visitor: typeof ExampleVisitor;
|
|
1368
|
-
readonly fixedFields: {
|
|
1369
|
-
readonly summary: {
|
|
1370
|
-
readonly $ref: "#/visitors/value";
|
|
1371
|
-
};
|
|
1372
|
-
readonly description: {
|
|
1373
|
-
readonly $ref: "#/visitors/value";
|
|
1374
|
-
};
|
|
1375
|
-
readonly value: {
|
|
1376
|
-
readonly $ref: "#/visitors/value";
|
|
1377
|
-
};
|
|
1378
|
-
readonly externalValue: typeof _swagger_api_apidom_ns_openapi_3_0.ExampleExternalValueVisitor;
|
|
1379
|
-
};
|
|
1380
|
-
};
|
|
1381
|
-
readonly Link: {
|
|
1382
|
-
readonly $visitor: typeof LinkVisitor;
|
|
1383
|
-
readonly fixedFields: {
|
|
1384
|
-
readonly operationRef: typeof _swagger_api_apidom_ns_openapi_3_0.LinkOperationRefVisitor;
|
|
1385
|
-
readonly operationId: typeof _swagger_api_apidom_ns_openapi_3_0.LinkOperationIdVisitor;
|
|
1386
|
-
readonly parameters: typeof _swagger_api_apidom_ns_openapi_3_0.LinkParametersVisitor;
|
|
1387
|
-
readonly requestBody: {
|
|
1388
|
-
readonly $ref: "#/visitors/value";
|
|
1389
|
-
};
|
|
1390
|
-
readonly description: {
|
|
1391
|
-
readonly $ref: "#/visitors/value";
|
|
1392
|
-
};
|
|
1393
|
-
readonly server: {
|
|
1394
|
-
readonly $ref: "#/visitors/document/objects/Server";
|
|
1395
|
-
};
|
|
1396
|
-
};
|
|
1397
|
-
};
|
|
1398
|
-
readonly Header: {
|
|
1399
|
-
readonly $visitor: typeof HeaderVisitor;
|
|
1400
|
-
readonly fixedFields: {
|
|
1401
|
-
readonly description: {
|
|
1402
|
-
readonly $ref: "#/visitors/value";
|
|
1403
|
-
};
|
|
1404
|
-
readonly required: {
|
|
1405
|
-
readonly $ref: "#/visitors/value";
|
|
1406
|
-
};
|
|
1407
|
-
readonly deprecated: {
|
|
1408
|
-
readonly $ref: "#/visitors/value";
|
|
1409
|
-
};
|
|
1410
|
-
readonly allowEmptyValue: {
|
|
1411
|
-
readonly $ref: "#/visitors/value";
|
|
1412
|
-
};
|
|
1413
|
-
readonly style: {
|
|
1414
|
-
readonly $ref: "#/visitors/value";
|
|
1415
|
-
};
|
|
1416
|
-
readonly explode: {
|
|
1417
|
-
readonly $ref: "#/visitors/value";
|
|
1418
|
-
};
|
|
1419
|
-
readonly allowReserved: {
|
|
1420
|
-
readonly $ref: "#/visitors/value";
|
|
1421
|
-
};
|
|
1422
|
-
readonly schema: {
|
|
1423
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1424
|
-
};
|
|
1425
|
-
readonly example: {
|
|
1426
|
-
readonly $ref: "#/visitors/value";
|
|
1427
|
-
};
|
|
1428
|
-
readonly examples: typeof _swagger_api_apidom_ns_openapi_3_0.HeaderExamplesVisitor;
|
|
1429
|
-
readonly content: typeof _swagger_api_apidom_ns_openapi_3_0.HeaderContentVisitor;
|
|
1430
|
-
};
|
|
1431
|
-
};
|
|
1432
|
-
readonly Tag: {
|
|
1433
|
-
readonly $visitor: typeof TagVisitor;
|
|
1434
|
-
readonly fixedFields: {
|
|
1435
|
-
readonly name: {
|
|
1436
|
-
readonly $ref: "#/visitors/value";
|
|
1437
|
-
};
|
|
1438
|
-
readonly description: {
|
|
1439
|
-
readonly $ref: "#/visitors/value";
|
|
1440
|
-
};
|
|
1441
|
-
readonly externalDocs: {
|
|
1442
|
-
readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
|
|
1443
|
-
};
|
|
1444
|
-
};
|
|
1445
|
-
};
|
|
1446
|
-
readonly Reference: {
|
|
1447
|
-
readonly $visitor: typeof ReferenceVisitor;
|
|
1448
|
-
readonly fixedFields: {
|
|
1449
|
-
readonly $ref: typeof _swagger_api_apidom_ns_openapi_3_0.Reference$RefVisitor;
|
|
1450
|
-
readonly summary: {
|
|
1451
|
-
readonly $ref: "#/visitors/value";
|
|
1452
|
-
};
|
|
1453
|
-
readonly description: {
|
|
1454
|
-
readonly $ref: "#/visitors/value";
|
|
1455
|
-
};
|
|
1456
|
-
};
|
|
1457
|
-
};
|
|
1458
|
-
readonly Schema: {
|
|
1459
|
-
readonly $visitor: typeof SchemaVisitor;
|
|
1460
|
-
readonly fixedFields: {
|
|
1461
|
-
readonly $schema: {
|
|
1462
|
-
readonly $ref: "#/visitors/value";
|
|
1463
|
-
};
|
|
1464
|
-
readonly $vocabulary: typeof $vocabularyVisitor;
|
|
1465
|
-
readonly $id: {
|
|
1466
|
-
readonly $ref: "#/visitors/value";
|
|
1467
|
-
};
|
|
1468
|
-
readonly $anchor: {
|
|
1469
|
-
readonly $ref: "#/visitors/value";
|
|
1470
|
-
};
|
|
1471
|
-
readonly $dynamicAnchor: {
|
|
1472
|
-
readonly $ref: "#/visitors/value";
|
|
1473
|
-
};
|
|
1474
|
-
readonly $dynamicRef: {
|
|
1475
|
-
readonly $ref: "#/visitors/value";
|
|
1476
|
-
};
|
|
1477
|
-
readonly $ref: typeof $refVisitor;
|
|
1478
|
-
readonly $defs: typeof $defsVisitor;
|
|
1479
|
-
readonly $comment: {
|
|
1480
|
-
readonly $ref: "#/visitors/value";
|
|
1481
|
-
};
|
|
1482
|
-
readonly allOf: typeof AllOfVisitor;
|
|
1483
|
-
readonly anyOf: typeof AnyOfVisitor;
|
|
1484
|
-
readonly oneOf: typeof OneOfVisitor;
|
|
1485
|
-
readonly not: {
|
|
1486
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1487
|
-
};
|
|
1488
|
-
readonly if: {
|
|
1489
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1490
|
-
};
|
|
1491
|
-
readonly then: {
|
|
1492
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1493
|
-
};
|
|
1494
|
-
readonly else: {
|
|
1495
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1496
|
-
};
|
|
1497
|
-
readonly dependentSchemas: typeof DependentSchemasVisitor;
|
|
1498
|
-
readonly prefixItems: typeof PrefixItemsVisitor;
|
|
1499
|
-
readonly items: {
|
|
1500
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1501
|
-
};
|
|
1502
|
-
readonly contains: {
|
|
1503
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1504
|
-
};
|
|
1505
|
-
readonly properties: typeof PropertiesVisitor;
|
|
1506
|
-
readonly patternProperties: typeof PatternPropertiesVisitor;
|
|
1507
|
-
readonly additionalProperties: {
|
|
1508
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1509
|
-
};
|
|
1510
|
-
readonly propertyNames: {
|
|
1511
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1512
|
-
};
|
|
1513
|
-
readonly unevaluatedItems: {
|
|
1514
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1515
|
-
};
|
|
1516
|
-
readonly unevaluatedProperties: {
|
|
1517
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1518
|
-
};
|
|
1519
|
-
readonly type: typeof TypeVisitor;
|
|
1520
|
-
readonly enum: typeof EnumVisitor;
|
|
1521
|
-
readonly const: {
|
|
1522
|
-
readonly $ref: "#/visitors/value";
|
|
1523
|
-
};
|
|
1524
|
-
readonly multipleOf: {
|
|
1525
|
-
readonly $ref: "#/visitors/value";
|
|
1526
|
-
};
|
|
1527
|
-
readonly maximum: {
|
|
1528
|
-
readonly $ref: "#/visitors/value";
|
|
1529
|
-
};
|
|
1530
|
-
readonly exclusiveMaximum: {
|
|
1531
|
-
readonly $ref: "#/visitors/value";
|
|
1532
|
-
};
|
|
1533
|
-
readonly minimum: {
|
|
1534
|
-
readonly $ref: "#/visitors/value";
|
|
1535
|
-
};
|
|
1536
|
-
readonly exclusiveMinimum: {
|
|
1537
|
-
readonly $ref: "#/visitors/value";
|
|
1538
|
-
};
|
|
1539
|
-
readonly maxLength: {
|
|
1540
|
-
readonly $ref: "#/visitors/value";
|
|
1541
|
-
};
|
|
1542
|
-
readonly minLength: {
|
|
1543
|
-
readonly $ref: "#/visitors/value";
|
|
1544
|
-
};
|
|
1545
|
-
readonly pattern: {
|
|
1546
|
-
readonly $ref: "#/visitors/value";
|
|
1547
|
-
};
|
|
1548
|
-
readonly maxItems: {
|
|
1549
|
-
readonly $ref: "#/visitors/value";
|
|
1550
|
-
};
|
|
1551
|
-
readonly minItems: {
|
|
1552
|
-
readonly $ref: "#/visitors/value";
|
|
1553
|
-
};
|
|
1554
|
-
readonly uniqueItems: {
|
|
1555
|
-
readonly $ref: "#/visitors/value";
|
|
1556
|
-
};
|
|
1557
|
-
readonly maxContains: {
|
|
1558
|
-
readonly $ref: "#/visitors/value";
|
|
1559
|
-
};
|
|
1560
|
-
readonly minContains: {
|
|
1561
|
-
readonly $ref: "#/visitors/value";
|
|
1562
|
-
};
|
|
1563
|
-
readonly maxProperties: {
|
|
1564
|
-
readonly $ref: "#/visitors/value";
|
|
1565
|
-
};
|
|
1566
|
-
readonly minProperties: {
|
|
1567
|
-
readonly $ref: "#/visitors/value";
|
|
1568
|
-
};
|
|
1569
|
-
readonly required: {
|
|
1570
|
-
readonly $ref: "#/visitors/value";
|
|
1571
|
-
};
|
|
1572
|
-
readonly dependentRequired: typeof DependentRequiredVisitor;
|
|
1573
|
-
readonly title: {
|
|
1574
|
-
readonly $ref: "#/visitors/value";
|
|
1575
|
-
};
|
|
1576
|
-
readonly description: {
|
|
1577
|
-
readonly $ref: "#/visitors/value";
|
|
1578
|
-
};
|
|
1579
|
-
readonly default: {
|
|
1580
|
-
readonly $ref: "#/visitors/value";
|
|
1581
|
-
};
|
|
1582
|
-
readonly deprecated: {
|
|
1583
|
-
readonly $ref: "#/visitors/value";
|
|
1584
|
-
};
|
|
1585
|
-
readonly readOnly: {
|
|
1586
|
-
readonly $ref: "#/visitors/value";
|
|
1587
|
-
};
|
|
1588
|
-
readonly writeOnly: {
|
|
1589
|
-
readonly $ref: "#/visitors/value";
|
|
1590
|
-
};
|
|
1591
|
-
readonly examples: typeof ExamplesVisitor;
|
|
1592
|
-
readonly format: {
|
|
1593
|
-
readonly $ref: "#/visitors/value";
|
|
1594
|
-
};
|
|
1595
|
-
readonly contentEncoding: {
|
|
1596
|
-
readonly $ref: "#/visitors/value";
|
|
1597
|
-
};
|
|
1598
|
-
readonly contentMediaType: {
|
|
1599
|
-
readonly $ref: "#/visitors/value";
|
|
1600
|
-
};
|
|
1601
|
-
readonly contentSchema: {
|
|
1602
|
-
readonly $ref: "#/visitors/document/objects/Schema";
|
|
1603
|
-
};
|
|
1604
|
-
readonly discriminator: {
|
|
1605
|
-
readonly $ref: "#/visitors/document/objects/Discriminator";
|
|
1606
|
-
};
|
|
1607
|
-
readonly xml: {
|
|
1608
|
-
readonly $ref: "#/visitors/document/objects/XML";
|
|
1609
|
-
};
|
|
1610
|
-
readonly externalDocs: {
|
|
1611
|
-
readonly $ref: "#/visitors/document/objects/ExternalDocumentation";
|
|
1612
|
-
};
|
|
1613
|
-
readonly example: {
|
|
1614
|
-
readonly $ref: "#/visitors/value";
|
|
1615
|
-
};
|
|
1616
|
-
};
|
|
1617
|
-
};
|
|
1618
|
-
readonly Discriminator: {
|
|
1619
|
-
readonly $visitor: typeof DiscriminatorVisitor;
|
|
1620
|
-
readonly fixedFields: {
|
|
1621
|
-
readonly propertyName: {
|
|
1622
|
-
readonly $ref: "#/visitors/value";
|
|
1623
|
-
};
|
|
1624
|
-
readonly mapping: typeof _swagger_api_apidom_ns_openapi_3_0.DiscriminatorMappingVisitor;
|
|
1625
|
-
};
|
|
1626
|
-
};
|
|
1627
|
-
readonly XML: {
|
|
1628
|
-
readonly $visitor: typeof XmlVisitor;
|
|
1629
|
-
readonly fixedFields: {
|
|
1630
|
-
readonly name: {
|
|
1631
|
-
readonly $ref: "#/visitors/value";
|
|
1632
|
-
};
|
|
1633
|
-
readonly namespace: {
|
|
1634
|
-
readonly $ref: "#/visitors/value";
|
|
1635
|
-
};
|
|
1636
|
-
readonly prefix: {
|
|
1637
|
-
readonly $ref: "#/visitors/value";
|
|
1638
|
-
};
|
|
1639
|
-
readonly attribute: {
|
|
1640
|
-
readonly $ref: "#/visitors/value";
|
|
1641
|
-
};
|
|
1642
|
-
readonly wrapped: {
|
|
1643
|
-
readonly $ref: "#/visitors/value";
|
|
1644
|
-
};
|
|
1645
|
-
};
|
|
1646
|
-
};
|
|
1647
|
-
readonly SecurityScheme: {
|
|
1648
|
-
readonly $visitor: typeof SecuritySchemeVisitor;
|
|
1649
|
-
readonly fixedFields: {
|
|
1650
|
-
readonly type: {
|
|
1651
|
-
readonly $ref: "#/visitors/value";
|
|
1652
|
-
};
|
|
1653
|
-
readonly description: {
|
|
1654
|
-
readonly $ref: "#/visitors/value";
|
|
1655
|
-
};
|
|
1656
|
-
readonly name: {
|
|
1657
|
-
readonly $ref: "#/visitors/value";
|
|
1658
|
-
};
|
|
1659
|
-
readonly in: {
|
|
1660
|
-
readonly $ref: "#/visitors/value";
|
|
1661
|
-
};
|
|
1662
|
-
readonly scheme: {
|
|
1663
|
-
readonly $ref: "#/visitors/value";
|
|
1664
|
-
};
|
|
1665
|
-
readonly bearerFormat: {
|
|
1666
|
-
readonly $ref: "#/visitors/value";
|
|
1667
|
-
};
|
|
1668
|
-
readonly flows: {
|
|
1669
|
-
readonly $ref: "#/visitors/document/objects/OAuthFlows";
|
|
1670
|
-
};
|
|
1671
|
-
readonly openIdConnectUrl: {
|
|
1672
|
-
readonly $ref: "#/visitors/value";
|
|
1673
|
-
};
|
|
1674
|
-
};
|
|
1675
|
-
};
|
|
1676
|
-
readonly OAuthFlows: {
|
|
1677
|
-
readonly $visitor: typeof OAuthFlowsVisitor;
|
|
1678
|
-
readonly fixedFields: {
|
|
1679
|
-
readonly implicit: {
|
|
1680
|
-
readonly $ref: "#/visitors/document/objects/OAuthFlow";
|
|
1681
|
-
};
|
|
1682
|
-
readonly password: {
|
|
1683
|
-
readonly $ref: "#/visitors/document/objects/OAuthFlow";
|
|
1684
|
-
};
|
|
1685
|
-
readonly clientCredentials: {
|
|
1686
|
-
readonly $ref: "#/visitors/document/objects/OAuthFlow";
|
|
1687
|
-
};
|
|
1688
|
-
readonly authorizationCode: {
|
|
1689
|
-
readonly $ref: "#/visitors/document/objects/OAuthFlow";
|
|
1690
|
-
};
|
|
1691
|
-
};
|
|
1692
|
-
};
|
|
1693
|
-
readonly OAuthFlow: {
|
|
1694
|
-
readonly $visitor: typeof OAuthFlowVisitor;
|
|
1695
|
-
readonly fixedFields: {
|
|
1696
|
-
readonly authorizationUrl: {
|
|
1697
|
-
readonly $ref: "#/visitors/value";
|
|
1698
|
-
};
|
|
1699
|
-
readonly tokenUrl: {
|
|
1700
|
-
readonly $ref: "#/visitors/value";
|
|
1701
|
-
};
|
|
1702
|
-
readonly refreshUrl: {
|
|
1703
|
-
readonly $ref: "#/visitors/value";
|
|
1704
|
-
};
|
|
1705
|
-
readonly scopes: typeof _swagger_api_apidom_ns_openapi_3_0.OAuthFlowScopesVisitor;
|
|
1706
|
-
};
|
|
1707
|
-
};
|
|
1708
|
-
readonly SecurityRequirement: {
|
|
1709
|
-
readonly $visitor: typeof SecurityRequirementVisitor;
|
|
1710
|
-
};
|
|
1711
|
-
};
|
|
1712
|
-
readonly extension: {
|
|
1713
|
-
readonly $visitor: typeof _swagger_api_apidom_ns_openapi_3_0.SpecificationExtensionVisitor;
|
|
1714
|
-
};
|
|
1715
|
-
};
|
|
1716
|
-
};
|
|
1717
|
-
};
|
|
1718
|
-
|
|
1719
|
-
declare class RequiredVisitor extends FallbackVisitor {
|
|
1720
|
-
readonly element: ArrayElement;
|
|
1721
|
-
ArrayElement(arrayElement: ArrayElement): {};
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
declare const getNodeType: <T extends Element>(element: T) => string | undefined;
|
|
1725
|
-
/**
|
|
1726
|
-
* There are unfortunately two `LinkElement` types. One is from base namespace
|
|
1727
|
-
* and the other one if from this namespace. `LinkElement` from base namespace
|
|
1728
|
-
* is used extremely rarely so it's almost always safe during traversing
|
|
1729
|
-
* to assume that `LinkElement` is element from this namespace.
|
|
1730
|
-
*
|
|
1731
|
-
* To be 100% sure that currently visiting `LinkElement` is from this namespace
|
|
1732
|
-
* use `isLinkElement` predicate from this namespace to assert for it.
|
|
1733
|
-
*/
|
|
1734
|
-
declare const keyMap: {
|
|
1735
|
-
ObjectElement: string[];
|
|
1736
|
-
ArrayElement: string[];
|
|
1737
|
-
MemberElement: string[];
|
|
1738
|
-
StringElement: never[];
|
|
1739
|
-
BooleanElement: never[];
|
|
1740
|
-
NumberElement: never[];
|
|
1741
|
-
NullElement: never[];
|
|
1742
|
-
RefElement: never[];
|
|
1743
|
-
LinkElement: never[];
|
|
1744
|
-
Annotation: never[];
|
|
1745
|
-
Comment: never[];
|
|
1746
|
-
ParseResultElement: string[];
|
|
1747
|
-
SourceMap: string[];
|
|
1748
|
-
CallbackElement: string[];
|
|
1749
|
-
ComponentsElement: string[];
|
|
1750
|
-
ContactElement: string[];
|
|
1751
|
-
DiscriminatorElement: string[];
|
|
1752
|
-
Encoding: string[];
|
|
1753
|
-
Example: string[];
|
|
1754
|
-
ExternalDocumentationElement: string[];
|
|
1755
|
-
HeaderElement: string[];
|
|
1756
|
-
InfoElement: string[];
|
|
1757
|
-
LicenseElement: string[];
|
|
1758
|
-
MediaTypeElement: string[];
|
|
1759
|
-
OAuthFlowElement: string[];
|
|
1760
|
-
OAuthFlowsElement: string[];
|
|
1761
|
-
OpenApi3_1Element: string[];
|
|
1762
|
-
OperationElement: string[];
|
|
1763
|
-
ParameterElement: string[];
|
|
1764
|
-
PathItemElement: string[];
|
|
1765
|
-
PathsElement: string[];
|
|
1766
|
-
ReferenceElement: string[];
|
|
1767
|
-
RequestBodyElement: string[];
|
|
1768
|
-
ResponseElement: string[];
|
|
1769
|
-
ResponsesElement: string[];
|
|
1770
|
-
SchemaElement: string[];
|
|
1771
|
-
SecurityRequirementElement: string[];
|
|
1772
|
-
SecuritySchemeElement: string[];
|
|
1773
|
-
ServerElement: string[];
|
|
1774
|
-
ServerVariableElement: string[];
|
|
1775
|
-
TagElement: string[];
|
|
1776
|
-
};
|
|
1777
|
-
|
|
1778
|
-
export { Callback as CallbackElement, CallbackVisitor, Components as ComponentsElement, ComponentsPathItems as ComponentsPathItemsElement, PathItemsVisitor as ComponentsPathItemsVisitor, type PathItemsVisitorOptions as ComponentsPathItemsVisitorOptions, SchemasVisitor as ComponentsSchemasVisitor, type SchemasVisitorOptions as ComponentsSchemasVisitorOptions, ComponentsVisitor, Contact as ContactElement, ContactVisitor, Discriminator as DiscriminatorElement, DiscriminatorVisitor, Encoding as EncodingElement, EncodingVisitor, Example as ExampleElement, ExampleVisitor, ExternalDocumentation as ExternalDocumentationElement, ExternalDocumentationVisitor, Header as HeaderElement, HeaderVisitor, Info as InfoElement, InfoVisitor, JsonSchemaDialect as JsonSchemaDialectElement, JsonSchemaDialectVisitor, type JsonSchemaDialectVisitorOptions, License as LicenseElement, LicenseVisitor, Link as LinkElement, LinkVisitor, MediaType as MediaTypeElement, MediaTypeVisitor, OAuthFlow as OAuthFlowElement, OAuthFlowVisitor, OAuthFlows as OAuthFlowsElement, OAuthFlowsVisitor, OpenAPIMediaTypes, OpenApi3_1 as OpenApi3_1Element, OpenApi3_1Visitor, type OpenApi3_1VisitorOptions, Openapi as OpenapiElement, Operation as OperationElement, OperationVisitor, Parameter as ParameterElement, ParameterVisitor, PathItem as PathItemElement, PathItemVisitor, Paths as PathsElement, PathsVisitor, Reference as ReferenceElement, ReferenceVisitor, RequestBody as RequestBodyElement, RequestBodyVisitor, Response as ResponseElement, ResponseVisitor, Responses as ResponsesElement, ResponsesVisitor, $defsVisitor as Schema$defsVisitor, type $defsVisitorOptions as Schema$defsVisitorOptions, $refVisitor as Schema$refVisitor, $vocabularyVisitor as Schema$vocabularyVisitor, AllOfVisitor as SchemaAllOfVisitor, type AllOfVisitorOptions as SchemaAllOfVisitorOptions, AnyOfVisitor as SchemaAnyOfVisitor, type AnyOfVisitorOptions as SchemaAnyOfVisitorOptions, DependentRequiredVisitor as SchemaDependentRequiredVisitor, DependentSchemasVisitor as SchemaDependentSchemasVisitor, type DependentSchemasVisitorOptions as SchemaDependentSchemasVisitorOptions, Schema as SchemaElement, EnumVisitor as SchemaEnumVisitor, ExamplesVisitor as SchemaExamplesVisitor, OneOfVisitor as SchemaOneOfVisitor, type OneOfVisitorOptions as SchemaOneOfVisitorOptions, PatternPropertiesVisitor as SchemaPatternPropertiesVisitor, type PatternPropertiesVisitorOptions as SchemaPatternPropertiesVisitorOptions, PrefixItemsVisitor as SchemaPrefixItemsVisitor, type PrefixItemsVisitorOptions as SchemaPrefixItemsVisitorOptions, PropertiesVisitor as SchemaPropertiesVisitor, type PropertiesVisitorOptions as SchemaPropertiesVisitorOptions, RequiredVisitor as SchemaRequiredVisitor, TypeVisitor as SchemaTypeVisitor, SchemaVisitor, type SchemaVisitorOptions, SecurityRequirement as SecurityRequirementElement, SecurityRequirementVisitor, SecurityScheme as SecuritySchemeElement, SecuritySchemeVisitor, Server as ServerElement, ServerVariable as ServerVariableElement, ServerVariableVisitor, ServerVisitor, Tag as TagElement, TagVisitor, type Predicates as ToolboxPredicates, Webhooks as WebhooksElement, WebhooksVisitor, type WebhooksVisitorOptions, Xml as XmlElement, XmlVisitor, createToolbox, openApi3_1 as default, getNodeType, isBooleanJsonSchemaElement, isCallbackElement, isComponentsElement, isContactElement, isExampleElement, isExternalDocumentationElement, isInfoElement, isJsonSchemaDialectElement, isLicenseElement, isLinkElement, isMediaTypeElement, isOpenApi3_1Element, isOpenapiElement, isOperationElement, isParameterElement, isPathItemElement, isPathItemElementExternal, isPathsElement, isReferenceElement, isReferenceElementExternal, isRequestBodyElement, isResponseElement, isResponsesElement, isSchemaElement, isSecurityRequirementElement, isSecuritySchemeElement, isServerElement, isServerVariableElement, keyMap, mediaTypes, plugin as refractorPluginNormalizeHeaderExamples, plugin$2 as refractorPluginNormalizeOperationIds, plugin$1 as refractorPluginNormalizeParameterExamples, plugin$5 as refractorPluginNormalizeParameters, plugin$4 as refractorPluginNormalizeSecurityRequirements, plugin$3 as refractorPluginNormalizeServers, plugin$6 as refractorPluginReplaceEmptyElement, specification as specificationObj };
|