@skmtc/core 0.0.983 → 0.16.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -32
- package/esm/_dnt.polyfills.d.ts +7 -0
- package/esm/_dnt.polyfills.d.ts.map +1 -0
- package/esm/anchors/CaptureSink.d.ts +83 -0
- package/esm/anchors/CaptureSink.d.ts.map +1 -0
- package/esm/anchors/CaptureSink.js +188 -0
- package/esm/anchors/ParserAdapter.d.ts +76 -0
- package/esm/anchors/ParserAdapter.d.ts.map +1 -0
- package/esm/anchors/ParserAdapter.js +19 -0
- package/esm/anchors/attribute.d.ts +25 -0
- package/esm/anchors/attribute.d.ts.map +1 -0
- package/esm/anchors/attribute.js +84 -0
- package/esm/anchors/buildSidecar.d.ts +54 -0
- package/esm/anchors/buildSidecar.d.ts.map +1 -0
- package/esm/anchors/buildSidecar.js +104 -0
- package/esm/anchors/generationMap.d.ts +67 -0
- package/esm/anchors/generationMap.d.ts.map +1 -0
- package/esm/anchors/generationMap.js +97 -0
- package/esm/anchors/postPass.d.ts +87 -0
- package/esm/anchors/postPass.d.ts.map +1 -0
- package/esm/anchors/postPass.js +77 -0
- package/esm/anchors/sidecar.d.ts +89 -0
- package/esm/anchors/sidecar.d.ts.map +1 -0
- package/esm/anchors/sidecar.js +99 -0
- package/esm/anchors/types.d.ts +51 -0
- package/esm/anchors/types.d.ts.map +1 -0
- package/esm/anchors/types.js +9 -0
- package/esm/app/validate.d.ts +1 -0
- package/esm/app/validate.d.ts.map +1 -1
- package/esm/app/validate.js +1 -0
- package/esm/context/CoreContext.d.ts +75 -39
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/CoreContext.js +184 -53
- package/esm/context/GenerateContext.d.ts +154 -115
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +884 -255
- package/esm/context/ParseContext.d.ts +165 -107
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/ParseContext.js +399 -116
- package/esm/context/ParseIssue.d.ts +80 -0
- package/esm/context/ParseIssue.d.ts.map +1 -0
- package/esm/context/ParseIssue.js +33 -0
- package/esm/context/RenderContext.d.ts +46 -24
- package/esm/context/RenderContext.d.ts.map +1 -1
- package/esm/context/RenderContext.js +140 -37
- package/esm/context/StackTrail.d.ts +68 -0
- package/esm/context/StackTrail.d.ts.map +1 -1
- package/esm/context/StackTrail.js +84 -0
- package/esm/context/generateTypes.d.ts +253 -70
- package/esm/context/generateTypes.d.ts.map +1 -1
- package/esm/context/generateTypes.js +33 -1
- package/esm/context/parseTypes.d.ts +148 -49
- package/esm/context/parseTypes.d.ts.map +1 -1
- package/esm/context/parseTypes.js +17 -0
- package/esm/context/tryParseAt.d.ts +70 -0
- package/esm/context/tryParseAt.d.ts.map +1 -0
- package/esm/context/tryParseAt.js +53 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.10/colors.js +903 -0
- package/esm/deps/jsr.io/@std/fs/1.0.23/exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/1.0.23/exists.js +271 -0
- package/esm/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.13/_os.js +12 -0
- package/esm/deps/jsr.io/@std/internal/1.0.13/os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/internal/1.0.13/os.js +5 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/types.js +15 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.js +61 -0
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
- package/esm/dsl/CodeFileBase.d.ts +38 -0
- package/esm/dsl/CodeFileBase.d.ts.map +1 -0
- package/esm/dsl/CodeFileBase.js +60 -0
- package/esm/dsl/ContentSettings.d.ts +44 -20
- package/esm/dsl/ContentSettings.d.ts.map +1 -1
- package/esm/dsl/ContentSettings.js +35 -17
- package/esm/dsl/CustomValue.d.ts +3 -2
- package/esm/dsl/CustomValue.d.ts.map +1 -1
- package/esm/dsl/CustomValue.js +3 -2
- package/esm/dsl/Definition.d.ts +32 -200
- package/esm/dsl/Definition.d.ts.map +1 -1
- package/esm/dsl/Definition.js +16 -212
- package/esm/dsl/FileBase.d.ts +42 -0
- package/esm/dsl/FileBase.d.ts.map +1 -0
- package/esm/dsl/FileBase.js +53 -0
- package/esm/dsl/GeneratedValue.d.ts +2 -2
- package/esm/dsl/GeneratedValue.d.ts.map +1 -1
- package/esm/dsl/GeneratorKeys.d.ts +266 -73
- package/esm/dsl/GeneratorKeys.d.ts.map +1 -1
- package/esm/dsl/GeneratorKeys.js +199 -67
- package/esm/dsl/IdentifierBase.d.ts +55 -0
- package/esm/dsl/IdentifierBase.d.ts.map +1 -0
- package/esm/dsl/IdentifierBase.js +64 -0
- package/esm/dsl/IdentifierType.d.ts +31 -0
- package/esm/dsl/IdentifierType.d.ts.map +1 -0
- package/esm/dsl/IdentifierType.js +1 -0
- package/esm/dsl/ImportBase.d.ts +40 -0
- package/esm/dsl/ImportBase.d.ts.map +1 -0
- package/esm/dsl/ImportBase.js +24 -0
- package/esm/dsl/Inserted.d.ts +10 -10
- package/esm/dsl/Inserted.d.ts.map +1 -1
- package/esm/dsl/Inserted.js +8 -8
- package/esm/dsl/JsonFile.d.ts +2 -3
- package/esm/dsl/JsonFile.d.ts.map +1 -1
- package/esm/dsl/JsonFile.js +3 -9
- package/esm/dsl/Lang.d.ts +136 -0
- package/esm/dsl/Lang.d.ts.map +1 -0
- package/esm/dsl/Lang.js +1 -0
- package/esm/dsl/ReExportBase.d.ts +42 -0
- package/esm/dsl/ReExportBase.d.ts.map +1 -0
- package/esm/dsl/ReExportBase.js +27 -0
- package/esm/dsl/SnippetBase.d.ts +86 -0
- package/esm/dsl/SnippetBase.d.ts.map +1 -0
- package/esm/dsl/SnippetBase.js +113 -0
- package/esm/dsl/Stringable.d.ts +1 -0
- package/esm/dsl/Stringable.d.ts.map +1 -1
- package/esm/dsl/Stringable.js +9 -1
- package/esm/dsl/model/ModelDriver.d.ts +23 -58
- package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
- package/esm/dsl/model/ModelDriver.js +86 -77
- package/esm/dsl/model/toModelEntry.d.ts +17 -23
- package/esm/dsl/model/toModelEntry.d.ts.map +1 -1
- package/esm/dsl/model/toModelEntry.js +7 -14
- package/esm/dsl/model/toModelProjectionBase.d.ts +125 -0
- package/esm/dsl/model/toModelProjectionBase.d.ts.map +1 -0
- package/esm/dsl/model/toModelProjectionBase.js +146 -0
- package/esm/dsl/model/types.d.ts +87 -54
- package/esm/dsl/model/types.d.ts.map +1 -1
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts +52 -0
- package/esm/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -0
- package/esm/dsl/operation/gql/GqlOperationDriver.js +203 -0
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts +44 -0
- package/esm/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -0
- package/esm/dsl/operation/gql/toGqlOperationEntry.js +45 -0
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +128 -0
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -0
- package/esm/dsl/operation/gql/toGqlOperationProjectionBase.js +160 -0
- package/esm/dsl/operation/gql/types.d.ts +141 -0
- package/esm/dsl/operation/gql/types.d.ts.map +1 -0
- package/esm/dsl/operation/gql/types.js +1 -0
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts +52 -0
- package/esm/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -0
- package/esm/dsl/operation/oas/OasOperationDriver.js +220 -0
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts +70 -0
- package/esm/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -0
- package/esm/dsl/operation/oas/toOasOperationEntry.js +68 -0
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts +144 -0
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -0
- package/esm/dsl/operation/oas/toOasOperationProjectionBase.js +177 -0
- package/esm/dsl/operation/oas/types.d.ts +151 -0
- package/esm/dsl/operation/oas/types.d.ts.map +1 -0
- package/esm/dsl/operation/oas/types.js +1 -0
- package/esm/dsl/webhook/WebhookDriver.d.ts +50 -0
- package/esm/dsl/webhook/WebhookDriver.d.ts.map +1 -0
- package/esm/dsl/webhook/WebhookDriver.js +190 -0
- package/esm/dsl/webhook/toWebhookEntry.d.ts +58 -0
- package/esm/dsl/webhook/toWebhookEntry.d.ts.map +1 -0
- package/esm/dsl/webhook/toWebhookEntry.js +64 -0
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts +125 -0
- package/esm/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -0
- package/esm/dsl/webhook/toWebhookProjectionBase.js +160 -0
- package/esm/dsl/webhook/types.d.ts +149 -0
- package/esm/dsl/webhook/types.d.ts.map +1 -0
- package/esm/dsl/webhook/types.js +1 -0
- package/esm/enrichments/readEnrichments.d.ts +69 -0
- package/esm/enrichments/readEnrichments.d.ts.map +1 -0
- package/esm/enrichments/readEnrichments.js +59 -0
- package/esm/enrichments/toEnrichmentDescriptor.d.ts +97 -0
- package/esm/enrichments/toEnrichmentDescriptor.d.ts.map +1 -0
- package/esm/enrichments/toEnrichmentDescriptor.js +157 -0
- package/esm/gql/_helpers/recordAppliedDirectives.d.ts +25 -0
- package/esm/gql/_helpers/recordAppliedDirectives.d.ts.map +1 -0
- package/esm/gql/_helpers/recordAppliedDirectives.js +37 -0
- package/esm/gql/_helpers/unwrapType.d.ts +39 -0
- package/esm/gql/_helpers/unwrapType.d.ts.map +1 -0
- package/esm/gql/_helpers/unwrapType.js +47 -0
- package/esm/gql/argument/GqlArgument.d.ts +55 -0
- package/esm/gql/argument/GqlArgument.d.ts.map +1 -0
- package/esm/gql/argument/GqlArgument.js +83 -0
- package/esm/gql/document/GqlDocument.d.ts +93 -0
- package/esm/gql/document/GqlDocument.d.ts.map +1 -0
- package/esm/gql/document/GqlDocument.js +170 -0
- package/esm/gql/document/parseGqlDocument.d.ts +33 -0
- package/esm/gql/document/parseGqlDocument.d.ts.map +1 -0
- package/esm/gql/document/parseGqlDocument.js +185 -0
- package/esm/gql/enum/toEnumType.d.ts +29 -0
- package/esm/gql/enum/toEnumType.d.ts.map +1 -0
- package/esm/gql/enum/toEnumType.js +22 -0
- package/esm/gql/field/toFieldSchema.d.ts +38 -0
- package/esm/gql/field/toFieldSchema.d.ts.map +1 -0
- package/esm/gql/field/toFieldSchema.js +83 -0
- package/esm/gql/input/toInputType.d.ts +28 -0
- package/esm/gql/input/toInputType.d.ts.map +1 -0
- package/esm/gql/input/toInputType.js +46 -0
- package/esm/gql/interface/toInterfaceUnion.d.ts +28 -0
- package/esm/gql/interface/toInterfaceUnion.d.ts.map +1 -0
- package/esm/gql/interface/toInterfaceUnion.js +34 -0
- package/esm/gql/object/toObjectType.d.ts +23 -0
- package/esm/gql/object/toObjectType.d.ts.map +1 -0
- package/esm/gql/object/toObjectType.js +62 -0
- package/esm/gql/operation/GqlOperation.d.ts +63 -0
- package/esm/gql/operation/GqlOperation.d.ts.map +1 -0
- package/esm/gql/operation/GqlOperation.js +90 -0
- package/esm/gql/operation/synthesizeArgsObject.d.ts +22 -0
- package/esm/gql/operation/synthesizeArgsObject.d.ts.map +1 -0
- package/esm/gql/operation/synthesizeArgsObject.js +37 -0
- package/esm/gql/operation/toRootField.d.ts +26 -0
- package/esm/gql/operation/toRootField.d.ts.map +1 -0
- package/esm/gql/operation/toRootField.js +51 -0
- package/esm/gql/registry/GqlRegistry.d.ts +70 -0
- package/esm/gql/registry/GqlRegistry.d.ts.map +1 -0
- package/esm/gql/registry/GqlRegistry.js +76 -0
- package/esm/gql/rootType/GqlRootTypes.d.ts +15 -0
- package/esm/gql/rootType/GqlRootTypes.d.ts.map +1 -0
- package/esm/gql/rootType/GqlRootTypes.js +1 -0
- package/esm/gql/scalar/toScalarType.d.ts +33 -0
- package/esm/gql/scalar/toScalarType.d.ts.map +1 -0
- package/esm/gql/scalar/toScalarType.js +43 -0
- package/esm/gql/union/toUnionType.d.ts +24 -0
- package/esm/gql/union/toUnionType.d.ts.map +1 -0
- package/esm/gql/union/toUnionType.js +29 -0
- package/esm/helpers/collateExamples.d.ts +1 -0
- package/esm/helpers/collateExamples.d.ts.map +1 -1
- package/esm/helpers/collateExamples.js +1 -0
- package/esm/helpers/formatNumber.d.ts +1 -0
- package/esm/helpers/formatNumber.d.ts.map +1 -1
- package/esm/helpers/formatNumber.js +1 -0
- package/esm/helpers/isEmpty.d.ts +1 -0
- package/esm/helpers/isEmpty.d.ts.map +1 -1
- package/esm/helpers/isEmpty.js +1 -0
- package/esm/helpers/isImported.js +1 -1
- package/esm/helpers/refFns.d.ts +2 -1
- package/esm/helpers/refFns.d.ts.map +1 -1
- package/esm/helpers/refFns.js +1 -0
- package/esm/helpers/strings.d.ts +1 -0
- package/esm/helpers/strings.d.ts.map +1 -1
- package/esm/helpers/strings.js +1 -0
- package/esm/helpers/toResolvedArtifactPath.d.ts +1 -0
- package/esm/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/esm/helpers/toResolvedArtifactPath.js +2 -1
- package/esm/helpers/toVariantList.d.ts +32 -0
- package/esm/helpers/toVariantList.d.ts.map +1 -0
- package/esm/helpers/toVariantList.js +31 -0
- package/esm/helpers/withVariant.d.ts +20 -0
- package/esm/helpers/withVariant.d.ts.map +1 -0
- package/esm/helpers/withVariant.js +27 -0
- package/esm/mod.d.ts +58 -37
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +61 -37
- package/esm/oas/array/Array.d.ts +5 -2
- package/esm/oas/array/Array.d.ts.map +1 -1
- package/esm/oas/array/Array.js +5 -2
- package/esm/oas/boolean/Boolean.d.ts +8 -2
- package/esm/oas/boolean/Boolean.d.ts.map +1 -1
- package/esm/oas/boolean/Boolean.js +8 -2
- package/esm/oas/components/Components.d.ts +1 -0
- package/esm/oas/components/Components.d.ts.map +1 -1
- package/esm/oas/components/Components.js +1 -0
- package/esm/oas/discriminator/Discriminator.d.ts +1 -0
- package/esm/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/esm/oas/discriminator/Discriminator.js +1 -0
- package/esm/oas/document/Document.d.ts +56 -2
- package/esm/oas/document/Document.d.ts.map +1 -1
- package/esm/oas/document/Document.js +61 -1
- package/esm/oas/info/Info.d.ts +1 -0
- package/esm/oas/info/Info.d.ts.map +1 -1
- package/esm/oas/info/Info.js +1 -0
- package/esm/oas/integer/Integer.d.ts +5 -2
- package/esm/oas/integer/Integer.d.ts.map +1 -1
- package/esm/oas/integer/Integer.js +5 -2
- package/esm/oas/mediaType/MediaType.d.ts +4 -2
- package/esm/oas/mediaType/MediaType.d.ts.map +1 -1
- package/esm/oas/mediaType/MediaType.js +4 -2
- package/esm/oas/number/Number.d.ts +5 -2
- package/esm/oas/number/Number.d.ts.map +1 -1
- package/esm/oas/number/Number.js +5 -2
- package/esm/oas/object/Object.d.ts +5 -2
- package/esm/oas/object/Object.d.ts.map +1 -1
- package/esm/oas/object/Object.js +5 -2
- package/esm/oas/operation/Operation.d.ts +5 -2
- package/esm/oas/operation/Operation.d.ts.map +1 -1
- package/esm/oas/operation/Operation.js +5 -2
- package/esm/oas/parameter/Parameter.d.ts +5 -2
- package/esm/oas/parameter/Parameter.d.ts.map +1 -1
- package/esm/oas/parameter/Parameter.js +5 -2
- package/esm/oas/ref/Ref.d.ts +37 -6
- package/esm/oas/ref/Ref.d.ts.map +1 -1
- package/esm/oas/ref/Ref.js +67 -40
- package/esm/oas/requestBody/RequestBody.d.ts +5 -2
- package/esm/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/esm/oas/requestBody/RequestBody.js +5 -2
- package/esm/oas/response/Response.d.ts +5 -2
- package/esm/oas/response/Response.d.ts.map +1 -1
- package/esm/oas/response/Response.js +5 -2
- package/esm/oas/schema/Schema.d.ts +1 -0
- package/esm/oas/schema/Schema.d.ts.map +1 -1
- package/esm/oas/schema/Schema.js +1 -1
- package/esm/oas/server/Server.d.ts +1 -0
- package/esm/oas/server/Server.d.ts.map +1 -1
- package/esm/oas/server/Server.js +1 -0
- package/esm/oas/string/String.d.ts +5 -2
- package/esm/oas/string/String.d.ts.map +1 -1
- package/esm/oas/string/String.js +5 -2
- package/esm/oas/tag/Tag.d.ts +4 -0
- package/esm/oas/tag/Tag.d.ts.map +1 -1
- package/esm/oas/tag/Tag.js +4 -0
- package/esm/oas/tag/tag-types.d.ts +2 -0
- package/esm/oas/tag/tag-types.d.ts.map +1 -1
- package/esm/oas/tag/tag-types.js +3 -2
- package/esm/oas/union/Union.d.ts +4 -2
- package/esm/oas/union/Union.d.ts.map +1 -1
- package/esm/oas/union/Union.js +4 -2
- package/esm/oas/unknown/Unknown.d.ts +5 -2
- package/esm/oas/unknown/Unknown.d.ts.map +1 -1
- package/esm/oas/unknown/Unknown.js +5 -2
- package/esm/oas/void/Void.d.ts +6 -3
- package/esm/oas/void/Void.d.ts.map +1 -1
- package/esm/oas/void/Void.js +6 -3
- package/esm/oas/webhook/Webhook.d.ts +109 -0
- package/esm/oas/webhook/Webhook.d.ts.map +1 -0
- package/esm/oas/webhook/Webhook.js +166 -0
- package/esm/parse/toOasDialect.d.ts +26 -0
- package/esm/parse/toOasDialect.d.ts.map +1 -0
- package/esm/parse/toOasDialect.js +22 -0
- package/esm/parse/v3-0/_helpers/parseDefault.d.ts +44 -0
- package/esm/parse/v3-0/_helpers/parseDefault.d.ts.map +1 -0
- package/esm/parse/v3-0/_helpers/parseDefault.js +39 -0
- package/esm/parse/v3-0/_helpers/parseEnum.d.ts +14 -0
- package/esm/parse/v3-0/_helpers/parseEnum.d.ts.map +1 -0
- package/esm/parse/v3-0/_helpers/parseEnum.js +23 -0
- package/esm/parse/v3-0/_helpers/parseExample.d.ts +42 -0
- package/esm/parse/v3-0/_helpers/parseExample.d.ts.map +1 -0
- package/esm/parse/v3-0/_helpers/parseExample.js +37 -0
- package/esm/parse/v3-0/_helpers/parseNullable.d.ts +142 -0
- package/esm/parse/v3-0/_helpers/parseNullable.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/cross-product.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/decompose-union.js +73 -0
- package/esm/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/is-equal.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-required.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge-union.js +61 -0
- package/esm/parse/v3-0/_merge-all-of/merge.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/merge.js +155 -0
- package/esm/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +1 -0
- package/esm/parse/v3-0/_merge-all-of/nullable-merge.js +12 -0
- package/esm/parse/v3-0/_merge-all-of/types.d.ts.map +1 -0
- package/esm/parse/v3-0/array/toArray.d.ts +81 -0
- package/esm/parse/v3-0/array/toArray.d.ts.map +1 -0
- package/esm/parse/v3-0/array/toArray.js +165 -0
- package/esm/parse/v3-0/boolean/toBoolean.d.ts +79 -0
- package/esm/parse/v3-0/boolean/toBoolean.d.ts.map +1 -0
- package/esm/parse/v3-0/boolean/toBoolean.js +139 -0
- package/esm/parse/v3-0/components/toComponentsV3.d.ts +11 -0
- package/esm/parse/v3-0/components/toComponentsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/components/toComponentsV3.js +39 -0
- package/esm/parse/v3-0/contact/toContactV3.d.ts +6 -0
- package/esm/parse/v3-0/contact/toContactV3.d.ts.map +1 -0
- package/esm/parse/v3-0/contact/toContactV3.js +18 -0
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +11 -0
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/esm/parse/v3-0/discriminator/toDiscriminatorV3.js +20 -0
- package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts +14 -0
- package/esm/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/document/toDocumentFieldsV3.js +32 -0
- package/esm/parse/v3-0/example/toExamplesV3.d.ts +68 -0
- package/esm/parse/v3-0/example/toExamplesV3.d.ts.map +1 -0
- package/esm/parse/v3-0/example/toExamplesV3.js +89 -0
- package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts +11 -0
- package/esm/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/esm/parse/v3-0/externalDocs/toExternalDocs.js +15 -0
- package/esm/parse/v3-0/header/toHeadersV3.d.ts +17 -0
- package/esm/parse/v3-0/header/toHeadersV3.d.ts.map +1 -0
- package/esm/parse/v3-0/header/toHeadersV3.js +47 -0
- package/esm/parse/v3-0/info/toInfoV3.d.ts +11 -0
- package/esm/parse/v3-0/info/toInfoV3.d.ts.map +1 -0
- package/esm/parse/v3-0/info/toInfoV3.js +23 -0
- package/esm/parse/v3-0/integer/toInteger.d.ts +22 -0
- package/esm/parse/v3-0/integer/toInteger.d.ts.map +1 -0
- package/esm/parse/v3-0/integer/toInteger.js +112 -0
- package/esm/parse/v3-0/license/toLicenseV3.d.ts +6 -0
- package/esm/parse/v3-0/license/toLicenseV3.d.ts.map +1 -0
- package/esm/parse/v3-0/license/toLicenseV3.js +17 -0
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +315 -0
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/esm/parse/v3-0/mediaType/toMediaTypeItemV3.js +314 -0
- package/esm/parse/v3-0/number/toNumber.d.ts +11 -0
- package/esm/parse/v3-0/number/toNumber.d.ts.map +1 -0
- package/esm/parse/v3-0/number/toNumber.js +112 -0
- package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +12 -0
- package/esm/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/esm/parse/v3-0/object/toObject.d.ts +11 -0
- package/esm/parse/v3-0/object/toObject.d.ts.map +1 -0
- package/esm/parse/v3-0/object/toObject.js +88 -0
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts +26 -0
- package/esm/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/operation/toOperationsV3.js +113 -0
- package/esm/parse/v3-0/parameter/toParameterV3.d.ts +40 -0
- package/esm/parse/v3-0/parameter/toParameterV3.d.ts.map +1 -0
- package/esm/parse/v3-0/parameter/toParameterV3.js +112 -0
- package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts +11 -0
- package/esm/parse/v3-0/pathItem/toPathItemV3.d.ts.map +1 -0
- package/esm/parse/v3-0/pathItem/toPathItemV3.js +18 -0
- package/esm/parse/v3-0/ref/toRefV31.d.ts +20 -0
- package/esm/parse/v3-0/ref/toRefV31.d.ts.map +1 -0
- package/esm/parse/v3-0/ref/toRefV31.js +10 -0
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +19 -0
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/esm/parse/v3-0/requestBody/toRequestBodiesV3.js +44 -0
- package/esm/parse/v3-0/response/toResponseV3.d.ts +24 -0
- package/esm/parse/v3-0/response/toResponseV3.d.ts.map +1 -0
- package/esm/parse/v3-0/response/toResponseV3.js +52 -0
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts +30 -0
- package/esm/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -0
- package/esm/parse/v3-0/schema/toSchemasV3.js +296 -0
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +10 -0
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
- package/esm/parse/v3-0/securityRequirement/toSecurityRequirement.js +9 -0
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +18 -0
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
- package/esm/parse/v3-0/securitySchemes/toSecuritySchemes.js +105 -0
- package/esm/parse/v3-0/server/toServerV3.d.ts +23 -0
- package/esm/parse/v3-0/server/toServerV3.d.ts.map +1 -0
- package/esm/parse/v3-0/server/toServerV3.js +30 -0
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts +23 -0
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +1 -0
- package/esm/parse/v3-0/serverVariable/toServerVariableV3.js +30 -0
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.js +25 -0
- package/esm/parse/v3-0/string/toString.d.ts +147 -0
- package/esm/parse/v3-0/string/toString.d.ts.map +1 -0
- package/esm/parse/v3-0/string/toString.js +218 -0
- package/esm/parse/v3-0/tag/toTagsV3.d.ts +17 -0
- package/esm/parse/v3-0/tag/toTagsV3.d.ts.map +1 -0
- package/esm/parse/v3-0/tag/toTagsV3.js +27 -0
- package/esm/parse/v3-0/union/toUnion.d.ts +13 -0
- package/esm/parse/v3-0/union/toUnion.d.ts.map +1 -0
- package/esm/parse/v3-0/union/toUnion.js +66 -0
- package/esm/parse/v3-0/unknown/toUnknown.d.ts +11 -0
- package/esm/parse/v3-0/unknown/toUnknown.d.ts.map +1 -0
- package/esm/parse/v3-0/unknown/toUnknown.js +19 -0
- package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts +49 -0
- package/esm/parse/v3-0/webhook/toWebhooksV3.d.ts.map +1 -0
- package/esm/parse/v3-0/webhook/toWebhooksV3.js +130 -0
- package/esm/parse/v3-1/_helpers/parseDefault.d.ts +44 -0
- package/esm/parse/v3-1/_helpers/parseDefault.d.ts.map +1 -0
- package/esm/parse/v3-1/_helpers/parseDefault.js +39 -0
- package/esm/parse/v3-1/_helpers/parseEnum.d.ts +14 -0
- package/esm/parse/v3-1/_helpers/parseEnum.d.ts.map +1 -0
- package/esm/parse/v3-1/_helpers/parseEnum.js +23 -0
- package/esm/parse/v3-1/_helpers/parseExample.d.ts +42 -0
- package/esm/parse/v3-1/_helpers/parseExample.d.ts.map +1 -0
- package/esm/parse/v3-1/_helpers/parseExample.js +37 -0
- package/esm/parse/v3-1/_helpers/parseNullable.d.ts +142 -0
- package/esm/parse/v3-1/_helpers/parseNullable.d.ts.map +1 -0
- package/esm/parse/v3-1/_helpers/parseNullable.js +140 -0
- package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.js +9 -0
- package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-at-least-one-type-match.js +5 -0
- package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-enum-conflicts.js +11 -0
- package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-format-conflicts.js +5 -0
- package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.js +11 -0
- package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.js +5 -0
- package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/check-type-conflicts.js +5 -0
- package/esm/parse/v3-1/_merge-all-of/cross-product.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/cross-product.js +3 -0
- package/esm/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/decompose-intersection.js +27 -0
- package/esm/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/decompose-union.js +73 -0
- package/esm/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/generic-merge.js +12 -0
- package/esm/parse/v3-1/_merge-all-of/is-equal.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/is-equal.js +19 -0
- package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-array-constraints.js +44 -0
- package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-boolean-constraints.js +7 -0
- package/esm/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-enum-values.js +32 -0
- package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-integer-constraints.js +41 -0
- package/esm/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-intersection.js +16 -0
- package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-number-constraints.js +41 -0
- package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-object-constraints.js +28 -0
- package/esm/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-properties.js +25 -0
- package/esm/parse/v3-1/_merge-all-of/merge-required.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-required.js +10 -0
- package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-string-constraints.js +55 -0
- package/esm/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge-union.js +61 -0
- package/esm/parse/v3-1/_merge-all-of/merge.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/merge.js +155 -0
- package/esm/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/nullable-merge.js +12 -0
- package/esm/parse/v3-1/_merge-all-of/types.d.ts.map +1 -0
- package/esm/parse/v3-1/_merge-all-of/types.js +2 -0
- package/esm/parse/v3-1/array/toArray.d.ts +81 -0
- package/esm/parse/v3-1/array/toArray.d.ts.map +1 -0
- package/esm/parse/v3-1/array/toArray.js +165 -0
- package/esm/parse/v3-1/boolean/toBoolean.d.ts +79 -0
- package/esm/parse/v3-1/boolean/toBoolean.d.ts.map +1 -0
- package/esm/parse/v3-1/boolean/toBoolean.js +139 -0
- package/esm/parse/v3-1/components/toComponentsV3.d.ts +11 -0
- package/esm/parse/v3-1/components/toComponentsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/components/toComponentsV3.js +39 -0
- package/esm/parse/v3-1/contact/toContactV3.d.ts +6 -0
- package/esm/parse/v3-1/contact/toContactV3.d.ts.map +1 -0
- package/esm/parse/v3-1/contact/toContactV3.js +18 -0
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +11 -0
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/esm/parse/v3-1/discriminator/toDiscriminatorV3.js +20 -0
- package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts +15 -0
- package/esm/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/document/toDocumentFieldsV3.js +32 -0
- package/esm/parse/v3-1/example/toExamplesV3.d.ts +68 -0
- package/esm/parse/v3-1/example/toExamplesV3.d.ts.map +1 -0
- package/esm/parse/v3-1/example/toExamplesV3.js +89 -0
- package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts +11 -0
- package/esm/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/esm/parse/v3-1/externalDocs/toExternalDocs.js +15 -0
- package/esm/parse/v3-1/header/toHeadersV3.d.ts +17 -0
- package/esm/parse/v3-1/header/toHeadersV3.d.ts.map +1 -0
- package/esm/parse/v3-1/header/toHeadersV3.js +47 -0
- package/esm/parse/v3-1/info/toInfoV3.d.ts +11 -0
- package/esm/parse/v3-1/info/toInfoV3.d.ts.map +1 -0
- package/esm/parse/v3-1/info/toInfoV3.js +23 -0
- package/esm/parse/v3-1/integer/toInteger.d.ts +22 -0
- package/esm/parse/v3-1/integer/toInteger.d.ts.map +1 -0
- package/esm/parse/v3-1/integer/toInteger.js +112 -0
- package/esm/parse/v3-1/license/toLicenseV3.d.ts +6 -0
- package/esm/parse/v3-1/license/toLicenseV3.d.ts.map +1 -0
- package/esm/parse/v3-1/license/toLicenseV3.js +17 -0
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +315 -0
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/esm/parse/v3-1/mediaType/toMediaTypeItemV3.js +314 -0
- package/esm/parse/v3-1/number/toNumber.d.ts +11 -0
- package/esm/parse/v3-1/number/toNumber.d.ts.map +1 -0
- package/esm/parse/v3-1/number/toNumber.js +112 -0
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +12 -0
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/esm/parse/v3-1/object/toAdditionalPropertiesV3.js +10 -0
- package/esm/parse/v3-1/object/toObject.d.ts +11 -0
- package/esm/parse/v3-1/object/toObject.d.ts.map +1 -0
- package/esm/parse/v3-1/object/toObject.js +88 -0
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts +26 -0
- package/esm/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/operation/toOperationsV3.js +116 -0
- package/esm/parse/v3-1/parameter/toParameterV3.d.ts +40 -0
- package/esm/parse/v3-1/parameter/toParameterV3.d.ts.map +1 -0
- package/esm/parse/v3-1/parameter/toParameterV3.js +112 -0
- package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts +11 -0
- package/esm/parse/v3-1/pathItem/toPathItemV3.d.ts.map +1 -0
- package/esm/parse/v3-1/pathItem/toPathItemV3.js +18 -0
- package/esm/parse/v3-1/ref/toRefV31.d.ts +20 -0
- package/esm/parse/v3-1/ref/toRefV31.d.ts.map +1 -0
- package/esm/parse/v3-1/ref/toRefV31.js +10 -0
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +19 -0
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/esm/parse/v3-1/requestBody/toRequestBodiesV3.js +44 -0
- package/esm/parse/v3-1/response/toResponseV3.d.ts +24 -0
- package/esm/parse/v3-1/response/toResponseV3.d.ts.map +1 -0
- package/esm/parse/v3-1/response/toResponseV3.js +52 -0
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts +30 -0
- package/esm/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -0
- package/esm/parse/v3-1/schema/toSchemasV3.js +478 -0
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +10 -0
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
- package/esm/parse/v3-1/securityRequirement/toSecurityRequirement.js +9 -0
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +18 -0
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
- package/esm/parse/v3-1/securitySchemes/toSecuritySchemes.js +105 -0
- package/esm/parse/v3-1/server/toServerV3.d.ts +23 -0
- package/esm/parse/v3-1/server/toServerV3.d.ts.map +1 -0
- package/esm/parse/v3-1/server/toServerV3.js +30 -0
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts +23 -0
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +1 -0
- package/esm/parse/v3-1/serverVariable/toServerVariableV3.js +30 -0
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.js +25 -0
- package/esm/parse/v3-1/string/toString.d.ts +147 -0
- package/esm/parse/v3-1/string/toString.d.ts.map +1 -0
- package/esm/parse/v3-1/string/toString.js +218 -0
- package/esm/parse/v3-1/tag/toTagsV3.d.ts +17 -0
- package/esm/parse/v3-1/tag/toTagsV3.d.ts.map +1 -0
- package/esm/parse/v3-1/tag/toTagsV3.js +27 -0
- package/esm/parse/v3-1/union/toUnion.d.ts +13 -0
- package/esm/parse/v3-1/union/toUnion.d.ts.map +1 -0
- package/esm/parse/v3-1/union/toUnion.js +66 -0
- package/esm/parse/v3-1/unknown/toUnknown.d.ts +11 -0
- package/esm/parse/v3-1/unknown/toUnknown.d.ts.map +1 -0
- package/esm/parse/v3-1/unknown/toUnknown.js +19 -0
- package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts +49 -0
- package/esm/parse/v3-1/webhook/toWebhooksV3.d.ts.map +1 -0
- package/esm/parse/v3-1/webhook/toWebhooksV3.js +130 -0
- package/esm/run/toArtifacts.d.ts +20 -25
- package/esm/run/toArtifacts.d.ts.map +1 -1
- package/esm/run/toArtifacts.js +9 -27
- package/esm/run/toEnrichmentDefaults.d.ts +51 -0
- package/esm/run/toEnrichmentDefaults.d.ts.map +1 -0
- package/esm/run/toEnrichmentDefaults.js +24 -0
- package/esm/run/toSupportedSubjects.d.ts +48 -0
- package/esm/run/toSupportedSubjects.d.ts.map +1 -0
- package/esm/run/toSupportedSubjects.js +21 -0
- package/esm/types/AccessorPath.d.ts +17 -0
- package/esm/types/AccessorPath.d.ts.map +1 -0
- package/esm/types/AccessorPath.js +9 -0
- package/esm/types/AttributionState.d.ts +51 -0
- package/esm/types/AttributionState.d.ts.map +1 -0
- package/esm/types/AttributionState.js +20 -0
- package/esm/types/Brand.d.ts +3 -2
- package/esm/types/Brand.d.ts.map +1 -1
- package/esm/types/Brand.js +10 -1
- package/esm/types/DenoJson.d.ts +1 -0
- package/esm/types/DenoJson.d.ts.map +1 -1
- package/esm/types/DenoJson.js +1 -0
- package/esm/types/EnrichmentDefaults.d.ts +33 -0
- package/esm/types/EnrichmentDefaults.d.ts.map +1 -0
- package/esm/types/EnrichmentDefaults.js +21 -0
- package/esm/types/EnrichmentRequest.d.ts +1 -0
- package/esm/types/EnrichmentRequest.d.ts.map +1 -1
- package/esm/types/EnrichmentRequest.js +1 -1
- package/esm/types/Enrichments.d.ts +136 -175
- package/esm/types/Enrichments.d.ts.map +1 -1
- package/esm/types/Enrichments.js +100 -134
- package/esm/types/GeneratorType.d.ts +45 -107
- package/esm/types/GeneratorType.d.ts.map +1 -1
- package/esm/types/JsonPointer.d.ts +92 -0
- package/esm/types/JsonPointer.d.ts.map +1 -0
- package/esm/types/JsonPointer.js +112 -0
- package/esm/types/Manifest.d.ts +11 -2
- package/esm/types/Manifest.d.ts.map +1 -1
- package/esm/types/Manifest.js +49 -2
- package/esm/types/Method.d.ts +1 -0
- package/esm/types/Method.d.ts.map +1 -1
- package/esm/types/Method.js +1 -0
- package/esm/types/ModuleExport.d.ts +1 -0
- package/esm/types/ModuleExport.d.ts.map +1 -1
- package/esm/types/ModuleExport.js +1 -0
- package/esm/types/OasBase.d.ts +40 -0
- package/esm/types/OasBase.d.ts.map +1 -0
- package/esm/types/OasBase.js +48 -0
- package/esm/types/Preview.d.ts +100 -66
- package/esm/types/Preview.d.ts.map +1 -1
- package/esm/types/Preview.js +67 -65
- package/esm/types/RefName.d.ts +3 -2
- package/esm/types/RefName.d.ts.map +1 -1
- package/esm/types/RefName.js +1 -1
- package/esm/types/Results.d.ts +1 -0
- package/esm/types/Results.d.ts.map +1 -1
- package/esm/types/Results.js +1 -0
- package/esm/types/Settings.d.ts +236 -25
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/Settings.js +71 -7
- package/esm/types/SkmtcDocument.d.ts +81 -0
- package/esm/types/SkmtcDocument.d.ts.map +1 -0
- package/esm/types/SkmtcDocument.js +18 -0
- package/esm/types/SupportedSubjects.d.ts +41 -0
- package/esm/types/SupportedSubjects.d.ts.map +1 -0
- package/esm/types/SupportedSubjects.js +10 -0
- package/esm/types/TypeSystem.d.ts +1 -0
- package/esm/types/TypeSystem.d.ts.map +1 -1
- package/esm/types/TypeSystem.js +1 -1
- package/esm/types/Variant.d.ts +65 -0
- package/esm/types/Variant.d.ts.map +1 -0
- package/esm/types/Variant.js +55 -0
- package/package.json +6 -7
- package/script/_dnt.polyfills.d.ts +7 -0
- package/script/_dnt.polyfills.d.ts.map +1 -0
- package/script/anchors/CaptureSink.d.ts +83 -0
- package/script/anchors/CaptureSink.d.ts.map +1 -0
- package/script/anchors/CaptureSink.js +192 -0
- package/script/anchors/ParserAdapter.d.ts +76 -0
- package/script/anchors/ParserAdapter.d.ts.map +1 -0
- package/script/anchors/ParserAdapter.js +20 -0
- package/script/anchors/attribute.d.ts +25 -0
- package/script/anchors/attribute.d.ts.map +1 -0
- package/script/anchors/attribute.js +88 -0
- package/script/anchors/buildSidecar.d.ts +54 -0
- package/script/anchors/buildSidecar.d.ts.map +1 -0
- package/script/anchors/buildSidecar.js +108 -0
- package/script/anchors/generationMap.d.ts +67 -0
- package/script/anchors/generationMap.d.ts.map +1 -0
- package/script/anchors/generationMap.js +136 -0
- package/script/anchors/postPass.d.ts +87 -0
- package/script/anchors/postPass.d.ts.map +1 -0
- package/script/anchors/postPass.js +81 -0
- package/script/anchors/sidecar.d.ts +89 -0
- package/script/anchors/sidecar.d.ts.map +1 -0
- package/script/anchors/sidecar.js +136 -0
- package/script/anchors/types.d.ts +51 -0
- package/script/anchors/types.d.ts.map +1 -0
- package/script/anchors/types.js +10 -0
- package/script/app/validate.d.ts +1 -0
- package/script/app/validate.d.ts.map +1 -1
- package/script/app/validate.js +1 -0
- package/script/context/CoreContext.d.ts +75 -39
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/CoreContext.js +184 -53
- package/script/context/GenerateContext.d.ts +154 -115
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +888 -257
- package/script/context/ParseContext.d.ts +165 -107
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/ParseContext.js +399 -116
- package/script/context/ParseIssue.d.ts +80 -0
- package/script/context/ParseIssue.d.ts.map +1 -0
- package/script/context/ParseIssue.js +69 -0
- package/script/context/RenderContext.d.ts +46 -24
- package/script/context/RenderContext.d.ts.map +1 -1
- package/script/context/RenderContext.js +140 -37
- package/script/context/StackTrail.d.ts +68 -0
- package/script/context/StackTrail.d.ts.map +1 -1
- package/script/context/StackTrail.js +84 -0
- package/script/context/generateTypes.d.ts +253 -70
- package/script/context/generateTypes.d.ts.map +1 -1
- package/script/context/generateTypes.js +67 -0
- package/script/context/parseTypes.d.ts +148 -49
- package/script/context/parseTypes.d.ts.map +1 -1
- package/script/context/parseTypes.js +17 -0
- package/script/context/tryParseAt.d.ts +70 -0
- package/script/context/tryParseAt.d.ts.map +1 -0
- package/script/context/tryParseAt.js +57 -0
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts +700 -0
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fmt/1.0.10/colors.js +986 -0
- package/script/deps/jsr.io/@std/fs/1.0.23/exists.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/fs/1.0.23/exists.js +308 -0
- package/script/deps/jsr.io/@std/internal/1.0.13/_os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.13/_os.js +48 -0
- package/script/deps/jsr.io/@std/internal/1.0.13/os.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/internal/1.0.13/os.js +8 -0
- package/script/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/io/0.225.3/types.js +18 -0
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +52 -0
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/io/0.225.3/write_all.js +65 -0
- package/script/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
- package/script/deps/jsr.io/@std/log/0.224.14/file_handler.js +1 -1
- package/script/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/script/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/join.js +32 -0
- package/script/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/normalize.js +35 -0
- package/script/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +1 -0
- package/script/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +1 -0
- package/script/dsl/CodeFileBase.d.ts +38 -0
- package/script/dsl/CodeFileBase.d.ts.map +1 -0
- package/script/dsl/CodeFileBase.js +64 -0
- package/script/dsl/ContentSettings.d.ts +44 -20
- package/script/dsl/ContentSettings.d.ts.map +1 -1
- package/script/dsl/ContentSettings.js +35 -17
- package/script/dsl/CustomValue.d.ts +3 -2
- package/script/dsl/CustomValue.d.ts.map +1 -1
- package/script/dsl/CustomValue.js +3 -2
- package/script/dsl/Definition.d.ts +32 -200
- package/script/dsl/Definition.d.ts.map +1 -1
- package/script/dsl/Definition.js +18 -214
- package/script/dsl/FileBase.d.ts +42 -0
- package/script/dsl/FileBase.d.ts.map +1 -0
- package/script/dsl/FileBase.js +57 -0
- package/script/dsl/GeneratedValue.d.ts +2 -2
- package/script/dsl/GeneratedValue.d.ts.map +1 -1
- package/script/dsl/GeneratorKeys.d.ts +266 -73
- package/script/dsl/GeneratorKeys.d.ts.map +1 -1
- package/script/dsl/GeneratorKeys.js +207 -71
- package/script/dsl/IdentifierBase.d.ts +55 -0
- package/script/dsl/IdentifierBase.d.ts.map +1 -0
- package/script/dsl/IdentifierBase.js +68 -0
- package/script/dsl/IdentifierType.d.ts +31 -0
- package/script/dsl/IdentifierType.d.ts.map +1 -0
- package/script/dsl/IdentifierType.js +2 -0
- package/script/dsl/ImportBase.d.ts +40 -0
- package/script/dsl/ImportBase.d.ts.map +1 -0
- package/script/dsl/ImportBase.js +28 -0
- package/script/dsl/Inserted.d.ts +10 -10
- package/script/dsl/Inserted.d.ts.map +1 -1
- package/script/dsl/Inserted.js +8 -8
- package/script/dsl/JsonFile.d.ts +2 -3
- package/script/dsl/JsonFile.d.ts.map +1 -1
- package/script/dsl/JsonFile.js +3 -9
- package/script/dsl/Lang.d.ts +136 -0
- package/script/dsl/Lang.d.ts.map +1 -0
- package/script/dsl/Lang.js +2 -0
- package/script/dsl/ReExportBase.d.ts +42 -0
- package/script/dsl/ReExportBase.d.ts.map +1 -0
- package/script/dsl/ReExportBase.js +31 -0
- package/script/dsl/SnippetBase.d.ts +86 -0
- package/script/dsl/SnippetBase.d.ts.map +1 -0
- package/script/dsl/SnippetBase.js +117 -0
- package/script/dsl/Stringable.d.ts +1 -0
- package/script/dsl/Stringable.d.ts.map +1 -1
- package/script/dsl/Stringable.js +9 -0
- package/script/dsl/model/ModelDriver.d.ts +23 -58
- package/script/dsl/model/ModelDriver.d.ts.map +1 -1
- package/script/dsl/model/ModelDriver.js +89 -77
- package/script/dsl/model/toModelEntry.d.ts +17 -23
- package/script/dsl/model/toModelEntry.d.ts.map +1 -1
- package/script/dsl/model/toModelEntry.js +7 -14
- package/script/dsl/model/toModelProjectionBase.d.ts +125 -0
- package/script/dsl/model/toModelProjectionBase.d.ts.map +1 -0
- package/script/dsl/model/toModelProjectionBase.js +186 -0
- package/script/dsl/model/types.d.ts +87 -54
- package/script/dsl/model/types.d.ts.map +1 -1
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts +52 -0
- package/script/dsl/operation/gql/GqlOperationDriver.d.ts.map +1 -0
- package/script/dsl/operation/gql/GqlOperationDriver.js +210 -0
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts +44 -0
- package/script/dsl/operation/gql/toGqlOperationEntry.d.ts.map +1 -0
- package/script/dsl/operation/gql/toGqlOperationEntry.js +85 -0
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts +128 -0
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.d.ts.map +1 -0
- package/script/dsl/operation/gql/toGqlOperationProjectionBase.js +200 -0
- package/script/dsl/operation/gql/types.d.ts +141 -0
- package/script/dsl/operation/gql/types.d.ts.map +1 -0
- package/script/dsl/operation/gql/types.js +2 -0
- package/script/dsl/operation/oas/OasOperationDriver.d.ts +52 -0
- package/script/dsl/operation/oas/OasOperationDriver.d.ts.map +1 -0
- package/script/dsl/operation/oas/OasOperationDriver.js +227 -0
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts +70 -0
- package/script/dsl/operation/oas/toOasOperationEntry.d.ts.map +1 -0
- package/script/dsl/operation/oas/toOasOperationEntry.js +108 -0
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts +144 -0
- package/script/dsl/operation/oas/toOasOperationProjectionBase.d.ts.map +1 -0
- package/script/dsl/operation/oas/toOasOperationProjectionBase.js +217 -0
- package/script/dsl/operation/oas/types.d.ts +151 -0
- package/script/dsl/operation/oas/types.d.ts.map +1 -0
- package/script/dsl/operation/oas/types.js +2 -0
- package/script/dsl/webhook/WebhookDriver.d.ts +50 -0
- package/script/dsl/webhook/WebhookDriver.d.ts.map +1 -0
- package/script/dsl/webhook/WebhookDriver.js +197 -0
- package/script/dsl/webhook/toWebhookEntry.d.ts +58 -0
- package/script/dsl/webhook/toWebhookEntry.d.ts.map +1 -0
- package/script/dsl/webhook/toWebhookEntry.js +104 -0
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts +125 -0
- package/script/dsl/webhook/toWebhookProjectionBase.d.ts.map +1 -0
- package/script/dsl/webhook/toWebhookProjectionBase.js +200 -0
- package/script/dsl/webhook/types.d.ts +149 -0
- package/script/dsl/webhook/types.d.ts.map +1 -0
- package/script/dsl/webhook/types.js +2 -0
- package/script/enrichments/readEnrichments.d.ts +69 -0
- package/script/enrichments/readEnrichments.d.ts.map +1 -0
- package/script/enrichments/readEnrichments.js +97 -0
- package/script/enrichments/toEnrichmentDescriptor.d.ts +97 -0
- package/script/enrichments/toEnrichmentDescriptor.d.ts.map +1 -0
- package/script/enrichments/toEnrichmentDescriptor.js +162 -0
- package/script/gql/_helpers/recordAppliedDirectives.d.ts +25 -0
- package/script/gql/_helpers/recordAppliedDirectives.d.ts.map +1 -0
- package/script/gql/_helpers/recordAppliedDirectives.js +41 -0
- package/script/gql/_helpers/unwrapType.d.ts +39 -0
- package/script/gql/_helpers/unwrapType.d.ts.map +1 -0
- package/script/gql/_helpers/unwrapType.js +51 -0
- package/script/gql/argument/GqlArgument.d.ts +55 -0
- package/script/gql/argument/GqlArgument.d.ts.map +1 -0
- package/script/gql/argument/GqlArgument.js +87 -0
- package/script/gql/document/GqlDocument.d.ts +93 -0
- package/script/gql/document/GqlDocument.d.ts.map +1 -0
- package/script/gql/document/GqlDocument.js +174 -0
- package/script/gql/document/parseGqlDocument.d.ts +33 -0
- package/script/gql/document/parseGqlDocument.d.ts.map +1 -0
- package/script/gql/document/parseGqlDocument.js +189 -0
- package/script/gql/enum/toEnumType.d.ts +29 -0
- package/script/gql/enum/toEnumType.d.ts.map +1 -0
- package/script/gql/enum/toEnumType.js +26 -0
- package/script/gql/field/toFieldSchema.d.ts +38 -0
- package/script/gql/field/toFieldSchema.d.ts.map +1 -0
- package/script/gql/field/toFieldSchema.js +87 -0
- package/script/gql/input/toInputType.d.ts +28 -0
- package/script/gql/input/toInputType.d.ts.map +1 -0
- package/script/gql/input/toInputType.js +50 -0
- package/script/gql/interface/toInterfaceUnion.d.ts +28 -0
- package/script/gql/interface/toInterfaceUnion.d.ts.map +1 -0
- package/script/gql/interface/toInterfaceUnion.js +38 -0
- package/script/gql/object/toObjectType.d.ts +23 -0
- package/script/gql/object/toObjectType.d.ts.map +1 -0
- package/script/gql/object/toObjectType.js +66 -0
- package/script/gql/operation/GqlOperation.d.ts +63 -0
- package/script/gql/operation/GqlOperation.d.ts.map +1 -0
- package/script/gql/operation/GqlOperation.js +94 -0
- package/script/gql/operation/synthesizeArgsObject.d.ts +22 -0
- package/script/gql/operation/synthesizeArgsObject.d.ts.map +1 -0
- package/script/gql/operation/synthesizeArgsObject.js +41 -0
- package/script/gql/operation/toRootField.d.ts +26 -0
- package/script/gql/operation/toRootField.d.ts.map +1 -0
- package/script/gql/operation/toRootField.js +55 -0
- package/script/gql/registry/GqlRegistry.d.ts +70 -0
- package/script/gql/registry/GqlRegistry.d.ts.map +1 -0
- package/script/gql/registry/GqlRegistry.js +80 -0
- package/script/gql/rootType/GqlRootTypes.d.ts +15 -0
- package/script/gql/rootType/GqlRootTypes.d.ts.map +1 -0
- package/script/gql/rootType/GqlRootTypes.js +2 -0
- package/script/gql/scalar/toScalarType.d.ts +33 -0
- package/script/gql/scalar/toScalarType.d.ts.map +1 -0
- package/script/gql/scalar/toScalarType.js +47 -0
- package/script/gql/union/toUnionType.d.ts +24 -0
- package/script/gql/union/toUnionType.d.ts.map +1 -0
- package/script/gql/union/toUnionType.js +33 -0
- package/script/helpers/collateExamples.d.ts +1 -0
- package/script/helpers/collateExamples.d.ts.map +1 -1
- package/script/helpers/collateExamples.js +1 -0
- package/script/helpers/formatNumber.d.ts +1 -0
- package/script/helpers/formatNumber.d.ts.map +1 -1
- package/script/helpers/formatNumber.js +1 -0
- package/script/helpers/isEmpty.d.ts +1 -0
- package/script/helpers/isEmpty.d.ts.map +1 -1
- package/script/helpers/isEmpty.js +1 -0
- package/script/helpers/isImported.js +1 -1
- package/script/helpers/refFns.d.ts +2 -1
- package/script/helpers/refFns.d.ts.map +1 -1
- package/script/helpers/refFns.js +1 -0
- package/script/helpers/strings.d.ts +1 -0
- package/script/helpers/strings.d.ts.map +1 -1
- package/script/helpers/strings.js +1 -0
- package/script/helpers/toResolvedArtifactPath.d.ts +1 -0
- package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/script/helpers/toResolvedArtifactPath.js +4 -3
- package/script/helpers/toVariantList.d.ts +32 -0
- package/script/helpers/toVariantList.d.ts.map +1 -0
- package/script/helpers/toVariantList.js +35 -0
- package/script/helpers/withVariant.d.ts +20 -0
- package/script/helpers/withVariant.d.ts.map +1 -0
- package/script/helpers/withVariant.js +31 -0
- package/script/mod.d.ts +58 -37
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +76 -52
- package/script/oas/array/Array.d.ts +5 -2
- package/script/oas/array/Array.d.ts.map +1 -1
- package/script/oas/array/Array.js +5 -2
- package/script/oas/boolean/Boolean.d.ts +8 -2
- package/script/oas/boolean/Boolean.d.ts.map +1 -1
- package/script/oas/boolean/Boolean.js +8 -2
- package/script/oas/components/Components.d.ts +1 -0
- package/script/oas/components/Components.d.ts.map +1 -1
- package/script/oas/components/Components.js +1 -0
- package/script/oas/discriminator/Discriminator.d.ts +1 -0
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/script/oas/discriminator/Discriminator.js +1 -0
- package/script/oas/document/Document.d.ts +56 -2
- package/script/oas/document/Document.d.ts.map +1 -1
- package/script/oas/document/Document.js +61 -1
- package/script/oas/info/Info.d.ts +1 -0
- package/script/oas/info/Info.d.ts.map +1 -1
- package/script/oas/info/Info.js +1 -0
- package/script/oas/integer/Integer.d.ts +5 -2
- package/script/oas/integer/Integer.d.ts.map +1 -1
- package/script/oas/integer/Integer.js +5 -2
- package/script/oas/mediaType/MediaType.d.ts +4 -2
- package/script/oas/mediaType/MediaType.d.ts.map +1 -1
- package/script/oas/mediaType/MediaType.js +4 -2
- package/script/oas/number/Number.d.ts +5 -2
- package/script/oas/number/Number.d.ts.map +1 -1
- package/script/oas/number/Number.js +5 -2
- package/script/oas/object/Object.d.ts +5 -2
- package/script/oas/object/Object.d.ts.map +1 -1
- package/script/oas/object/Object.js +5 -2
- package/script/oas/operation/Operation.d.ts +5 -2
- package/script/oas/operation/Operation.d.ts.map +1 -1
- package/script/oas/operation/Operation.js +5 -2
- package/script/oas/parameter/Parameter.d.ts +5 -2
- package/script/oas/parameter/Parameter.d.ts.map +1 -1
- package/script/oas/parameter/Parameter.js +5 -2
- package/script/oas/ref/Ref.d.ts +37 -6
- package/script/oas/ref/Ref.d.ts.map +1 -1
- package/script/oas/ref/Ref.js +67 -40
- package/script/oas/requestBody/RequestBody.d.ts +5 -2
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/script/oas/requestBody/RequestBody.js +5 -2
- package/script/oas/response/Response.d.ts +5 -2
- package/script/oas/response/Response.d.ts.map +1 -1
- package/script/oas/response/Response.js +5 -2
- package/script/oas/schema/Schema.d.ts +1 -0
- package/script/oas/schema/Schema.d.ts.map +1 -1
- package/script/oas/schema/Schema.js +1 -0
- package/script/oas/server/Server.d.ts +1 -0
- package/script/oas/server/Server.d.ts.map +1 -1
- package/script/oas/server/Server.js +1 -0
- package/script/oas/string/String.d.ts +5 -2
- package/script/oas/string/String.d.ts.map +1 -1
- package/script/oas/string/String.js +5 -2
- package/script/oas/tag/Tag.d.ts +4 -0
- package/script/oas/tag/Tag.d.ts.map +1 -1
- package/script/oas/tag/Tag.js +4 -0
- package/script/oas/tag/tag-types.d.ts +2 -0
- package/script/oas/tag/tag-types.d.ts.map +1 -1
- package/script/oas/tag/tag-types.js +3 -2
- package/script/oas/union/Union.d.ts +4 -2
- package/script/oas/union/Union.d.ts.map +1 -1
- package/script/oas/union/Union.js +4 -2
- package/script/oas/unknown/Unknown.d.ts +5 -2
- package/script/oas/unknown/Unknown.d.ts.map +1 -1
- package/script/oas/unknown/Unknown.js +5 -2
- package/script/oas/void/Void.d.ts +6 -3
- package/script/oas/void/Void.d.ts.map +1 -1
- package/script/oas/void/Void.js +6 -3
- package/script/oas/webhook/Webhook.d.ts +109 -0
- package/script/oas/webhook/Webhook.d.ts.map +1 -0
- package/script/oas/webhook/Webhook.js +170 -0
- package/script/parse/toOasDialect.d.ts +26 -0
- package/script/parse/toOasDialect.d.ts.map +1 -0
- package/script/parse/toOasDialect.js +26 -0
- package/script/parse/v3-0/_helpers/parseDefault.d.ts +44 -0
- package/script/parse/v3-0/_helpers/parseDefault.d.ts.map +1 -0
- package/script/parse/v3-0/_helpers/parseDefault.js +43 -0
- package/script/parse/v3-0/_helpers/parseEnum.d.ts +14 -0
- package/script/parse/v3-0/_helpers/parseEnum.d.ts.map +1 -0
- package/script/parse/v3-0/_helpers/parseEnum.js +27 -0
- package/script/parse/v3-0/_helpers/parseExample.d.ts +42 -0
- package/script/parse/v3-0/_helpers/parseExample.d.ts.map +1 -0
- package/script/parse/v3-0/_helpers/parseExample.js +41 -0
- package/script/parse/v3-0/_helpers/parseNullable.d.ts +142 -0
- package/script/parse/v3-0/_helpers/parseNullable.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts +5 -0
- package/script/parse/v3-0/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/cross-product.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/cross-product.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts +7 -0
- package/script/parse/v3-0/_merge-all-of/decompose-intersection.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts +13 -0
- package/script/parse/v3-0/_merge-all-of/decompose-union.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/decompose-union.js +77 -0
- package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/generic-merge.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/is-equal.d.ts +2 -0
- package/script/parse/v3-0/_merge-all-of/is-equal.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-enum-values.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts +9 -0
- package/script/parse/v3-0/_merge-all-of/merge-intersection.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts +6 -0
- package/script/parse/v3-0/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/merge-properties.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-required.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-required.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts +16 -0
- package/script/parse/v3-0/_merge-all-of/merge-union.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge-union.js +66 -0
- package/script/parse/v3-0/_merge-all-of/merge.d.ts +3 -0
- package/script/parse/v3-0/_merge-all-of/merge.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/merge.js +159 -0
- package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts +4 -0
- package/script/parse/v3-0/_merge-all-of/nullable-merge.d.ts.map +1 -0
- package/script/parse/v3-0/_merge-all-of/nullable-merge.js +17 -0
- package/script/parse/v3-0/_merge-all-of/types.d.ts +15 -0
- package/script/parse/v3-0/_merge-all-of/types.d.ts.map +1 -0
- package/script/parse/v3-0/array/toArray.d.ts +81 -0
- package/script/parse/v3-0/array/toArray.d.ts.map +1 -0
- package/script/parse/v3-0/array/toArray.js +203 -0
- package/script/parse/v3-0/boolean/toBoolean.d.ts +79 -0
- package/script/parse/v3-0/boolean/toBoolean.d.ts.map +1 -0
- package/script/parse/v3-0/boolean/toBoolean.js +177 -0
- package/script/parse/v3-0/components/toComponentsV3.d.ts +11 -0
- package/script/parse/v3-0/components/toComponentsV3.d.ts.map +1 -0
- package/script/parse/v3-0/components/toComponentsV3.js +43 -0
- package/script/parse/v3-0/contact/toContactV3.d.ts +6 -0
- package/script/parse/v3-0/contact/toContactV3.d.ts.map +1 -0
- package/script/parse/v3-0/contact/toContactV3.js +22 -0
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts +11 -0
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/script/parse/v3-0/discriminator/toDiscriminatorV3.js +24 -0
- package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts +14 -0
- package/script/parse/v3-0/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/script/parse/v3-0/document/toDocumentFieldsV3.js +36 -0
- package/script/parse/v3-0/example/toExamplesV3.d.ts +68 -0
- package/script/parse/v3-0/example/toExamplesV3.d.ts.map +1 -0
- package/script/parse/v3-0/example/toExamplesV3.js +95 -0
- package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts +11 -0
- package/script/parse/v3-0/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/script/parse/v3-0/externalDocs/toExternalDocs.js +52 -0
- package/script/parse/v3-0/header/toHeadersV3.d.ts +17 -0
- package/script/parse/v3-0/header/toHeadersV3.d.ts.map +1 -0
- package/script/parse/v3-0/header/toHeadersV3.js +51 -0
- package/script/parse/v3-0/info/toInfoV3.d.ts +11 -0
- package/script/parse/v3-0/info/toInfoV3.d.ts.map +1 -0
- package/script/parse/v3-0/info/toInfoV3.js +27 -0
- package/script/parse/v3-0/integer/toInteger.d.ts +22 -0
- package/script/parse/v3-0/integer/toInteger.d.ts.map +1 -0
- package/script/parse/v3-0/integer/toInteger.js +150 -0
- package/script/parse/v3-0/license/toLicenseV3.d.ts +6 -0
- package/script/parse/v3-0/license/toLicenseV3.d.ts.map +1 -0
- package/script/parse/v3-0/license/toLicenseV3.js +21 -0
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts +315 -0
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/script/parse/v3-0/mediaType/toMediaTypeItemV3.js +320 -0
- package/script/parse/v3-0/number/toNumber.d.ts +11 -0
- package/script/parse/v3-0/number/toNumber.d.ts.map +1 -0
- package/script/parse/v3-0/number/toNumber.js +149 -0
- package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts +12 -0
- package/script/parse/v3-0/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/script/parse/v3-0/object/toObject.d.ts +11 -0
- package/script/parse/v3-0/object/toObject.d.ts.map +1 -0
- package/script/parse/v3-0/object/toObject.js +92 -0
- package/script/parse/v3-0/operation/toOperationsV3.d.ts +26 -0
- package/script/parse/v3-0/operation/toOperationsV3.d.ts.map +1 -0
- package/script/parse/v3-0/operation/toOperationsV3.js +118 -0
- package/script/parse/v3-0/parameter/toParameterV3.d.ts +40 -0
- package/script/parse/v3-0/parameter/toParameterV3.d.ts.map +1 -0
- package/script/parse/v3-0/parameter/toParameterV3.js +151 -0
- package/script/parse/v3-0/pathItem/toPathItemV3.d.ts +11 -0
- package/script/parse/v3-0/pathItem/toPathItemV3.d.ts.map +1 -0
- package/script/parse/v3-0/pathItem/toPathItemV3.js +22 -0
- package/script/parse/v3-0/ref/toRefV31.d.ts +20 -0
- package/script/parse/v3-0/ref/toRefV31.d.ts.map +1 -0
- package/script/parse/v3-0/ref/toRefV31.js +14 -0
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts +19 -0
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/script/parse/v3-0/requestBody/toRequestBodiesV3.js +49 -0
- package/script/parse/v3-0/response/toResponseV3.d.ts +24 -0
- package/script/parse/v3-0/response/toResponseV3.d.ts.map +1 -0
- package/script/parse/v3-0/response/toResponseV3.js +58 -0
- package/script/parse/v3-0/schema/toSchemasV3.d.ts +30 -0
- package/script/parse/v3-0/schema/toSchemasV3.d.ts.map +1 -0
- package/script/parse/v3-0/schema/toSchemasV3.js +303 -0
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts +10 -0
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
- package/script/parse/v3-0/securityRequirement/toSecurityRequirement.js +13 -0
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts +18 -0
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
- package/script/parse/v3-0/securitySchemes/toSecuritySchemes.js +142 -0
- package/script/parse/v3-0/server/toServerV3.d.ts +23 -0
- package/script/parse/v3-0/server/toServerV3.d.ts.map +1 -0
- package/script/parse/v3-0/server/toServerV3.js +36 -0
- package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts +23 -0
- package/script/parse/v3-0/serverVariable/toServerVariableV3.d.ts.map +1 -0
- package/script/parse/v3-0/serverVariable/toServerVariableV3.js +36 -0
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/script/parse/v3-0/specificationExtensions/toSpecificationExtensionsV3.js +30 -0
- package/script/parse/v3-0/string/toString.d.ts +147 -0
- package/script/parse/v3-0/string/toString.d.ts.map +1 -0
- package/script/parse/v3-0/string/toString.js +256 -0
- package/script/parse/v3-0/tag/toTagsV3.d.ts +17 -0
- package/script/parse/v3-0/tag/toTagsV3.d.ts.map +1 -0
- package/script/parse/v3-0/tag/toTagsV3.js +32 -0
- package/script/parse/v3-0/union/toUnion.d.ts +13 -0
- package/script/parse/v3-0/union/toUnion.d.ts.map +1 -0
- package/script/parse/v3-0/union/toUnion.js +70 -0
- package/script/parse/v3-0/unknown/toUnknown.d.ts +11 -0
- package/script/parse/v3-0/unknown/toUnknown.d.ts.map +1 -0
- package/script/parse/v3-0/unknown/toUnknown.js +23 -0
- package/script/parse/v3-0/webhook/toWebhooksV3.d.ts +49 -0
- package/script/parse/v3-0/webhook/toWebhooksV3.d.ts.map +1 -0
- package/script/parse/v3-0/webhook/toWebhooksV3.js +135 -0
- package/script/parse/v3-1/_helpers/parseDefault.d.ts +44 -0
- package/script/parse/v3-1/_helpers/parseDefault.d.ts.map +1 -0
- package/script/parse/v3-1/_helpers/parseDefault.js +43 -0
- package/script/parse/v3-1/_helpers/parseEnum.d.ts +14 -0
- package/script/parse/v3-1/_helpers/parseEnum.d.ts.map +1 -0
- package/script/parse/v3-1/_helpers/parseEnum.js +27 -0
- package/script/parse/v3-1/_helpers/parseExample.d.ts +42 -0
- package/script/parse/v3-1/_helpers/parseExample.d.ts.map +1 -0
- package/script/parse/v3-1/_helpers/parseExample.js +41 -0
- package/script/parse/v3-1/_helpers/parseNullable.d.ts +142 -0
- package/script/parse/v3-1/_helpers/parseNullable.d.ts.map +1 -0
- package/script/parse/v3-1/_helpers/parseNullable.js +144 -0
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-array-item-type-conflicts.js +13 -0
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts +5 -0
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-at-least-one-type-match.js +9 -0
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-enum-conflicts.js +15 -0
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-format-conflicts.js +9 -0
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-number-constraints-conflicts.js +15 -0
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-read-only-write-only-conflicts.js +9 -0
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/check-type-conflicts.js +9 -0
- package/script/parse/v3-1/_merge-all-of/cross-product.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/cross-product.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/cross-product.js +7 -0
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts +7 -0
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/decompose-intersection.js +31 -0
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts +13 -0
- package/script/parse/v3-1/_merge-all-of/decompose-union.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/decompose-union.js +77 -0
- package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/generic-merge.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/generic-merge.js +16 -0
- package/script/parse/v3-1/_merge-all-of/is-equal.d.ts +2 -0
- package/script/parse/v3-1/_merge-all-of/is-equal.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/is-equal.js +23 -0
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-array-constraints.js +80 -0
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-boolean-constraints.js +43 -0
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-enum-values.js +68 -0
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-integer-constraints.js +77 -0
- package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts +9 -0
- package/script/parse/v3-1/_merge-all-of/merge-intersection.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-intersection.js +20 -0
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-number-constraints.js +77 -0
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts +6 -0
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-object-constraints.js +65 -0
- package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/merge-properties.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-properties.js +29 -0
- package/script/parse/v3-1/_merge-all-of/merge-required.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-required.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-required.js +15 -0
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-string-constraints.js +91 -0
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts +16 -0
- package/script/parse/v3-1/_merge-all-of/merge-union.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge-union.js +66 -0
- package/script/parse/v3-1/_merge-all-of/merge.d.ts +3 -0
- package/script/parse/v3-1/_merge-all-of/merge.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/merge.js +159 -0
- package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts +4 -0
- package/script/parse/v3-1/_merge-all-of/nullable-merge.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/nullable-merge.js +17 -0
- package/script/parse/v3-1/_merge-all-of/types.d.ts +15 -0
- package/script/parse/v3-1/_merge-all-of/types.d.ts.map +1 -0
- package/script/parse/v3-1/_merge-all-of/types.js +38 -0
- package/script/parse/v3-1/array/toArray.d.ts +81 -0
- package/script/parse/v3-1/array/toArray.d.ts.map +1 -0
- package/script/parse/v3-1/array/toArray.js +203 -0
- package/script/parse/v3-1/boolean/toBoolean.d.ts +79 -0
- package/script/parse/v3-1/boolean/toBoolean.d.ts.map +1 -0
- package/script/parse/v3-1/boolean/toBoolean.js +177 -0
- package/script/parse/v3-1/components/toComponentsV3.d.ts +11 -0
- package/script/parse/v3-1/components/toComponentsV3.d.ts.map +1 -0
- package/script/parse/v3-1/components/toComponentsV3.js +43 -0
- package/script/parse/v3-1/contact/toContactV3.d.ts +6 -0
- package/script/parse/v3-1/contact/toContactV3.d.ts.map +1 -0
- package/script/parse/v3-1/contact/toContactV3.js +22 -0
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts +11 -0
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.d.ts.map +1 -0
- package/script/parse/v3-1/discriminator/toDiscriminatorV3.js +24 -0
- package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts +15 -0
- package/script/parse/v3-1/document/toDocumentFieldsV3.d.ts.map +1 -0
- package/script/parse/v3-1/document/toDocumentFieldsV3.js +36 -0
- package/script/parse/v3-1/example/toExamplesV3.d.ts +68 -0
- package/script/parse/v3-1/example/toExamplesV3.d.ts.map +1 -0
- package/script/parse/v3-1/example/toExamplesV3.js +95 -0
- package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts +11 -0
- package/script/parse/v3-1/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/script/parse/v3-1/externalDocs/toExternalDocs.js +52 -0
- package/script/parse/v3-1/header/toHeadersV3.d.ts +17 -0
- package/script/parse/v3-1/header/toHeadersV3.d.ts.map +1 -0
- package/script/parse/v3-1/header/toHeadersV3.js +51 -0
- package/script/parse/v3-1/info/toInfoV3.d.ts +11 -0
- package/script/parse/v3-1/info/toInfoV3.d.ts.map +1 -0
- package/script/parse/v3-1/info/toInfoV3.js +27 -0
- package/script/parse/v3-1/integer/toInteger.d.ts +22 -0
- package/script/parse/v3-1/integer/toInteger.d.ts.map +1 -0
- package/script/parse/v3-1/integer/toInteger.js +150 -0
- package/script/parse/v3-1/license/toLicenseV3.d.ts +6 -0
- package/script/parse/v3-1/license/toLicenseV3.d.ts.map +1 -0
- package/script/parse/v3-1/license/toLicenseV3.js +21 -0
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts +315 -0
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.d.ts.map +1 -0
- package/script/parse/v3-1/mediaType/toMediaTypeItemV3.js +320 -0
- package/script/parse/v3-1/number/toNumber.d.ts +11 -0
- package/script/parse/v3-1/number/toNumber.d.ts.map +1 -0
- package/script/parse/v3-1/number/toNumber.js +149 -0
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts +12 -0
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.d.ts.map +1 -0
- package/script/parse/v3-1/object/toAdditionalPropertiesV3.js +14 -0
- package/script/parse/v3-1/object/toObject.d.ts +11 -0
- package/script/parse/v3-1/object/toObject.d.ts.map +1 -0
- package/script/parse/v3-1/object/toObject.js +92 -0
- package/script/parse/v3-1/operation/toOperationsV3.d.ts +26 -0
- package/script/parse/v3-1/operation/toOperationsV3.d.ts.map +1 -0
- package/script/parse/v3-1/operation/toOperationsV3.js +121 -0
- package/script/parse/v3-1/parameter/toParameterV3.d.ts +40 -0
- package/script/parse/v3-1/parameter/toParameterV3.d.ts.map +1 -0
- package/script/parse/v3-1/parameter/toParameterV3.js +151 -0
- package/script/parse/v3-1/pathItem/toPathItemV3.d.ts +11 -0
- package/script/parse/v3-1/pathItem/toPathItemV3.d.ts.map +1 -0
- package/script/parse/v3-1/pathItem/toPathItemV3.js +22 -0
- package/script/parse/v3-1/ref/toRefV31.d.ts +20 -0
- package/script/parse/v3-1/ref/toRefV31.d.ts.map +1 -0
- package/script/parse/v3-1/ref/toRefV31.js +14 -0
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts +19 -0
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.d.ts.map +1 -0
- package/script/parse/v3-1/requestBody/toRequestBodiesV3.js +49 -0
- package/script/parse/v3-1/response/toResponseV3.d.ts +24 -0
- package/script/parse/v3-1/response/toResponseV3.d.ts.map +1 -0
- package/script/parse/v3-1/response/toResponseV3.js +58 -0
- package/script/parse/v3-1/schema/toSchemasV3.d.ts +30 -0
- package/script/parse/v3-1/schema/toSchemasV3.d.ts.map +1 -0
- package/script/parse/v3-1/schema/toSchemasV3.js +485 -0
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts +10 -0
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.d.ts.map +1 -0
- package/script/parse/v3-1/securityRequirement/toSecurityRequirement.js +13 -0
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts +18 -0
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.d.ts.map +1 -0
- package/script/parse/v3-1/securitySchemes/toSecuritySchemes.js +142 -0
- package/script/parse/v3-1/server/toServerV3.d.ts +23 -0
- package/script/parse/v3-1/server/toServerV3.d.ts.map +1 -0
- package/script/parse/v3-1/server/toServerV3.js +36 -0
- package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts +23 -0
- package/script/parse/v3-1/serverVariable/toServerVariableV3.d.ts.map +1 -0
- package/script/parse/v3-1/serverVariable/toServerVariableV3.js +36 -0
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts +15 -0
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -0
- package/script/parse/v3-1/specificationExtensions/toSpecificationExtensionsV3.js +30 -0
- package/script/parse/v3-1/string/toString.d.ts +147 -0
- package/script/parse/v3-1/string/toString.d.ts.map +1 -0
- package/script/parse/v3-1/string/toString.js +256 -0
- package/script/parse/v3-1/tag/toTagsV3.d.ts +17 -0
- package/script/parse/v3-1/tag/toTagsV3.d.ts.map +1 -0
- package/script/parse/v3-1/tag/toTagsV3.js +32 -0
- package/script/parse/v3-1/union/toUnion.d.ts +13 -0
- package/script/parse/v3-1/union/toUnion.d.ts.map +1 -0
- package/script/parse/v3-1/union/toUnion.js +70 -0
- package/script/parse/v3-1/unknown/toUnknown.d.ts +11 -0
- package/script/parse/v3-1/unknown/toUnknown.d.ts.map +1 -0
- package/script/parse/v3-1/unknown/toUnknown.js +23 -0
- package/script/parse/v3-1/webhook/toWebhooksV3.d.ts +49 -0
- package/script/parse/v3-1/webhook/toWebhooksV3.d.ts.map +1 -0
- package/script/parse/v3-1/webhook/toWebhooksV3.js +135 -0
- package/script/run/toArtifacts.d.ts +20 -25
- package/script/run/toArtifacts.d.ts.map +1 -1
- package/script/run/toArtifacts.js +9 -60
- package/script/run/toEnrichmentDefaults.d.ts +51 -0
- package/script/run/toEnrichmentDefaults.d.ts.map +1 -0
- package/script/run/toEnrichmentDefaults.js +28 -0
- package/script/run/toSupportedSubjects.d.ts +48 -0
- package/script/run/toSupportedSubjects.d.ts.map +1 -0
- package/script/run/toSupportedSubjects.js +25 -0
- package/script/types/AccessorPath.d.ts +17 -0
- package/script/types/AccessorPath.d.ts.map +1 -0
- package/script/types/AccessorPath.js +45 -0
- package/script/types/AttributionState.d.ts +51 -0
- package/script/types/AttributionState.d.ts.map +1 -0
- package/script/types/AttributionState.js +21 -0
- package/script/types/Brand.d.ts +3 -2
- package/script/types/Brand.d.ts.map +1 -1
- package/script/types/Brand.js +10 -0
- package/script/types/DenoJson.d.ts +1 -0
- package/script/types/DenoJson.d.ts.map +1 -1
- package/script/types/DenoJson.js +1 -0
- package/script/types/EnrichmentDefaults.d.ts +33 -0
- package/script/types/EnrichmentDefaults.d.ts.map +1 -0
- package/script/types/EnrichmentDefaults.js +22 -0
- package/script/types/EnrichmentRequest.d.ts +1 -0
- package/script/types/EnrichmentRequest.d.ts.map +1 -1
- package/script/types/EnrichmentRequest.js +2 -1
- package/script/types/Enrichments.d.ts +136 -175
- package/script/types/Enrichments.d.ts.map +1 -1
- package/script/types/Enrichments.js +105 -138
- package/script/types/GeneratorType.d.ts +45 -107
- package/script/types/GeneratorType.d.ts.map +1 -1
- package/script/types/JsonPointer.d.ts +92 -0
- package/script/types/JsonPointer.d.ts.map +1 -0
- package/script/types/JsonPointer.js +121 -0
- package/script/types/Manifest.d.ts +11 -2
- package/script/types/Manifest.d.ts.map +1 -1
- package/script/types/Manifest.js +84 -37
- package/script/types/Method.d.ts +1 -0
- package/script/types/Method.d.ts.map +1 -1
- package/script/types/Method.js +1 -0
- package/script/types/ModuleExport.d.ts +1 -0
- package/script/types/ModuleExport.d.ts.map +1 -1
- package/script/types/ModuleExport.js +1 -0
- package/script/types/OasBase.d.ts +40 -0
- package/script/types/OasBase.d.ts.map +1 -0
- package/script/types/OasBase.js +52 -0
- package/script/types/Preview.d.ts +100 -66
- package/script/types/Preview.d.ts.map +1 -1
- package/script/types/Preview.js +98 -96
- package/script/types/RefName.d.ts +3 -2
- package/script/types/RefName.d.ts.map +1 -1
- package/script/types/RefName.js +2 -1
- package/script/types/Results.d.ts +1 -0
- package/script/types/Results.d.ts.map +1 -1
- package/script/types/Results.js +36 -35
- package/script/types/Settings.d.ts +236 -25
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/Settings.js +106 -42
- package/script/types/SkmtcDocument.d.ts +81 -0
- package/script/types/SkmtcDocument.d.ts.map +1 -0
- package/script/types/SkmtcDocument.js +23 -0
- package/script/types/SupportedSubjects.d.ts +41 -0
- package/script/types/SupportedSubjects.d.ts.map +1 -0
- package/script/types/SupportedSubjects.js +11 -0
- package/script/types/TypeSystem.d.ts +1 -0
- package/script/types/TypeSystem.d.ts.map +1 -1
- package/script/types/TypeSystem.js +1 -0
- package/script/types/Variant.d.ts +65 -0
- package/script/types/Variant.d.ts.map +1 -0
- package/script/types/Variant.js +58 -0
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts +0 -700
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fmt/1.0.8/colors.js +0 -903
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -271
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
- package/esm/deps/jsr.io/@std/io/0.225.2/types.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.2/types.js +0 -15
- package/esm/deps/jsr.io/@std/io/0.225.2/write_all.d.ts +0 -51
- package/esm/deps/jsr.io/@std/io/0.225.2/write_all.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/io/0.225.2/write_all.js +0 -61
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/join.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
- package/esm/dsl/ContentBase.d.ts +0 -131
- package/esm/dsl/ContentBase.d.ts.map +0 -1
- package/esm/dsl/ContentBase.js +0 -137
- package/esm/dsl/EntityType.d.ts +0 -89
- package/esm/dsl/EntityType.d.ts.map +0 -1
- package/esm/dsl/EntityType.js +0 -106
- package/esm/dsl/File.d.ts +0 -232
- package/esm/dsl/File.d.ts.map +0 -1
- package/esm/dsl/File.js +0 -288
- package/esm/dsl/Identifier.d.ts +0 -163
- package/esm/dsl/Identifier.d.ts.map +0 -1
- package/esm/dsl/Identifier.js +0 -200
- package/esm/dsl/Import.d.ts +0 -243
- package/esm/dsl/Import.d.ts.map +0 -1
- package/esm/dsl/Import.js +0 -265
- package/esm/dsl/model/ModelBase.d.ts +0 -285
- package/esm/dsl/model/ModelBase.d.ts.map +0 -1
- package/esm/dsl/model/ModelBase.js +0 -294
- package/esm/dsl/model/toModelBase.d.ts +0 -106
- package/esm/dsl/model/toModelBase.d.ts.map +0 -1
- package/esm/dsl/model/toModelBase.js +0 -105
- package/esm/dsl/operation/OperationBase.d.ts +0 -388
- package/esm/dsl/operation/OperationBase.d.ts.map +0 -1
- package/esm/dsl/operation/OperationBase.js +0 -407
- package/esm/dsl/operation/OperationDriver.d.ts +0 -111
- package/esm/dsl/operation/OperationDriver.d.ts.map +0 -1
- package/esm/dsl/operation/OperationDriver.js +0 -191
- package/esm/dsl/operation/toOperationBase.d.ts +0 -94
- package/esm/dsl/operation/toOperationBase.d.ts.map +0 -1
- package/esm/dsl/operation/toOperationBase.js +0 -99
- package/esm/dsl/operation/toOperationEntry.d.ts +0 -63
- package/esm/dsl/operation/toOperationEntry.d.ts.map +0 -1
- package/esm/dsl/operation/toOperationEntry.js +0 -53
- package/esm/dsl/operation/types.d.ts +0 -125
- package/esm/dsl/operation/types.d.ts.map +0 -1
- package/esm/helpers/protectedKeywords.d.ts +0 -2
- package/esm/helpers/protectedKeywords.d.ts.map +0 -1
- package/esm/helpers/protectedKeywords.js +0 -69
- package/esm/helpers/sanitizePropertyName.d.ts +0 -3
- package/esm/helpers/sanitizePropertyName.d.ts.map +0 -1
- package/esm/helpers/sanitizePropertyName.js +0 -14
- package/esm/helpers/tracer.d.ts +0 -127
- package/esm/helpers/tracer.d.ts.map +0 -1
- package/esm/helpers/tracer.js +0 -137
- package/esm/oas/_helpers/parseEnum.d.ts +0 -14
- package/esm/oas/_helpers/parseEnum.d.ts.map +0 -1
- package/esm/oas/_helpers/parseEnum.js +0 -23
- package/esm/oas/_helpers/parseNullable.d.ts +0 -142
- package/esm/oas/_helpers/parseNullable.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/cross-product.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/decompose-union.js +0 -52
- package/esm/oas/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/is-equal.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-required.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-union.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge-union.js +0 -53
- package/esm/oas/_merge-all-of/merge.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/merge.js +0 -155
- package/esm/oas/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/esm/oas/_merge-all-of/nullable-merge.js +0 -12
- package/esm/oas/_merge-all-of/types.d.ts.map +0 -1
- package/esm/oas/array/toArray.d.ts +0 -81
- package/esm/oas/array/toArray.d.ts.map +0 -1
- package/esm/oas/array/toArray.js +0 -184
- package/esm/oas/boolean/toBoolean.d.ts +0 -79
- package/esm/oas/boolean/toBoolean.d.ts.map +0 -1
- package/esm/oas/boolean/toBoolean.js +0 -179
- package/esm/oas/components/toComponentsV3.d.ts +0 -12
- package/esm/oas/components/toComponentsV3.d.ts.map +0 -1
- package/esm/oas/components/toComponentsV3.js +0 -39
- package/esm/oas/contact/toContactV3.d.ts +0 -6
- package/esm/oas/contact/toContactV3.d.ts.map +0 -1
- package/esm/oas/contact/toContactV3.js +0 -18
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts +0 -12
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/esm/oas/discriminator/toDiscriminatorV3.js +0 -20
- package/esm/oas/document/toDocumentFieldsV3.d.ts +0 -12
- package/esm/oas/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/esm/oas/document/toDocumentFieldsV3.js +0 -30
- package/esm/oas/example/toExamplesV3.d.ts +0 -69
- package/esm/oas/example/toExamplesV3.d.ts.map +0 -1
- package/esm/oas/example/toExamplesV3.js +0 -89
- package/esm/oas/externalDocs/toExternalDocs.d.ts +0 -12
- package/esm/oas/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/esm/oas/externalDocs/toExternalDocs.js +0 -15
- package/esm/oas/header/toHeadersV3.d.ts +0 -13
- package/esm/oas/header/toHeadersV3.d.ts.map +0 -1
- package/esm/oas/header/toHeadersV3.js +0 -47
- package/esm/oas/info/toInfoV3.d.ts +0 -12
- package/esm/oas/info/toInfoV3.d.ts.map +0 -1
- package/esm/oas/info/toInfoV3.js +0 -23
- package/esm/oas/integer/toInteger.d.ts +0 -21
- package/esm/oas/integer/toInteger.d.ts.map +0 -1
- package/esm/oas/integer/toInteger.js +0 -117
- package/esm/oas/license/toLicenseV3.d.ts +0 -6
- package/esm/oas/license/toLicenseV3.d.ts.map +0 -1
- package/esm/oas/license/toLicenseV3.js +0 -17
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts +0 -316
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/esm/oas/mediaType/toMediaTypeItemV3.js +0 -314
- package/esm/oas/number/toNumber.d.ts +0 -12
- package/esm/oas/number/toNumber.d.ts.map +0 -1
- package/esm/oas/number/toNumber.js +0 -117
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts +0 -13
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/esm/oas/object/toObject.d.ts +0 -12
- package/esm/oas/object/toObject.d.ts.map +0 -1
- package/esm/oas/object/toObject.js +0 -93
- package/esm/oas/operation/toOperationsV3.d.ts +0 -26
- package/esm/oas/operation/toOperationsV3.d.ts.map +0 -1
- package/esm/oas/operation/toOperationsV3.js +0 -102
- package/esm/oas/parameter/toParameterV3.d.ts +0 -25
- package/esm/oas/parameter/toParameterV3.d.ts.map +0 -1
- package/esm/oas/parameter/toParameterV3.js +0 -115
- package/esm/oas/pathItem/toPathItemV3.d.ts +0 -12
- package/esm/oas/pathItem/toPathItemV3.d.ts.map +0 -1
- package/esm/oas/pathItem/toPathItemV3.js +0 -18
- package/esm/oas/ref/toRefV31.d.ts +0 -14
- package/esm/oas/ref/toRefV31.d.ts.map +0 -1
- package/esm/oas/ref/toRefV31.js +0 -13
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts +0 -20
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/esm/oas/requestBody/toRequestBodiesV3.js +0 -44
- package/esm/oas/response/toResponseV3.d.ts +0 -25
- package/esm/oas/response/toResponseV3.d.ts.map +0 -1
- package/esm/oas/response/toResponseV3.js +0 -53
- package/esm/oas/schema/toSchemasV3.d.ts +0 -31
- package/esm/oas/schema/toSchemasV3.d.ts.map +0 -1
- package/esm/oas/schema/toSchemasV3.js +0 -227
- package/esm/oas/securityRequirement/toSecurityRequirement.d.ts +0 -11
- package/esm/oas/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/esm/oas/securityRequirement/toSecurityRequirement.js +0 -9
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts +0 -13
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/esm/oas/securitySchemes/toSecuritySchemes.js +0 -89
- package/esm/oas/server/toServerV3.d.ts +0 -24
- package/esm/oas/server/toServerV3.d.ts.map +0 -1
- package/esm/oas/server/toServerV3.js +0 -30
- package/esm/oas/serverVariable/toServerVariableV3.d.ts +0 -24
- package/esm/oas/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/esm/oas/serverVariable/toServerVariableV3.js +0 -30
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -16
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.js +0 -25
- package/esm/oas/string/toString.d.ts +0 -147
- package/esm/oas/string/toString.d.ts.map +0 -1
- package/esm/oas/string/toString.js +0 -252
- package/esm/oas/tag/toTagsV3.d.ts +0 -18
- package/esm/oas/tag/toTagsV3.d.ts.map +0 -1
- package/esm/oas/tag/toTagsV3.js +0 -24
- package/esm/oas/union/toUnion.d.ts +0 -14
- package/esm/oas/union/toUnion.d.ts.map +0 -1
- package/esm/oas/union/toUnion.js +0 -32
- package/esm/oas/unknown/toUnknown.d.ts +0 -12
- package/esm/oas/unknown/toUnknown.d.ts.map +0 -1
- package/esm/oas/unknown/toUnknown.js +0 -19
- package/esm/types/PrettierConfig.d.ts +0 -101
- package/esm/types/PrettierConfig.d.ts.map +0 -1
- package/esm/types/PrettierConfig.js +0 -99
- package/esm/typescript/FunctionParameter.d.ts +0 -349
- package/esm/typescript/FunctionParameter.d.ts.map +0 -1
- package/esm/typescript/FunctionParameter.js +0 -457
- package/esm/typescript/List.d.ts +0 -362
- package/esm/typescript/List.d.ts.map +0 -1
- package/esm/typescript/List.js +0 -503
- package/esm/typescript/PathParams.d.ts +0 -218
- package/esm/typescript/PathParams.d.ts.map +0 -1
- package/esm/typescript/PathParams.js +0 -239
- package/esm/typescript/ReactRouterPathParams.d.ts +0 -210
- package/esm/typescript/ReactRouterPathParams.d.ts.map +0 -1
- package/esm/typescript/ReactRouterPathParams.js +0 -232
- package/esm/typescript/identifiers.d.ts +0 -162
- package/esm/typescript/identifiers.d.ts.map +0 -1
- package/esm/typescript/identifiers.js +0 -166
- package/esm/typescript/keyValues.d.ts +0 -128
- package/esm/typescript/keyValues.d.ts.map +0 -1
- package/esm/typescript/keyValues.js +0 -135
- package/esm/typescript/toPathParams.d.ts +0 -181
- package/esm/typescript/toPathParams.d.ts.map +0 -1
- package/esm/typescript/toPathParams.js +0 -182
- package/esm/typescript/toPathTemplate.d.ts +0 -116
- package/esm/typescript/toPathTemplate.d.ts.map +0 -1
- package/esm/typescript/toPathTemplate.js +0 -117
- package/esm/typescript/withDescription.d.ts +0 -123
- package/esm/typescript/withDescription.d.ts.map +0 -1
- package/esm/typescript/withDescription.js +0 -122
- package/script/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts +0 -700
- package/script/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fmt/1.0.8/colors.js +0 -986
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/fs/1.0.20/exists.js +0 -308
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -48
- package/script/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/internal/1.0.12/os.js +0 -8
- package/script/deps/jsr.io/@std/io/0.225.2/types.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/io/0.225.2/types.js +0 -18
- package/script/deps/jsr.io/@std/io/0.225.2/write_all.d.ts +0 -51
- package/script/deps/jsr.io/@std/io/0.225.2/write_all.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/io/0.225.2/write_all.js +0 -65
- package/script/deps/jsr.io/@std/path/1.1.3/_common/assert_path.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/constants.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/_common/normalize_string.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/join.js +0 -32
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/normalize.js +0 -35
- package/script/deps/jsr.io/@std/path/1.1.3/posix/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/_util.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/from_file_url.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
- package/script/dsl/ContentBase.d.ts +0 -131
- package/script/dsl/ContentBase.d.ts.map +0 -1
- package/script/dsl/ContentBase.js +0 -141
- package/script/dsl/EntityType.d.ts +0 -89
- package/script/dsl/EntityType.d.ts.map +0 -1
- package/script/dsl/EntityType.js +0 -110
- package/script/dsl/File.d.ts +0 -232
- package/script/dsl/File.d.ts.map +0 -1
- package/script/dsl/File.js +0 -293
- package/script/dsl/Identifier.d.ts +0 -163
- package/script/dsl/Identifier.d.ts.map +0 -1
- package/script/dsl/Identifier.js +0 -204
- package/script/dsl/Import.d.ts +0 -243
- package/script/dsl/Import.d.ts.map +0 -1
- package/script/dsl/Import.js +0 -270
- package/script/dsl/model/ModelBase.d.ts +0 -285
- package/script/dsl/model/ModelBase.d.ts.map +0 -1
- package/script/dsl/model/ModelBase.js +0 -298
- package/script/dsl/model/toModelBase.d.ts +0 -106
- package/script/dsl/model/toModelBase.d.ts.map +0 -1
- package/script/dsl/model/toModelBase.js +0 -145
- package/script/dsl/operation/OperationBase.d.ts +0 -388
- package/script/dsl/operation/OperationBase.d.ts.map +0 -1
- package/script/dsl/operation/OperationBase.js +0 -411
- package/script/dsl/operation/OperationDriver.d.ts +0 -111
- package/script/dsl/operation/OperationDriver.d.ts.map +0 -1
- package/script/dsl/operation/OperationDriver.js +0 -195
- package/script/dsl/operation/toOperationBase.d.ts +0 -94
- package/script/dsl/operation/toOperationBase.d.ts.map +0 -1
- package/script/dsl/operation/toOperationBase.js +0 -139
- package/script/dsl/operation/toOperationEntry.d.ts +0 -63
- package/script/dsl/operation/toOperationEntry.d.ts.map +0 -1
- package/script/dsl/operation/toOperationEntry.js +0 -93
- package/script/dsl/operation/types.d.ts +0 -125
- package/script/dsl/operation/types.d.ts.map +0 -1
- package/script/helpers/protectedKeywords.d.ts +0 -2
- package/script/helpers/protectedKeywords.d.ts.map +0 -1
- package/script/helpers/protectedKeywords.js +0 -72
- package/script/helpers/sanitizePropertyName.d.ts +0 -3
- package/script/helpers/sanitizePropertyName.d.ts.map +0 -1
- package/script/helpers/sanitizePropertyName.js +0 -18
- package/script/helpers/tracer.d.ts +0 -127
- package/script/helpers/tracer.d.ts.map +0 -1
- package/script/helpers/tracer.js +0 -141
- package/script/oas/_helpers/parseEnum.d.ts +0 -14
- package/script/oas/_helpers/parseEnum.d.ts.map +0 -1
- package/script/oas/_helpers/parseEnum.js +0 -27
- package/script/oas/_helpers/parseNullable.d.ts +0 -142
- package/script/oas/_helpers/parseNullable.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-array-item-type-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-at-least-one-type-match.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-enum-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-format-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-number-constraints-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-read-only-write-only-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/check-type-conflicts.d.ts.map +0 -1
- package/script/oas/_merge-all-of/cross-product.d.ts.map +0 -1
- package/script/oas/_merge-all-of/decompose-intersection.d.ts.map +0 -1
- package/script/oas/_merge-all-of/decompose-union.d.ts.map +0 -1
- package/script/oas/_merge-all-of/decompose-union.js +0 -56
- package/script/oas/_merge-all-of/generic-merge.d.ts.map +0 -1
- package/script/oas/_merge-all-of/is-equal.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-array-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-boolean-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-enum-values.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-integer-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-intersection.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-number-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-object-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-properties.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-required.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-string-constraints.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-union.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge-union.js +0 -58
- package/script/oas/_merge-all-of/merge.d.ts.map +0 -1
- package/script/oas/_merge-all-of/merge.js +0 -159
- package/script/oas/_merge-all-of/nullable-merge.d.ts.map +0 -1
- package/script/oas/_merge-all-of/nullable-merge.js +0 -17
- package/script/oas/_merge-all-of/types.d.ts.map +0 -1
- package/script/oas/array/toArray.d.ts +0 -81
- package/script/oas/array/toArray.d.ts.map +0 -1
- package/script/oas/array/toArray.js +0 -222
- package/script/oas/boolean/toBoolean.d.ts +0 -79
- package/script/oas/boolean/toBoolean.d.ts.map +0 -1
- package/script/oas/boolean/toBoolean.js +0 -217
- package/script/oas/components/toComponentsV3.d.ts +0 -12
- package/script/oas/components/toComponentsV3.d.ts.map +0 -1
- package/script/oas/components/toComponentsV3.js +0 -43
- package/script/oas/contact/toContactV3.d.ts +0 -6
- package/script/oas/contact/toContactV3.d.ts.map +0 -1
- package/script/oas/contact/toContactV3.js +0 -22
- package/script/oas/discriminator/toDiscriminatorV3.d.ts +0 -12
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +0 -1
- package/script/oas/discriminator/toDiscriminatorV3.js +0 -24
- package/script/oas/document/toDocumentFieldsV3.d.ts +0 -12
- package/script/oas/document/toDocumentFieldsV3.d.ts.map +0 -1
- package/script/oas/document/toDocumentFieldsV3.js +0 -34
- package/script/oas/example/toExamplesV3.d.ts +0 -69
- package/script/oas/example/toExamplesV3.d.ts.map +0 -1
- package/script/oas/example/toExamplesV3.js +0 -95
- package/script/oas/externalDocs/toExternalDocs.d.ts +0 -12
- package/script/oas/externalDocs/toExternalDocs.d.ts.map +0 -1
- package/script/oas/externalDocs/toExternalDocs.js +0 -52
- package/script/oas/header/toHeadersV3.d.ts +0 -13
- package/script/oas/header/toHeadersV3.d.ts.map +0 -1
- package/script/oas/header/toHeadersV3.js +0 -51
- package/script/oas/info/toInfoV3.d.ts +0 -12
- package/script/oas/info/toInfoV3.d.ts.map +0 -1
- package/script/oas/info/toInfoV3.js +0 -27
- package/script/oas/integer/toInteger.d.ts +0 -21
- package/script/oas/integer/toInteger.d.ts.map +0 -1
- package/script/oas/integer/toInteger.js +0 -155
- package/script/oas/license/toLicenseV3.d.ts +0 -6
- package/script/oas/license/toLicenseV3.d.ts.map +0 -1
- package/script/oas/license/toLicenseV3.js +0 -21
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts +0 -316
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +0 -1
- package/script/oas/mediaType/toMediaTypeItemV3.js +0 -320
- package/script/oas/number/toNumber.d.ts +0 -12
- package/script/oas/number/toNumber.d.ts.map +0 -1
- package/script/oas/number/toNumber.js +0 -154
- package/script/oas/object/toAdditionalPropertiesV3.d.ts +0 -13
- package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +0 -1
- package/script/oas/object/toObject.d.ts +0 -12
- package/script/oas/object/toObject.d.ts.map +0 -1
- package/script/oas/object/toObject.js +0 -97
- package/script/oas/operation/toOperationsV3.d.ts +0 -26
- package/script/oas/operation/toOperationsV3.d.ts.map +0 -1
- package/script/oas/operation/toOperationsV3.js +0 -110
- package/script/oas/parameter/toParameterV3.d.ts +0 -25
- package/script/oas/parameter/toParameterV3.d.ts.map +0 -1
- package/script/oas/parameter/toParameterV3.js +0 -157
- package/script/oas/pathItem/toPathItemV3.d.ts +0 -12
- package/script/oas/pathItem/toPathItemV3.d.ts.map +0 -1
- package/script/oas/pathItem/toPathItemV3.js +0 -22
- package/script/oas/ref/toRefV31.d.ts +0 -14
- package/script/oas/ref/toRefV31.d.ts.map +0 -1
- package/script/oas/ref/toRefV31.js +0 -17
- package/script/oas/requestBody/toRequestBodiesV3.d.ts +0 -20
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +0 -1
- package/script/oas/requestBody/toRequestBodiesV3.js +0 -49
- package/script/oas/response/toResponseV3.d.ts +0 -25
- package/script/oas/response/toResponseV3.d.ts.map +0 -1
- package/script/oas/response/toResponseV3.js +0 -62
- package/script/oas/schema/toSchemasV3.d.ts +0 -31
- package/script/oas/schema/toSchemasV3.d.ts.map +0 -1
- package/script/oas/schema/toSchemasV3.js +0 -237
- package/script/oas/securityRequirement/toSecurityRequirement.d.ts +0 -11
- package/script/oas/securityRequirement/toSecurityRequirement.d.ts.map +0 -1
- package/script/oas/securityRequirement/toSecurityRequirement.js +0 -13
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts +0 -13
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts.map +0 -1
- package/script/oas/securitySchemes/toSecuritySchemes.js +0 -126
- package/script/oas/server/toServerV3.d.ts +0 -24
- package/script/oas/server/toServerV3.d.ts.map +0 -1
- package/script/oas/server/toServerV3.js +0 -36
- package/script/oas/serverVariable/toServerVariableV3.d.ts +0 -24
- package/script/oas/serverVariable/toServerVariableV3.d.ts.map +0 -1
- package/script/oas/serverVariable/toServerVariableV3.js +0 -36
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +0 -16
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +0 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +0 -30
- package/script/oas/string/toString.d.ts +0 -147
- package/script/oas/string/toString.d.ts.map +0 -1
- package/script/oas/string/toString.js +0 -290
- package/script/oas/tag/toTagsV3.d.ts +0 -18
- package/script/oas/tag/toTagsV3.d.ts.map +0 -1
- package/script/oas/tag/toTagsV3.js +0 -29
- package/script/oas/union/toUnion.d.ts +0 -14
- package/script/oas/union/toUnion.d.ts.map +0 -1
- package/script/oas/union/toUnion.js +0 -36
- package/script/oas/unknown/toUnknown.d.ts +0 -12
- package/script/oas/unknown/toUnknown.d.ts.map +0 -1
- package/script/oas/unknown/toUnknown.js +0 -23
- package/script/types/PrettierConfig.d.ts +0 -101
- package/script/types/PrettierConfig.d.ts.map +0 -1
- package/script/types/PrettierConfig.js +0 -135
- package/script/typescript/FunctionParameter.d.ts +0 -349
- package/script/typescript/FunctionParameter.d.ts.map +0 -1
- package/script/typescript/FunctionParameter.js +0 -461
- package/script/typescript/List.d.ts +0 -362
- package/script/typescript/List.d.ts.map +0 -1
- package/script/typescript/List.js +0 -509
- package/script/typescript/PathParams.d.ts +0 -218
- package/script/typescript/PathParams.d.ts.map +0 -1
- package/script/typescript/PathParams.js +0 -243
- package/script/typescript/ReactRouterPathParams.d.ts +0 -210
- package/script/typescript/ReactRouterPathParams.d.ts.map +0 -1
- package/script/typescript/ReactRouterPathParams.js +0 -236
- package/script/typescript/identifiers.d.ts +0 -162
- package/script/typescript/identifiers.d.ts.map +0 -1
- package/script/typescript/identifiers.js +0 -171
- package/script/typescript/keyValues.d.ts +0 -128
- package/script/typescript/keyValues.d.ts.map +0 -1
- package/script/typescript/keyValues.js +0 -139
- package/script/typescript/toPathParams.d.ts +0 -181
- package/script/typescript/toPathParams.d.ts.map +0 -1
- package/script/typescript/toPathParams.js +0 -186
- package/script/typescript/toPathTemplate.d.ts +0 -116
- package/script/typescript/toPathTemplate.d.ts.map +0 -1
- package/script/typescript/toPathTemplate.js +0 -121
- package/script/typescript/withDescription.d.ts +0 -123
- package/script/typescript/withDescription.d.ts.map +0 -1
- package/script/typescript/withDescription.js +0 -126
- /package/esm/{dsl/operation/types.js → _dnt.polyfills.js} +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.23}/exists.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
- /package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
- /package/esm/{oas → parse/v3-0}/_helpers/parseNullable.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/cross-product.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/cross-product.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/decompose-union.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/generic-merge.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/generic-merge.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/is-equal.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/is-equal.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-intersection.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-intersection.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-properties.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-properties.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-required.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-required.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.js +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge-union.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/merge.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/nullable-merge.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/types.d.ts +0 -0
- /package/esm/{oas → parse/v3-0}/_merge-all-of/types.js +0 -0
- /package/esm/{oas → parse/v3-0}/object/toAdditionalPropertiesV3.js +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-array-item-type-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-at-least-one-type-match.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-enum-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-format-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-number-constraints-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-read-only-write-only-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/check-type-conflicts.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/cross-product.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/decompose-intersection.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/decompose-union.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/generic-merge.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/is-equal.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-array-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-boolean-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-enum-values.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-integer-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-intersection.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-number-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-object-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-properties.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-required.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-string-constraints.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge-union.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/merge.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/nullable-merge.d.ts +0 -0
- /package/{script/oas → esm/parse/v3-1}/_merge-all-of/types.d.ts +0 -0
- /package/script/{dsl/operation/types.js → _dnt.polyfills.js} +0 -0
- /package/script/deps/jsr.io/@std/fs/{1.0.20 → 1.0.23}/exists.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/_os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/internal/{1.0.12 → 1.0.13}/os.d.ts +0 -0
- /package/script/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/assert_path.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/constants.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/_common/normalize_string.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/posix/normalize.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/_util.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/from_file_url.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/join.js +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.d.ts +0 -0
- /package/script/deps/jsr.io/@std/path/{1.1.3 → 1.1.4}/windows/normalize.js +0 -0
- /package/script/{oas → parse/v3-0}/_helpers/parseNullable.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-array-item-type-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-at-least-one-type-match.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-enum-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-format-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-number-constraints-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-read-only-write-only-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/check-type-conflicts.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/cross-product.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/decompose-intersection.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/generic-merge.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/is-equal.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-array-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-boolean-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-enum-values.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-integer-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-intersection.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-number-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-object-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-properties.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-required.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/merge-string-constraints.js +0 -0
- /package/script/{oas → parse/v3-0}/_merge-all-of/types.js +0 -0
- /package/script/{oas → parse/v3-0}/object/toAdditionalPropertiesV3.js +0 -0
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { OasNumber } from '../../../oas/number/Number.js';
|
|
2
|
+
import { toSpecificationExtensionsV3 } from '../specificationExtensions/toSpecificationExtensionsV3.js';
|
|
3
|
+
import { oasNumberData, numberFormat } from '../../../oas/number/number-types.js';
|
|
4
|
+
import { parseNullable } from '../_helpers/parseNullable.js';
|
|
5
|
+
import { parseEnum } from '../_helpers/parseEnum.js';
|
|
6
|
+
import { parseExample } from '../_helpers/parseExample.js';
|
|
7
|
+
import { parseDefault } from '../_helpers/parseDefault.js';
|
|
8
|
+
import * as v from 'valibot';
|
|
9
|
+
export const toNumber = ({ context, value, stackTrail }) => {
|
|
10
|
+
const { nullable, value: valueWithoutNullable } = parseNullable({
|
|
11
|
+
value,
|
|
12
|
+
context,
|
|
13
|
+
stackTrail
|
|
14
|
+
});
|
|
15
|
+
const { example: unparsedExample, ...valueWithoutExample } = valueWithoutNullable;
|
|
16
|
+
const example = parseExample({
|
|
17
|
+
value: unparsedExample,
|
|
18
|
+
context,
|
|
19
|
+
parent: valueWithoutNullable,
|
|
20
|
+
nullable,
|
|
21
|
+
check: isNumber,
|
|
22
|
+
toMessage: item => `Removed invalid example. Expected "number", got: ${item}`,
|
|
23
|
+
stackTrail
|
|
24
|
+
});
|
|
25
|
+
const { enum: unparsedEnums, ...valueWithoutEnums } = valueWithoutExample;
|
|
26
|
+
const enums = parseEnum({
|
|
27
|
+
value: unparsedEnums,
|
|
28
|
+
nullable,
|
|
29
|
+
stackTrail,
|
|
30
|
+
parent: valueWithoutExample,
|
|
31
|
+
context,
|
|
32
|
+
check: isNumber,
|
|
33
|
+
toMessage: item => `Removed invalid enum. Expected "number", got: ${item}`
|
|
34
|
+
});
|
|
35
|
+
const { default: unparsedDefaultValue, ...valueWithoutDefault } = valueWithoutEnums;
|
|
36
|
+
const defaultValue = parseDefault({
|
|
37
|
+
value: unparsedDefaultValue,
|
|
38
|
+
context,
|
|
39
|
+
parent: valueWithoutEnums,
|
|
40
|
+
nullable,
|
|
41
|
+
check: isNumber,
|
|
42
|
+
toMessage: item => `Removed invalid default. Expected "number", got: ${item}`,
|
|
43
|
+
stackTrail
|
|
44
|
+
});
|
|
45
|
+
return toParsedNumber({
|
|
46
|
+
context,
|
|
47
|
+
nullable,
|
|
48
|
+
example,
|
|
49
|
+
enums,
|
|
50
|
+
defaultValue,
|
|
51
|
+
value: valueWithoutDefault,
|
|
52
|
+
stackTrail
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
const toParsedNumber = ({ context, nullable, example, enums, defaultValue, value: valueWithoutEnums, stackTrail }) => {
|
|
56
|
+
const { format: unparsedFormat, ...valueWithoutFormat } = valueWithoutEnums;
|
|
57
|
+
const format = parseNumberFormat({
|
|
58
|
+
format: unparsedFormat,
|
|
59
|
+
context,
|
|
60
|
+
stackTrail,
|
|
61
|
+
parent: valueWithoutEnums
|
|
62
|
+
});
|
|
63
|
+
if (!v.is(oasNumberData, valueWithoutFormat)) {
|
|
64
|
+
v.parse(oasNumberData, valueWithoutFormat);
|
|
65
|
+
}
|
|
66
|
+
const { type: _type, title, description, multipleOf, maximum, exclusiveMaximum, minimum, exclusiveMinimum, readOnly, writeOnly, deprecated, ...skipped } = valueWithoutFormat;
|
|
67
|
+
const extensionFields = toSpecificationExtensionsV3({
|
|
68
|
+
skipped,
|
|
69
|
+
parent: valueWithoutFormat,
|
|
70
|
+
context,
|
|
71
|
+
stackTrail,
|
|
72
|
+
parentType: 'schema:number'
|
|
73
|
+
});
|
|
74
|
+
return context.withStackTrail(stackTrail, () => new OasNumber({
|
|
75
|
+
title,
|
|
76
|
+
description,
|
|
77
|
+
nullable,
|
|
78
|
+
default: defaultValue,
|
|
79
|
+
extensionFields,
|
|
80
|
+
example,
|
|
81
|
+
enums,
|
|
82
|
+
format,
|
|
83
|
+
multipleOf,
|
|
84
|
+
maximum,
|
|
85
|
+
exclusiveMaximum,
|
|
86
|
+
minimum,
|
|
87
|
+
readOnly,
|
|
88
|
+
writeOnly,
|
|
89
|
+
exclusiveMinimum,
|
|
90
|
+
deprecated
|
|
91
|
+
}, context));
|
|
92
|
+
};
|
|
93
|
+
const parseNumberFormat = ({ format, context, parent, stackTrail }) => {
|
|
94
|
+
if (format === undefined) {
|
|
95
|
+
return undefined;
|
|
96
|
+
}
|
|
97
|
+
if (!v.is(numberFormat, format)) {
|
|
98
|
+
context.logIssue({
|
|
99
|
+
key: 'format',
|
|
100
|
+
level: 'warning',
|
|
101
|
+
message: `Invalid format: ${format}`,
|
|
102
|
+
parent,
|
|
103
|
+
stackTrail,
|
|
104
|
+
type: 'INVALID_FORMAT'
|
|
105
|
+
});
|
|
106
|
+
return undefined;
|
|
107
|
+
}
|
|
108
|
+
return format;
|
|
109
|
+
};
|
|
110
|
+
const isNumber = (value) => {
|
|
111
|
+
return typeof value === 'number';
|
|
112
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
+
import type { ParseContextType } from '../../../context/parseTypes.js';
|
|
3
|
+
import type { OasSchema } from '../../../oas/schema/Schema.js';
|
|
4
|
+
import type { OasRef } from '../../../oas/ref/Ref.js';
|
|
5
|
+
import type { StackTrail } from '../../../context/StackTrail.js';
|
|
6
|
+
export type ToAdditionalPropertiesV3Args = {
|
|
7
|
+
additionalProperties: boolean | OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject | undefined;
|
|
8
|
+
stackTrail: StackTrail;
|
|
9
|
+
context: ParseContextType;
|
|
10
|
+
};
|
|
11
|
+
export declare const toAdditionalPropertiesV3: ({ additionalProperties, stackTrail, context }: ToAdditionalPropertiesV3Args) => OasSchema | OasRef<"schema"> | boolean | undefined;
|
|
12
|
+
//# sourceMappingURL=toAdditionalPropertiesV3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toAdditionalPropertiesV3.d.ts","sourceRoot":"","sources":["../../../../src/parse/v3-1/object/toAdditionalPropertiesV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAEtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAEhE,MAAM,MAAM,4BAA4B,GAAG;IACzC,oBAAoB,EAAE,OAAO,GAAG,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,YAAY,GAAG,SAAS,CAAA;IAC9F,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAI,+CAItC,4BAA4B,KAAG,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,GAAG,SAU1E,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { toSchemaV3 } from '../schema/toSchemasV3.js';
|
|
2
|
+
export const toAdditionalPropertiesV3 = ({ additionalProperties, stackTrail, context }) => {
|
|
3
|
+
if (typeof additionalProperties === 'boolean') {
|
|
4
|
+
return additionalProperties;
|
|
5
|
+
}
|
|
6
|
+
if (additionalProperties === undefined) {
|
|
7
|
+
return undefined;
|
|
8
|
+
}
|
|
9
|
+
return toSchemaV3({ schema: additionalProperties, stackTrail, context });
|
|
10
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
+
import type { ParseContextType } from '../../../context/parseTypes.js';
|
|
3
|
+
import { OasObject } from '../../../oas/object/Object.js';
|
|
4
|
+
import type { StackTrail } from '../../../context/StackTrail.js';
|
|
5
|
+
export type ToObjectArgs = {
|
|
6
|
+
value: OpenAPIV3.SchemaObject;
|
|
7
|
+
context: ParseContextType;
|
|
8
|
+
stackTrail: StackTrail;
|
|
9
|
+
};
|
|
10
|
+
export declare const toObject: ({ value, context, stackTrail }: ToObjectArgs) => OasObject;
|
|
11
|
+
//# sourceMappingURL=toObject.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toObject.d.ts","sourceRoot":"","sources":["../../../../src/parse/v3-1/object/toObject.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AASzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAEhE,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,SAAS,CAAC,YAAY,CAAA;IAC7B,OAAO,EAAE,gBAAgB,CAAA;IACzB,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA;AAED,eAAO,MAAM,QAAQ,GAAI,gCAAgC,YAAY,KAAG,SAoDvE,CAAA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { OasObject } from '../../../oas/object/Object.js';
|
|
2
|
+
import { toOptionalSchemasV3 } from '../schema/toSchemasV3.js';
|
|
3
|
+
import { toAdditionalPropertiesV3 } from './toAdditionalPropertiesV3.js';
|
|
4
|
+
import { toSpecificationExtensionsV3 } from '../specificationExtensions/toSpecificationExtensionsV3.js';
|
|
5
|
+
import { parseNullable } from '../_helpers/parseNullable.js';
|
|
6
|
+
import { parseEnum } from '../_helpers/parseEnum.js';
|
|
7
|
+
import { parseExample } from '../_helpers/parseExample.js';
|
|
8
|
+
import { parseDefault } from '../_helpers/parseDefault.js';
|
|
9
|
+
export const toObject = ({ value, context, stackTrail }) => {
|
|
10
|
+
const { nullable, value: valueWithoutNullable } = parseNullable({
|
|
11
|
+
value,
|
|
12
|
+
context,
|
|
13
|
+
stackTrail
|
|
14
|
+
});
|
|
15
|
+
const { example: unparsedExample, ...valueWithoutExample } = valueWithoutNullable;
|
|
16
|
+
const example = parseExample({
|
|
17
|
+
value: unparsedExample,
|
|
18
|
+
context,
|
|
19
|
+
parent: valueWithoutNullable,
|
|
20
|
+
nullable,
|
|
21
|
+
check: isObject,
|
|
22
|
+
toMessage: item => `Removed invalid example. Expected "object", got: ${item}`,
|
|
23
|
+
stackTrail
|
|
24
|
+
});
|
|
25
|
+
const { enum: unparsedEnums, ...valueWithoutEnums } = valueWithoutExample;
|
|
26
|
+
const enums = parseEnum({
|
|
27
|
+
value: unparsedEnums,
|
|
28
|
+
nullable,
|
|
29
|
+
parent: valueWithoutExample,
|
|
30
|
+
context,
|
|
31
|
+
stackTrail,
|
|
32
|
+
check: isObject,
|
|
33
|
+
toMessage: item => `Removed invalid enum. Expected "object", got: ${item}`
|
|
34
|
+
});
|
|
35
|
+
const { default: unparsedDefaultValue, ...valueWithoutDefault } = valueWithoutEnums;
|
|
36
|
+
const defaultValue = parseDefault({
|
|
37
|
+
value: unparsedDefaultValue,
|
|
38
|
+
context,
|
|
39
|
+
parent: valueWithoutEnums,
|
|
40
|
+
nullable,
|
|
41
|
+
check: isObject,
|
|
42
|
+
toMessage: item => `Removed invalid default. Expected "object", got: ${item}`,
|
|
43
|
+
stackTrail
|
|
44
|
+
});
|
|
45
|
+
return toParsedObject({
|
|
46
|
+
context,
|
|
47
|
+
nullable,
|
|
48
|
+
example,
|
|
49
|
+
enums,
|
|
50
|
+
defaultValue,
|
|
51
|
+
value: valueWithoutDefault,
|
|
52
|
+
stackTrail
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
const toParsedObject = ({ context, stackTrail, nullable, example, enums, defaultValue, value }) => {
|
|
56
|
+
const { type: _type, title, description, deprecated, properties, required, maxProperties, minProperties, additionalProperties, readOnly, writeOnly, ...skipped } = value;
|
|
57
|
+
const extensionFields = toSpecificationExtensionsV3({
|
|
58
|
+
skipped,
|
|
59
|
+
parent: value,
|
|
60
|
+
context,
|
|
61
|
+
stackTrail,
|
|
62
|
+
parentType: 'schema:object'
|
|
63
|
+
});
|
|
64
|
+
return context.withStackTrail(stackTrail, () => new OasObject({
|
|
65
|
+
title,
|
|
66
|
+
description,
|
|
67
|
+
nullable,
|
|
68
|
+
example,
|
|
69
|
+
enums,
|
|
70
|
+
properties: stackTrail.trace('properties', st => toOptionalSchemasV3({
|
|
71
|
+
schemas: properties,
|
|
72
|
+
stackTrail: st,
|
|
73
|
+
context
|
|
74
|
+
})),
|
|
75
|
+
required,
|
|
76
|
+
maxProperties,
|
|
77
|
+
minProperties,
|
|
78
|
+
additionalProperties: stackTrail.trace('additionalProperties', st => toAdditionalPropertiesV3({ additionalProperties, stackTrail: st, context })),
|
|
79
|
+
extensionFields,
|
|
80
|
+
default: defaultValue,
|
|
81
|
+
deprecated,
|
|
82
|
+
readOnly,
|
|
83
|
+
writeOnly
|
|
84
|
+
}, context));
|
|
85
|
+
};
|
|
86
|
+
const isObject = (value) => {
|
|
87
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
88
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
+
import type { Method } from '../../../types/Method.js';
|
|
3
|
+
import type { ParseContextType } from '../../../context/parseTypes.js';
|
|
4
|
+
import { OasOperation } from '../../../oas/operation/Operation.js';
|
|
5
|
+
import type { OasPathItem } from '../../../oas/pathItem/PathItem.js';
|
|
6
|
+
import type { StackTrail } from '../../../context/StackTrail.js';
|
|
7
|
+
type OperationInfo = {
|
|
8
|
+
method: Method;
|
|
9
|
+
path: string;
|
|
10
|
+
pathItem: OasPathItem | undefined;
|
|
11
|
+
};
|
|
12
|
+
export type ToOperationV3Args = {
|
|
13
|
+
operation: OpenAPIV3.OperationObject;
|
|
14
|
+
operationInfo: OperationInfo;
|
|
15
|
+
stackTrail: StackTrail;
|
|
16
|
+
context: ParseContextType;
|
|
17
|
+
};
|
|
18
|
+
export declare const toOperationV3: ({ operation, operationInfo, stackTrail, context }: ToOperationV3Args) => OasOperation;
|
|
19
|
+
export type ToOperationsV3Args = {
|
|
20
|
+
paths: OpenAPIV3.PathsObject | undefined;
|
|
21
|
+
stackTrail: StackTrail;
|
|
22
|
+
context: ParseContextType;
|
|
23
|
+
};
|
|
24
|
+
export declare const toOperationsV3: ({ paths, stackTrail, context }: ToOperationsV3Args) => OasOperation[];
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=toOperationsV3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toOperationsV3.d.ts","sourceRoot":"","sources":["../../../../src/parse/v3-1/operation/toOperationsV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAA;AACtD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAItE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AAElE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAOpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAEhE,KAAK,aAAa,GAAG;IACnB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,WAAW,GAAG,SAAS,CAAA;CAClC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,SAAS,CAAC,eAAe,CAAA;IACpC,aAAa,EAAE,aAAa,CAAA;IAC5B,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAOD,eAAO,MAAM,aAAa,GAAI,mDAK3B,iBAAiB,KAAG,YAmEtB,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAG/B,KAAK,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,CAAA;IACxC,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,gCAI5B,kBAAkB,KAAG,YAAY,EAiFnC,CAAA"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { toRequestBodyV3 } from '../requestBody/toRequestBodiesV3.js';
|
|
2
|
+
import { toResponsesV3 } from '../response/toResponseV3.js';
|
|
3
|
+
import { toParameterListV3 } from '../parameter/toParameterV3.js';
|
|
4
|
+
import { OasOperation } from '../../../oas/operation/Operation.js';
|
|
5
|
+
import { toPathItemV3 } from '../pathItem/toPathItemV3.js';
|
|
6
|
+
import { methodValues } from '../../../types/Method.js';
|
|
7
|
+
import { toSpecificationExtensionsV3 } from '../specificationExtensions/toSpecificationExtensionsV3.js';
|
|
8
|
+
import { toSecurityRequirementsV3 } from '../securityRequirement/toSecurityRequirement.js';
|
|
9
|
+
import { isEmpty } from '../../../helpers/isEmpty.js';
|
|
10
|
+
import { toExternalDocs } from '../externalDocs/toExternalDocs.js';
|
|
11
|
+
import { toOptionalServersV3 } from '../server/toServerV3.js';
|
|
12
|
+
export const toOperationV3 = ({ operation, operationInfo, stackTrail, context }) => {
|
|
13
|
+
const { method, path, pathItem } = operationInfo;
|
|
14
|
+
const { operationId, tags, summary, description, parameters, requestBody, responses, deprecated, security, externalDocs, servers, ...skipped } = operation;
|
|
15
|
+
const extensionFields = toSpecificationExtensionsV3({
|
|
16
|
+
skipped,
|
|
17
|
+
parent: operation,
|
|
18
|
+
context,
|
|
19
|
+
stackTrail,
|
|
20
|
+
parentType: 'operation'
|
|
21
|
+
});
|
|
22
|
+
const parsedParameters = stackTrail.trace('parameters', st => toParameterListV3({ parameters, stackTrail: st, context }));
|
|
23
|
+
const parsedRequestBody = stackTrail.trace('requestBody', st => toRequestBodyV3({ requestBody, stackTrail: st, context }));
|
|
24
|
+
const parsedResponses = stackTrail.trace('responses', st => toResponsesV3({ responses, stackTrail: st, context }));
|
|
25
|
+
const parsedSecurity = stackTrail.trace('security', st => toSecurityRequirementsV3({ security, stackTrail: st, context }));
|
|
26
|
+
const parsedExternalDocs = stackTrail.trace('externalDocs', st => toExternalDocs({ externalDocs, stackTrail: st, context }));
|
|
27
|
+
const parsedServers = stackTrail.trace('servers', st => toOptionalServersV3({ servers, stackTrail: st, context }));
|
|
28
|
+
return context.withStackTrail(stackTrail, () => new OasOperation({
|
|
29
|
+
pathItem,
|
|
30
|
+
path,
|
|
31
|
+
method,
|
|
32
|
+
operationId,
|
|
33
|
+
summary,
|
|
34
|
+
tags,
|
|
35
|
+
description,
|
|
36
|
+
parameters: parsedParameters,
|
|
37
|
+
requestBody: parsedRequestBody,
|
|
38
|
+
responses: parsedResponses,
|
|
39
|
+
deprecated,
|
|
40
|
+
security: parsedSecurity,
|
|
41
|
+
externalDocs: parsedExternalDocs,
|
|
42
|
+
servers: parsedServers,
|
|
43
|
+
extensionFields
|
|
44
|
+
}, context));
|
|
45
|
+
};
|
|
46
|
+
export const toOperationsV3 = ({ paths, stackTrail, context }) => {
|
|
47
|
+
if (!paths) {
|
|
48
|
+
return [];
|
|
49
|
+
}
|
|
50
|
+
return Object.entries(paths).flatMap(([path, pathItem]) => {
|
|
51
|
+
return stackTrail.trace(path, pathStack => {
|
|
52
|
+
if (!pathItem) {
|
|
53
|
+
return [];
|
|
54
|
+
}
|
|
55
|
+
const cleaned = Object.entries(pathItem).reduce(({ rest, methodObject }, [key, operation]) => {
|
|
56
|
+
const isMethod = methodValues.includes(key);
|
|
57
|
+
if (isMethod) {
|
|
58
|
+
const { [key]: _deleted, ...remaining } = rest;
|
|
59
|
+
return {
|
|
60
|
+
rest: remaining,
|
|
61
|
+
methodObject: {
|
|
62
|
+
...methodObject,
|
|
63
|
+
[key]: operation
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
return { rest, methodObject };
|
|
68
|
+
}, {
|
|
69
|
+
rest: pathItem,
|
|
70
|
+
methodObject: {}
|
|
71
|
+
});
|
|
72
|
+
const pathItemObject = !isEmpty(cleaned.rest)
|
|
73
|
+
? toPathItemV3({ pathItem: cleaned.rest, stackTrail: pathStack, context })
|
|
74
|
+
: undefined;
|
|
75
|
+
return Object.entries(cleaned.methodObject)
|
|
76
|
+
.map(([method, operation]) => {
|
|
77
|
+
// Use `pathStack` (the trail with `path` already pushed),
|
|
78
|
+
// not the outer `stackTrail` — otherwise downstream traces
|
|
79
|
+
// record paths:<method>:... and lose the actual path
|
|
80
|
+
// segment, which breaks `OasDocument.removeItem` and the
|
|
81
|
+
// dependency-ref invalidation it backs.
|
|
82
|
+
return pathStack.trace(method, st => {
|
|
83
|
+
if (!operation) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
try {
|
|
87
|
+
return toOperationV3({
|
|
88
|
+
operation,
|
|
89
|
+
operationInfo: {
|
|
90
|
+
method: method,
|
|
91
|
+
path,
|
|
92
|
+
pathItem: pathItemObject
|
|
93
|
+
},
|
|
94
|
+
stackTrail: st,
|
|
95
|
+
context
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
catch (error) {
|
|
99
|
+
const normalized = error instanceof Error ? error : new Error(String(error));
|
|
100
|
+
context.logIssue({
|
|
101
|
+
key: method,
|
|
102
|
+
parent: operation,
|
|
103
|
+
level: 'error',
|
|
104
|
+
message: normalized.message,
|
|
105
|
+
cause: normalized,
|
|
106
|
+
stackTrail: st,
|
|
107
|
+
type: 'INVALID_OPERATION'
|
|
108
|
+
});
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
})
|
|
113
|
+
.filter((item) => Boolean(item));
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ParseContextType } from '../../../context/parseTypes.js';
|
|
2
|
+
import { type OasParameterLocation } from '../../../oas/parameter/parameter-types.js';
|
|
3
|
+
import type { OpenAPIV3 } from 'openapi-types';
|
|
4
|
+
import { OasParameter } from '../../../oas/parameter/Parameter.js';
|
|
5
|
+
import type { OasRef } from '../../../oas/ref/Ref.js';
|
|
6
|
+
import type { StackTrail } from '../../../context/StackTrail.js';
|
|
7
|
+
export type ToParameterListV3Args = {
|
|
8
|
+
parameters: (OpenAPIV3.ParameterObject | OpenAPIV3.ReferenceObject)[] | undefined;
|
|
9
|
+
stackTrail: StackTrail;
|
|
10
|
+
context: ParseContextType;
|
|
11
|
+
};
|
|
12
|
+
export declare const toParameterListV3: ({ parameters, stackTrail, context }: ToParameterListV3Args) => (OasParameter | OasRef<"parameter">)[] | undefined;
|
|
13
|
+
export type ToParametersV3Args = {
|
|
14
|
+
parameters: Record<string, OpenAPIV3.ParameterObject | OpenAPIV3.ReferenceObject>;
|
|
15
|
+
stackTrail: StackTrail;
|
|
16
|
+
context: ParseContextType;
|
|
17
|
+
};
|
|
18
|
+
export declare const toParametersV3: ({ parameters, stackTrail, context }: ToParametersV3Args) => Record<string, OasParameter | OasRef<"parameter">>;
|
|
19
|
+
export type ToOptionalParametersV3Args = {
|
|
20
|
+
parameters: Record<string, OpenAPIV3.ParameterObject | OpenAPIV3.ReferenceObject> | undefined;
|
|
21
|
+
stackTrail: StackTrail;
|
|
22
|
+
context: ParseContextType;
|
|
23
|
+
};
|
|
24
|
+
export declare const toOptionalParametersV3: ({ parameters, stackTrail, context }: ToOptionalParametersV3Args) => Record<string, OasParameter | OasRef<"parameter">> | undefined;
|
|
25
|
+
export type ToParameterV3Args = {
|
|
26
|
+
parameter: OpenAPIV3.ParameterObject | OpenAPIV3.ReferenceObject;
|
|
27
|
+
stackTrail: StackTrail;
|
|
28
|
+
context: ParseContextType;
|
|
29
|
+
};
|
|
30
|
+
export type ToStyleArgs = {
|
|
31
|
+
style: string | undefined;
|
|
32
|
+
location: OasParameterLocation;
|
|
33
|
+
stackTrail: StackTrail;
|
|
34
|
+
};
|
|
35
|
+
export type ToExplodeArgs = {
|
|
36
|
+
explode: boolean | undefined;
|
|
37
|
+
style: string | undefined;
|
|
38
|
+
stackTrail: StackTrail;
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=toParameterV3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toParameterV3.d.ts","sourceRoot":"","sources":["../../../../src/parse/v3-1/parameter/toParameterV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAGtE,OAAO,EAGL,KAAK,oBAAoB,EAE1B,MAAM,2CAA2C,CAAA;AAClD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAK9C,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAA;AAElE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAGrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAChE,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,EAAE,CAAC,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,eAAe,CAAC,EAAE,GAAG,SAAS,CAAA;IACjF,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,qCAI/B,qBAAqB,KAAG,CAAC,YAAY,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC,EAAE,GAAG,SAQnE,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,eAAe,CAAC,CAAA;IACjF,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,qCAI5B,kBAAkB,KAAG,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAAC,WAAW,CAAC,CAiBxE,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG;IACvC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,eAAe,CAAC,GAAG,SAAS,CAAA;IAC7F,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,sBAAsB,GAAI,qCAIpC,0BAA0B,KAAG,MAAM,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC,GAAG,SAMpF,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,eAAe,CAAA;IAChE,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AA+ED,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA;AAsBD,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,UAAU,EAAE,UAAU,CAAA;CACvB,CAAA"}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { tryParseAt } from '../../../context/tryParseAt.js';
|
|
2
|
+
import { isRef } from '../../../helpers/refFns.js';
|
|
3
|
+
import { oasParameterLocation, oasParameterStyle } from '../../../oas/parameter/parameter-types.js';
|
|
4
|
+
import { toExamplesV3 } from '../example/toExamplesV3.js';
|
|
5
|
+
import { toRefV31 } from '../ref/toRefV31.js';
|
|
6
|
+
import { toOptionalSchemaV3 } from '../schema/toSchemasV3.js';
|
|
7
|
+
import { toOptionalMediaTypeItemsV3 } from '../mediaType/toMediaTypeItemV3.js';
|
|
8
|
+
import { OasParameter } from '../../../oas/parameter/Parameter.js';
|
|
9
|
+
import { toSpecificationExtensionsV3 } from '../specificationExtensions/toSpecificationExtensionsV3.js';
|
|
10
|
+
import * as v from 'valibot';
|
|
11
|
+
export const toParameterListV3 = ({ parameters, stackTrail, context }) => {
|
|
12
|
+
if (!parameters) {
|
|
13
|
+
return undefined;
|
|
14
|
+
}
|
|
15
|
+
return parameters.map((parameter, index) => {
|
|
16
|
+
return stackTrail.trace(`${index}`, st => toParameterV3({ parameter, stackTrail: st, context }));
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
export const toParametersV3 = ({ parameters, stackTrail, context }) => {
|
|
20
|
+
const output = {};
|
|
21
|
+
const entries = Object.entries(parameters);
|
|
22
|
+
for (const [key, parameter] of entries) {
|
|
23
|
+
const parsed = tryParseAt({
|
|
24
|
+
stackTrail,
|
|
25
|
+
key,
|
|
26
|
+
context,
|
|
27
|
+
type: 'INVALID_PARAMETER',
|
|
28
|
+
parent: parameter,
|
|
29
|
+
fn: st => toParameterV3({ parameter, stackTrail: st, context })
|
|
30
|
+
});
|
|
31
|
+
if (parsed !== undefined) {
|
|
32
|
+
output[key] = parsed;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return output;
|
|
36
|
+
};
|
|
37
|
+
export const toOptionalParametersV3 = ({ parameters, stackTrail, context }) => {
|
|
38
|
+
if (!parameters) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
return toParametersV3({ parameters, stackTrail, context });
|
|
42
|
+
};
|
|
43
|
+
const toParameterV3 = ({ parameter, stackTrail, context }) => {
|
|
44
|
+
if (isRef(parameter)) {
|
|
45
|
+
return toRefV31({ ref: parameter, refType: 'parameter', stackTrail, context });
|
|
46
|
+
}
|
|
47
|
+
const { name, in: location, description, required, deprecated, allowEmptyValue, allowReserved, schema, example, examples, content, style, explode, ...skipped } = parameter;
|
|
48
|
+
const extensionFields = toSpecificationExtensionsV3({
|
|
49
|
+
skipped,
|
|
50
|
+
parent: parameter,
|
|
51
|
+
context,
|
|
52
|
+
stackTrail,
|
|
53
|
+
parentType: 'parameter'
|
|
54
|
+
});
|
|
55
|
+
const parsedLocation = v.parse(oasParameterLocation, location);
|
|
56
|
+
if (parsedLocation === 'path' && !required) {
|
|
57
|
+
console.warn(`Path parameters must be required`);
|
|
58
|
+
}
|
|
59
|
+
// Set missing 'required' to true for path parameters and false for others
|
|
60
|
+
const defaultRequired = typeof required === 'undefined' ? (parsedLocation === 'path' ? true : false) : required;
|
|
61
|
+
const fields = {
|
|
62
|
+
name,
|
|
63
|
+
location: parsedLocation,
|
|
64
|
+
description,
|
|
65
|
+
required: defaultRequired,
|
|
66
|
+
deprecated,
|
|
67
|
+
style: stackTrail.trace('style', st => toStyle({ style, location: parsedLocation, stackTrail: st })),
|
|
68
|
+
explode: stackTrail.trace('explode', st => toExplode({ explode, style, stackTrail: st })),
|
|
69
|
+
allowEmptyValue,
|
|
70
|
+
allowReserved,
|
|
71
|
+
schema: stackTrail.trace('schema', st => toOptionalSchemaV3({ schema, stackTrail: st, context })),
|
|
72
|
+
examples: stackTrail.trace('examples', st => toExamplesV3({
|
|
73
|
+
examples,
|
|
74
|
+
example,
|
|
75
|
+
exampleKey: `${name}-${parsedLocation}`,
|
|
76
|
+
stackTrail: st,
|
|
77
|
+
context
|
|
78
|
+
})),
|
|
79
|
+
content: stackTrail.trace('content', st => toOptionalMediaTypeItemsV3({ content, stackTrail: st, context })),
|
|
80
|
+
extensionFields
|
|
81
|
+
};
|
|
82
|
+
return context.withStackTrail(stackTrail, () => new OasParameter(fields, context));
|
|
83
|
+
};
|
|
84
|
+
const toStyle = ({ style, location, stackTrail }) => {
|
|
85
|
+
const parsed = v.parse(v.optional(oasParameterStyle), style);
|
|
86
|
+
if (parsed !== undefined) {
|
|
87
|
+
return parsed;
|
|
88
|
+
}
|
|
89
|
+
switch (location) {
|
|
90
|
+
case 'path':
|
|
91
|
+
case 'header':
|
|
92
|
+
return 'simple';
|
|
93
|
+
case 'query':
|
|
94
|
+
case 'cookie':
|
|
95
|
+
return 'form';
|
|
96
|
+
default: {
|
|
97
|
+
const _exhaustive = location;
|
|
98
|
+
throw new Error(`Unhandled location: ${_exhaustive}`);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
const toExplode = ({ explode, style, stackTrail }) => {
|
|
103
|
+
if (explode !== undefined) {
|
|
104
|
+
return explode;
|
|
105
|
+
}
|
|
106
|
+
switch (style) {
|
|
107
|
+
case 'form':
|
|
108
|
+
return true;
|
|
109
|
+
default:
|
|
110
|
+
return false;
|
|
111
|
+
}
|
|
112
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
+
import type { ParseContextType } from '../../../context/parseTypes.js';
|
|
3
|
+
import { OasPathItem } from '../../../oas/pathItem/PathItem.js';
|
|
4
|
+
import type { StackTrail } from '../../../context/StackTrail.js';
|
|
5
|
+
export type ToPathItemV3Args = {
|
|
6
|
+
pathItem: OpenAPIV3.PathItemObject;
|
|
7
|
+
stackTrail: StackTrail;
|
|
8
|
+
context: ParseContextType;
|
|
9
|
+
};
|
|
10
|
+
export declare const toPathItemV3: ({ pathItem, stackTrail, context }: ToPathItemV3Args) => OasPathItem;
|
|
11
|
+
//# sourceMappingURL=toPathItemV3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toPathItemV3.d.ts","sourceRoot":"","sources":["../../../../src/parse/v3-1/pathItem/toPathItemV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAEtE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAA;AAE/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAChE,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAC,cAAc,CAAA;IAClC,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,YAAY,GAAI,mCAAmC,gBAAgB,KAAG,WAiBlF,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { toParameterListV3 } from '../parameter/toParameterV3.js';
|
|
2
|
+
import { OasPathItem } from '../../../oas/pathItem/PathItem.js';
|
|
3
|
+
import { toSpecificationExtensionsV3 } from '../specificationExtensions/toSpecificationExtensionsV3.js';
|
|
4
|
+
export const toPathItemV3 = ({ pathItem, stackTrail, context }) => {
|
|
5
|
+
const { summary, description, parameters, ...skipped } = pathItem;
|
|
6
|
+
return new OasPathItem({
|
|
7
|
+
summary,
|
|
8
|
+
description,
|
|
9
|
+
parameters: stackTrail.trace('parameters', st => toParameterListV3({ parameters, stackTrail: st, context })),
|
|
10
|
+
extensionFields: toSpecificationExtensionsV3({
|
|
11
|
+
skipped,
|
|
12
|
+
parent: pathItem,
|
|
13
|
+
context,
|
|
14
|
+
stackTrail,
|
|
15
|
+
parentType: 'pathItem'
|
|
16
|
+
})
|
|
17
|
+
});
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { OpenAPIV3_1 } from 'openapi-types';
|
|
2
|
+
import type { OasRefData } from '../../../oas/ref/ref-types.js';
|
|
3
|
+
import type { ParseContextType } from '../../../context/parseTypes.js';
|
|
4
|
+
import { OasRef } from '../../../oas/ref/Ref.js';
|
|
5
|
+
import type { StackTrail } from '../../../context/StackTrail.js';
|
|
6
|
+
type ToRefV31Args<T extends OasRefData['refType']> = {
|
|
7
|
+
ref: OpenAPIV3_1.ReferenceObject;
|
|
8
|
+
refType: T;
|
|
9
|
+
stackTrail: StackTrail;
|
|
10
|
+
context: ParseContextType;
|
|
11
|
+
/**
|
|
12
|
+
* Use-site nullability to stamp on the OasRef node. Passed explicitly
|
|
13
|
+
* by the single-member `oneOf`/`anyOf` collapse for a nullable
|
|
14
|
+
* reference; omitted everywhere else (a plain `$ref` is non-nullable).
|
|
15
|
+
*/
|
|
16
|
+
nullable?: boolean;
|
|
17
|
+
};
|
|
18
|
+
export declare const toRefV31: <T extends OasRefData["refType"]>({ ref, refType, stackTrail, context, nullable }: ToRefV31Args<T>) => OasRef<T>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=toRefV31.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toRefV31.d.ts","sourceRoot":"","sources":["../../../../src/parse/v3-1/ref/toRefV31.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAChE,KAAK,YAAY,CAAC,CAAC,SAAS,UAAU,CAAC,SAAS,CAAC,IAAI;IACnD,GAAG,EAAE,WAAW,CAAC,eAAe,CAAA;IAChC,OAAO,EAAE,CAAC,CAAA;IACV,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,UAAU,CAAC,SAAS,CAAC,EAAE,iDAMvD,YAAY,CAAC,CAAC,CAAC,KAAG,MAAM,CAAC,CAAC,CAY5B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OasRef } from '../../../oas/ref/Ref.js';
|
|
2
|
+
import { isEmpty } from '../../../helpers/isEmpty.js';
|
|
3
|
+
export const toRefV31 = ({ ref, refType, stackTrail, context, nullable }) => {
|
|
4
|
+
const { $ref, ...skipped } = ref;
|
|
5
|
+
if (!isEmpty(skipped)) {
|
|
6
|
+
context.logSkippedFields({ skipped, parent: ref, parentType: 'ref', stackTrail });
|
|
7
|
+
}
|
|
8
|
+
context.registerRef(stackTrail.clone(), $ref);
|
|
9
|
+
return context.withStackTrail(stackTrail, () => new OasRef({ refType, $ref, nullable }, context));
|
|
10
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
+
import type { ParseContextType } from '../../../context/parseTypes.js';
|
|
3
|
+
import { OasRequestBody } from '../../../oas/requestBody/RequestBody.js';
|
|
4
|
+
import type { OasRef } from '../../../oas/ref/Ref.js';
|
|
5
|
+
import type { StackTrail } from '../../../context/StackTrail.js';
|
|
6
|
+
export type ToRequestBodyV3Args = {
|
|
7
|
+
requestBody: OpenAPIV3.ReferenceObject | OpenAPIV3.RequestBodyObject | undefined;
|
|
8
|
+
forceRef?: boolean;
|
|
9
|
+
stackTrail: StackTrail;
|
|
10
|
+
context: ParseContextType;
|
|
11
|
+
};
|
|
12
|
+
export declare const toRequestBodyV3: ({ requestBody, stackTrail, context }: ToRequestBodyV3Args) => OasRequestBody | OasRef<"requestBody"> | undefined;
|
|
13
|
+
export type ToRequestBodiesV3Args = {
|
|
14
|
+
requestBodies: Record<string, OpenAPIV3.ReferenceObject | OpenAPIV3.RequestBodyObject> | undefined;
|
|
15
|
+
stackTrail: StackTrail;
|
|
16
|
+
context: ParseContextType;
|
|
17
|
+
};
|
|
18
|
+
export declare const toRequestBodiesV3: ({ requestBodies, stackTrail, context }: ToRequestBodiesV3Args) => Record<string, OasRequestBody | OasRef<"requestBody">> | undefined;
|
|
19
|
+
//# sourceMappingURL=toRequestBodiesV3.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toRequestBodiesV3.d.ts","sourceRoot":"","sources":["../../../../src/parse/v3-1/requestBody/toRequestBodiesV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAA;AAItE,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAA;AAExE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAChE,MAAM,MAAM,mBAAmB,GAAG;IAChC,WAAW,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,iBAAiB,GAAG,SAAS,CAAA;IAChF,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,sCAI7B,mBAAmB,KAAG,cAAc,GAAG,MAAM,CAAC,aAAa,CAAC,GAAG,SA6BjE,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,eAAe,GAAG,SAAS,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAA;IAClG,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,wCAI/B,qBAAqB,KAAG,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC,GAAG,SAiBnF,CAAA"}
|