@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
|
@@ -1,316 +0,0 @@
|
|
|
1
|
-
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
3
|
-
import { OasMediaType } from './MediaType.js';
|
|
4
|
-
import type { StackTrail } from '../../context/StackTrail.js';
|
|
5
|
-
/**
|
|
6
|
-
* Arguments for transforming an OpenAPI v3 media type item into an OAS media type.
|
|
7
|
-
*/
|
|
8
|
-
type ToMediaTypeItemV3Args = {
|
|
9
|
-
/** The OpenAPI v3 media type object to transform */
|
|
10
|
-
mediaTypeItem: OpenAPIV3.MediaTypeObject;
|
|
11
|
-
/** The media type string (e.g., 'application/json', 'text/plain') */
|
|
12
|
-
mediaType: string;
|
|
13
|
-
/** The stack trail for tracing */
|
|
14
|
-
stackTrail: StackTrail;
|
|
15
|
-
/** The parsing context for tracing and processing */
|
|
16
|
-
context: ParseContextType;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Transforms an OpenAPI v3 media type object into an internal OAS media type representation.
|
|
20
|
-
*
|
|
21
|
-
* This function processes OpenAPI v3 MediaType objects, extracting schema definitions,
|
|
22
|
-
* examples, encoding information, and specification extensions. It creates a structured
|
|
23
|
-
* internal representation that can be used by the SKMTC pipeline for code generation
|
|
24
|
-
* and validation.
|
|
25
|
-
*
|
|
26
|
-
* The transformation handles all standard OpenAPI v3 MediaType properties including
|
|
27
|
-
* schema references, inline schemas, examples, encoding specifications, and custom
|
|
28
|
-
* extension fields that begin with 'x-'.
|
|
29
|
-
*
|
|
30
|
-
* @param args - Transformation arguments
|
|
31
|
-
* @param args.mediaTypeItem - The OpenAPI v3 media type object to process
|
|
32
|
-
* @param args.mediaType - The media type identifier (MIME type)
|
|
33
|
-
* @param args.context - Parsing context for tracing and error handling
|
|
34
|
-
* @returns Structured OAS media type object for internal processing
|
|
35
|
-
*
|
|
36
|
-
* @example Transforming JSON media type
|
|
37
|
-
* ```typescript
|
|
38
|
-
* import { toMediaTypeItemV3 } from '@skmtc/core/oas/mediaType';
|
|
39
|
-
*
|
|
40
|
-
* const jsonMediaType = {
|
|
41
|
-
* schema: {
|
|
42
|
-
* type: 'object',
|
|
43
|
-
* properties: {
|
|
44
|
-
* name: { type: 'string' },
|
|
45
|
-
* email: { type: 'string', format: 'email' }
|
|
46
|
-
* }
|
|
47
|
-
* },
|
|
48
|
-
* example: {
|
|
49
|
-
* name: 'John Doe',
|
|
50
|
-
* email: 'john@example.com'
|
|
51
|
-
* }
|
|
52
|
-
* };
|
|
53
|
-
*
|
|
54
|
-
* const result = toMediaTypeItemV3({
|
|
55
|
-
* mediaTypeItem: jsonMediaType,
|
|
56
|
-
* mediaType: 'application/json',
|
|
57
|
-
* context: parseContext
|
|
58
|
-
* });
|
|
59
|
-
*
|
|
60
|
-
* console.log(result.mediaType); // 'application/json'
|
|
61
|
-
* console.log(result.schema); // Processed schema object
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* @example Processing form data with encoding
|
|
65
|
-
* ```typescript
|
|
66
|
-
* const formMediaType = {
|
|
67
|
-
* schema: {
|
|
68
|
-
* type: 'object',
|
|
69
|
-
* properties: {
|
|
70
|
-
* file: { type: 'string', format: 'binary' },
|
|
71
|
-
* metadata: { type: 'string' }
|
|
72
|
-
* }
|
|
73
|
-
* },
|
|
74
|
-
* encoding: {
|
|
75
|
-
* file: {
|
|
76
|
-
* contentType: 'image/png',
|
|
77
|
-
* headers: {
|
|
78
|
-
* 'X-Rate-Limit': {
|
|
79
|
-
* schema: { type: 'integer' }
|
|
80
|
-
* }
|
|
81
|
-
* }
|
|
82
|
-
* }
|
|
83
|
-
* }
|
|
84
|
-
* };
|
|
85
|
-
*
|
|
86
|
-
* const result = toMediaTypeItemV3({
|
|
87
|
-
* mediaTypeItem: formMediaType,
|
|
88
|
-
* mediaType: 'multipart/form-data',
|
|
89
|
-
* context: parseContext
|
|
90
|
-
* });
|
|
91
|
-
*
|
|
92
|
-
* console.log(result.encoding); // Processed encoding configuration
|
|
93
|
-
* ```
|
|
94
|
-
*
|
|
95
|
-
* @example Handling multiple examples
|
|
96
|
-
* ```typescript
|
|
97
|
-
* const mediaTypeWithExamples = {
|
|
98
|
-
* schema: { type: 'string' },
|
|
99
|
-
* examples: {
|
|
100
|
-
* success: {
|
|
101
|
-
* summary: 'Successful response',
|
|
102
|
-
* value: 'Operation completed'
|
|
103
|
-
* },
|
|
104
|
-
* error: {
|
|
105
|
-
* summary: 'Error response',
|
|
106
|
-
* value: 'Operation failed'
|
|
107
|
-
* }
|
|
108
|
-
* }
|
|
109
|
-
* };
|
|
110
|
-
*
|
|
111
|
-
* const result = toMediaTypeItemV3({
|
|
112
|
-
* mediaTypeItem: mediaTypeWithExamples,
|
|
113
|
-
* mediaType: 'text/plain',
|
|
114
|
-
* context: parseContext
|
|
115
|
-
* });
|
|
116
|
-
*
|
|
117
|
-
* console.log(Object.keys(result.examples)); // ['success', 'error']
|
|
118
|
-
* ```
|
|
119
|
-
*/
|
|
120
|
-
export declare const toMediaTypeItemV3: ({ mediaTypeItem, mediaType, stackTrail, context }: ToMediaTypeItemV3Args) => OasMediaType;
|
|
121
|
-
/**
|
|
122
|
-
* Arguments for transforming multiple OpenAPI v3 media type items.
|
|
123
|
-
*/
|
|
124
|
-
type ToMediaTypeItemsV3Args = {
|
|
125
|
-
/** Map of media type strings to OpenAPI v3 MediaType objects */
|
|
126
|
-
content: Record<string, OpenAPIV3.MediaTypeObject>;
|
|
127
|
-
/** The stack trail for tracing */
|
|
128
|
-
stackTrail: StackTrail;
|
|
129
|
-
/** The parsing context for tracing and processing */
|
|
130
|
-
context: ParseContextType;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* Transforms multiple OpenAPI v3 media type objects into internal OAS representations.
|
|
134
|
-
*
|
|
135
|
-
* This function processes a complete content map from OpenAPI v3, transforming each
|
|
136
|
-
* media type entry into its internal OAS representation. It's commonly used to process
|
|
137
|
-
* the `content` property of request bodies, responses, and parameters that support
|
|
138
|
-
* multiple media types.
|
|
139
|
-
*
|
|
140
|
-
* The function maintains the original media type keys while transforming the values
|
|
141
|
-
* into structured OAS media type objects. Each transformation is traced for debugging
|
|
142
|
-
* and error tracking purposes.
|
|
143
|
-
*
|
|
144
|
-
* @param args - Transformation arguments
|
|
145
|
-
* @param args.content - Map of media types to OpenAPI MediaType objects
|
|
146
|
-
* @param args.context - Parsing context for tracing and error handling
|
|
147
|
-
* @returns Map of media type strings to processed OAS media type objects
|
|
148
|
-
*
|
|
149
|
-
* @example Processing multiple content types
|
|
150
|
-
* ```typescript
|
|
151
|
-
* import { toMediaTypeItemsV3 } from '@skmtc/core/oas/mediaType';
|
|
152
|
-
*
|
|
153
|
-
* const content = {
|
|
154
|
-
* 'application/json': {
|
|
155
|
-
* schema: {
|
|
156
|
-
* type: 'object',
|
|
157
|
-
* properties: { message: { type: 'string' } }
|
|
158
|
-
* }
|
|
159
|
-
* },
|
|
160
|
-
* 'application/xml': {
|
|
161
|
-
* schema: {
|
|
162
|
-
* type: 'string'
|
|
163
|
-
* }
|
|
164
|
-
* },
|
|
165
|
-
* 'text/plain': {
|
|
166
|
-
* schema: {
|
|
167
|
-
* type: 'string'
|
|
168
|
-
* },
|
|
169
|
-
* example: 'Plain text response'
|
|
170
|
-
* }
|
|
171
|
-
* };
|
|
172
|
-
*
|
|
173
|
-
* const result = toMediaTypeItemsV3({
|
|
174
|
-
* content,
|
|
175
|
-
* context: parseContext
|
|
176
|
-
* });
|
|
177
|
-
*
|
|
178
|
-
* console.log(Object.keys(result)); // ['application/json', 'application/xml', 'text/plain']
|
|
179
|
-
* console.log(result['application/json'].mediaType); // 'application/json'
|
|
180
|
-
* ```
|
|
181
|
-
*
|
|
182
|
-
* @example Processing request body content types
|
|
183
|
-
* ```typescript
|
|
184
|
-
* const requestBodyContent = {
|
|
185
|
-
* 'application/json': {
|
|
186
|
-
* schema: { $ref: '#/components/schemas/CreateUserRequest' }
|
|
187
|
-
* },
|
|
188
|
-
* 'application/x-www-form-urlencoded': {
|
|
189
|
-
* schema: {
|
|
190
|
-
* type: 'object',
|
|
191
|
-
* properties: {
|
|
192
|
-
* name: { type: 'string' },
|
|
193
|
-
* email: { type: 'string' }
|
|
194
|
-
* }
|
|
195
|
-
* },
|
|
196
|
-
* encoding: {
|
|
197
|
-
* email: {
|
|
198
|
-
* style: 'form',
|
|
199
|
-
* explode: false
|
|
200
|
-
* }
|
|
201
|
-
* }
|
|
202
|
-
* }
|
|
203
|
-
* };
|
|
204
|
-
*
|
|
205
|
-
* const processed = toMediaTypeItemsV3({
|
|
206
|
-
* content: requestBodyContent,
|
|
207
|
-
* context: parseContext
|
|
208
|
-
* });
|
|
209
|
-
*
|
|
210
|
-
* // Each media type is processed with its specific configuration
|
|
211
|
-
* console.log(processed['application/json'].schema); // Reference object
|
|
212
|
-
* console.log(processed['application/x-www-form-urlencoded'].encoding); // Form encoding config
|
|
213
|
-
* ```
|
|
214
|
-
*/
|
|
215
|
-
export declare const toMediaTypeItemsV3: ({ content, stackTrail, context }: ToMediaTypeItemsV3Args) => Record<string, OasMediaType>;
|
|
216
|
-
/**
|
|
217
|
-
* Arguments for optionally transforming OpenAPI v3 media type items.
|
|
218
|
-
*/
|
|
219
|
-
type ToOptionalMediaTypeItemsV3Args = {
|
|
220
|
-
/** Optional map of media type strings to OpenAPI v3 MediaType objects */
|
|
221
|
-
content: Record<string, OpenAPIV3.MediaTypeObject> | undefined;
|
|
222
|
-
/** The stack trail for tracing */
|
|
223
|
-
stackTrail: StackTrail;
|
|
224
|
-
/** The parsing context for tracing and processing */
|
|
225
|
-
context: ParseContextType;
|
|
226
|
-
};
|
|
227
|
-
/**
|
|
228
|
-
* Optionally transforms OpenAPI v3 media type objects when content is provided.
|
|
229
|
-
*
|
|
230
|
-
* This function provides a safe way to process media type content that may or may not
|
|
231
|
-
* be present in the OpenAPI specification. It handles the common pattern where content
|
|
232
|
-
* properties are optional in OpenAPI objects (like responses without bodies or
|
|
233
|
-
* operations without request bodies).
|
|
234
|
-
*
|
|
235
|
-
* When content is undefined, the function returns undefined without processing.
|
|
236
|
-
* When content is provided, it delegates to `toMediaTypeItemsV3` for full processing.
|
|
237
|
-
*
|
|
238
|
-
* @param args - Transformation arguments
|
|
239
|
-
* @param args.content - Optional map of media types to OpenAPI MediaType objects
|
|
240
|
-
* @param args.context - Parsing context for tracing and error handling
|
|
241
|
-
* @returns Map of processed media types if content exists, undefined otherwise
|
|
242
|
-
*
|
|
243
|
-
* @example Handling optional response content
|
|
244
|
-
* ```typescript
|
|
245
|
-
* import { toOptionalMediaTypeItemsV3 } from '@skmtc/core/oas/mediaType';
|
|
246
|
-
*
|
|
247
|
-
* // Response with content
|
|
248
|
-
* const responseWithContent = {
|
|
249
|
-
* description: 'Successful response',
|
|
250
|
-
* content: {
|
|
251
|
-
* 'application/json': {
|
|
252
|
-
* schema: { type: 'object' }
|
|
253
|
-
* }
|
|
254
|
-
* }
|
|
255
|
-
* };
|
|
256
|
-
*
|
|
257
|
-
* const withContent = toOptionalMediaTypeItemsV3({
|
|
258
|
-
* content: responseWithContent.content,
|
|
259
|
-
* context: parseContext
|
|
260
|
-
* });
|
|
261
|
-
* console.log(withContent); // { 'application/json': OasMediaType }
|
|
262
|
-
*
|
|
263
|
-
* // Response without content (like 204 No Content)
|
|
264
|
-
* const responseNoContent = {
|
|
265
|
-
* description: 'No content response'
|
|
266
|
-
* };
|
|
267
|
-
*
|
|
268
|
-
* const noContent = toOptionalMediaTypeItemsV3({
|
|
269
|
-
* content: responseNoContent.content, // undefined
|
|
270
|
-
* context: parseContext
|
|
271
|
-
* });
|
|
272
|
-
* console.log(noContent); // undefined
|
|
273
|
-
* ```
|
|
274
|
-
*
|
|
275
|
-
* @example Processing operations with optional request bodies
|
|
276
|
-
* ```typescript
|
|
277
|
-
* function processOperation(operation: OpenAPIV3.OperationObject) {
|
|
278
|
-
* const requestBodyContent = toOptionalMediaTypeItemsV3({
|
|
279
|
-
* content: operation.requestBody?.content,
|
|
280
|
-
* context: parseContext
|
|
281
|
-
* });
|
|
282
|
-
*
|
|
283
|
-
* if (requestBodyContent) {
|
|
284
|
-
* console.log('Operation has request body with media types:');
|
|
285
|
-
* console.log(Object.keys(requestBodyContent));
|
|
286
|
-
* } else {
|
|
287
|
-
* console.log('Operation has no request body');
|
|
288
|
-
* }
|
|
289
|
-
* }
|
|
290
|
-
* ```
|
|
291
|
-
*
|
|
292
|
-
* @example Safe processing in response handlers
|
|
293
|
-
* ```typescript
|
|
294
|
-
* class ResponseProcessor {
|
|
295
|
-
* processResponse(response: OpenAPIV3.ResponseObject) {
|
|
296
|
-
* const mediaTypes = toOptionalMediaTypeItemsV3({
|
|
297
|
-
* content: response.content,
|
|
298
|
-
* context: this.context
|
|
299
|
-
* });
|
|
300
|
-
*
|
|
301
|
-
* // Safe to check without worrying about undefined content
|
|
302
|
-
* const hasJsonResponse = mediaTypes && 'application/json' in mediaTypes;
|
|
303
|
-
*
|
|
304
|
-
* if (hasJsonResponse) {
|
|
305
|
-
* const jsonMediaType = mediaTypes['application/json'];
|
|
306
|
-
* return this.generateJsonResponseHandler(jsonMediaType);
|
|
307
|
-
* }
|
|
308
|
-
*
|
|
309
|
-
* return this.generateEmptyResponseHandler();
|
|
310
|
-
* }
|
|
311
|
-
* }
|
|
312
|
-
* ```
|
|
313
|
-
*/
|
|
314
|
-
export declare const toOptionalMediaTypeItemsV3: ({ content, stackTrail, context }: ToOptionalMediaTypeItemsV3Args) => Record<string, OasMediaType> | undefined;
|
|
315
|
-
export {};
|
|
316
|
-
//# sourceMappingURL=toMediaTypeItemV3.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toMediaTypeItemV3.d.ts","sourceRoot":"","sources":["../../../src/oas/mediaType/toMediaTypeItemV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAGnE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAE7D;;GAEG;AACH,KAAK,qBAAqB,GAAG;IAC3B,oDAAoD;IACpD,aAAa,EAAE,SAAS,CAAC,eAAe,CAAA;IACxC,qEAAqE;IACrE,SAAS,EAAE,MAAM,CAAA;IACjB,kCAAkC;IAClC,UAAU,EAAE,UAAU,CAAA;IACtB,qDAAqD;IACrD,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqGG;AACH,eAAO,MAAM,iBAAiB,GAAI,mDAK/B,qBAAqB,KAAG,YA8B1B,CAAA;AAED;;GAEG;AACH,KAAK,sBAAsB,GAAG;IAC5B,gEAAgE;IAChE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,eAAe,CAAC,CAAA;IAClD,kCAAkC;IAClC,UAAU,EAAE,UAAU,CAAA;IACtB,qDAAqD;IACrD,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkFG;AACH,eAAO,MAAM,kBAAkB,GAAI,kCAIhC,sBAAsB,KAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAWtD,CAAA;AAED;;GAEG;AACH,KAAK,8BAA8B,GAAG;IACpC,yEAAyE;IACzE,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,eAAe,CAAC,GAAG,SAAS,CAAA;IAC9D,kCAAkC;IAClC,UAAU,EAAE,UAAU,CAAA;IACtB,qDAAqD;IACrD,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AACH,eAAO,MAAM,0BAA0B,GAAI,kCAIxC,8BAA8B,KAAG,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,GAAG,SAMlE,CAAA"}
|
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toOptionalMediaTypeItemsV3 = exports.toMediaTypeItemsV3 = exports.toMediaTypeItemV3 = void 0;
|
|
4
|
-
const toSchemasV3_js_1 = require("../schema/toSchemasV3.js");
|
|
5
|
-
const toExamplesV3_js_1 = require("../example/toExamplesV3.js");
|
|
6
|
-
const MediaType_js_1 = require("./MediaType.js");
|
|
7
|
-
const toSpecificationExtensionsV3_js_1 = require("../specificationExtensions/toSpecificationExtensionsV3.js");
|
|
8
|
-
/**
|
|
9
|
-
* Transforms an OpenAPI v3 media type object into an internal OAS media type representation.
|
|
10
|
-
*
|
|
11
|
-
* This function processes OpenAPI v3 MediaType objects, extracting schema definitions,
|
|
12
|
-
* examples, encoding information, and specification extensions. It creates a structured
|
|
13
|
-
* internal representation that can be used by the SKMTC pipeline for code generation
|
|
14
|
-
* and validation.
|
|
15
|
-
*
|
|
16
|
-
* The transformation handles all standard OpenAPI v3 MediaType properties including
|
|
17
|
-
* schema references, inline schemas, examples, encoding specifications, and custom
|
|
18
|
-
* extension fields that begin with 'x-'.
|
|
19
|
-
*
|
|
20
|
-
* @param args - Transformation arguments
|
|
21
|
-
* @param args.mediaTypeItem - The OpenAPI v3 media type object to process
|
|
22
|
-
* @param args.mediaType - The media type identifier (MIME type)
|
|
23
|
-
* @param args.context - Parsing context for tracing and error handling
|
|
24
|
-
* @returns Structured OAS media type object for internal processing
|
|
25
|
-
*
|
|
26
|
-
* @example Transforming JSON media type
|
|
27
|
-
* ```typescript
|
|
28
|
-
* import { toMediaTypeItemV3 } from '@skmtc/core/oas/mediaType';
|
|
29
|
-
*
|
|
30
|
-
* const jsonMediaType = {
|
|
31
|
-
* schema: {
|
|
32
|
-
* type: 'object',
|
|
33
|
-
* properties: {
|
|
34
|
-
* name: { type: 'string' },
|
|
35
|
-
* email: { type: 'string', format: 'email' }
|
|
36
|
-
* }
|
|
37
|
-
* },
|
|
38
|
-
* example: {
|
|
39
|
-
* name: 'John Doe',
|
|
40
|
-
* email: 'john@example.com'
|
|
41
|
-
* }
|
|
42
|
-
* };
|
|
43
|
-
*
|
|
44
|
-
* const result = toMediaTypeItemV3({
|
|
45
|
-
* mediaTypeItem: jsonMediaType,
|
|
46
|
-
* mediaType: 'application/json',
|
|
47
|
-
* context: parseContext
|
|
48
|
-
* });
|
|
49
|
-
*
|
|
50
|
-
* console.log(result.mediaType); // 'application/json'
|
|
51
|
-
* console.log(result.schema); // Processed schema object
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* @example Processing form data with encoding
|
|
55
|
-
* ```typescript
|
|
56
|
-
* const formMediaType = {
|
|
57
|
-
* schema: {
|
|
58
|
-
* type: 'object',
|
|
59
|
-
* properties: {
|
|
60
|
-
* file: { type: 'string', format: 'binary' },
|
|
61
|
-
* metadata: { type: 'string' }
|
|
62
|
-
* }
|
|
63
|
-
* },
|
|
64
|
-
* encoding: {
|
|
65
|
-
* file: {
|
|
66
|
-
* contentType: 'image/png',
|
|
67
|
-
* headers: {
|
|
68
|
-
* 'X-Rate-Limit': {
|
|
69
|
-
* schema: { type: 'integer' }
|
|
70
|
-
* }
|
|
71
|
-
* }
|
|
72
|
-
* }
|
|
73
|
-
* }
|
|
74
|
-
* };
|
|
75
|
-
*
|
|
76
|
-
* const result = toMediaTypeItemV3({
|
|
77
|
-
* mediaTypeItem: formMediaType,
|
|
78
|
-
* mediaType: 'multipart/form-data',
|
|
79
|
-
* context: parseContext
|
|
80
|
-
* });
|
|
81
|
-
*
|
|
82
|
-
* console.log(result.encoding); // Processed encoding configuration
|
|
83
|
-
* ```
|
|
84
|
-
*
|
|
85
|
-
* @example Handling multiple examples
|
|
86
|
-
* ```typescript
|
|
87
|
-
* const mediaTypeWithExamples = {
|
|
88
|
-
* schema: { type: 'string' },
|
|
89
|
-
* examples: {
|
|
90
|
-
* success: {
|
|
91
|
-
* summary: 'Successful response',
|
|
92
|
-
* value: 'Operation completed'
|
|
93
|
-
* },
|
|
94
|
-
* error: {
|
|
95
|
-
* summary: 'Error response',
|
|
96
|
-
* value: 'Operation failed'
|
|
97
|
-
* }
|
|
98
|
-
* }
|
|
99
|
-
* };
|
|
100
|
-
*
|
|
101
|
-
* const result = toMediaTypeItemV3({
|
|
102
|
-
* mediaTypeItem: mediaTypeWithExamples,
|
|
103
|
-
* mediaType: 'text/plain',
|
|
104
|
-
* context: parseContext
|
|
105
|
-
* });
|
|
106
|
-
*
|
|
107
|
-
* console.log(Object.keys(result.examples)); // ['success', 'error']
|
|
108
|
-
* ```
|
|
109
|
-
*/
|
|
110
|
-
const toMediaTypeItemV3 = ({ mediaTypeItem, mediaType, stackTrail, context }) => {
|
|
111
|
-
const { schema, example, examples, encoding, ...skipped } = mediaTypeItem;
|
|
112
|
-
const extensionFields = (0, toSpecificationExtensionsV3_js_1.toSpecificationExtensionsV3)({
|
|
113
|
-
skipped,
|
|
114
|
-
parent: mediaTypeItem,
|
|
115
|
-
context,
|
|
116
|
-
stackTrail,
|
|
117
|
-
parentType: 'mediaType'
|
|
118
|
-
});
|
|
119
|
-
const fields = {
|
|
120
|
-
mediaType,
|
|
121
|
-
encoding,
|
|
122
|
-
schema: stackTrail.trace('schema', st => (0, toSchemasV3_js_1.toOptionalSchemaV3)({ schema, stackTrail: st, context })),
|
|
123
|
-
examples: stackTrail.trace('examples', st => (0, toExamplesV3_js_1.toExamplesV3)({
|
|
124
|
-
example,
|
|
125
|
-
examples,
|
|
126
|
-
exampleKey: mediaType,
|
|
127
|
-
stackTrail: st,
|
|
128
|
-
context
|
|
129
|
-
})),
|
|
130
|
-
extensionFields
|
|
131
|
-
};
|
|
132
|
-
return new MediaType_js_1.OasMediaType(fields);
|
|
133
|
-
};
|
|
134
|
-
exports.toMediaTypeItemV3 = toMediaTypeItemV3;
|
|
135
|
-
/**
|
|
136
|
-
* Transforms multiple OpenAPI v3 media type objects into internal OAS representations.
|
|
137
|
-
*
|
|
138
|
-
* This function processes a complete content map from OpenAPI v3, transforming each
|
|
139
|
-
* media type entry into its internal OAS representation. It's commonly used to process
|
|
140
|
-
* the `content` property of request bodies, responses, and parameters that support
|
|
141
|
-
* multiple media types.
|
|
142
|
-
*
|
|
143
|
-
* The function maintains the original media type keys while transforming the values
|
|
144
|
-
* into structured OAS media type objects. Each transformation is traced for debugging
|
|
145
|
-
* and error tracking purposes.
|
|
146
|
-
*
|
|
147
|
-
* @param args - Transformation arguments
|
|
148
|
-
* @param args.content - Map of media types to OpenAPI MediaType objects
|
|
149
|
-
* @param args.context - Parsing context for tracing and error handling
|
|
150
|
-
* @returns Map of media type strings to processed OAS media type objects
|
|
151
|
-
*
|
|
152
|
-
* @example Processing multiple content types
|
|
153
|
-
* ```typescript
|
|
154
|
-
* import { toMediaTypeItemsV3 } from '@skmtc/core/oas/mediaType';
|
|
155
|
-
*
|
|
156
|
-
* const content = {
|
|
157
|
-
* 'application/json': {
|
|
158
|
-
* schema: {
|
|
159
|
-
* type: 'object',
|
|
160
|
-
* properties: { message: { type: 'string' } }
|
|
161
|
-
* }
|
|
162
|
-
* },
|
|
163
|
-
* 'application/xml': {
|
|
164
|
-
* schema: {
|
|
165
|
-
* type: 'string'
|
|
166
|
-
* }
|
|
167
|
-
* },
|
|
168
|
-
* 'text/plain': {
|
|
169
|
-
* schema: {
|
|
170
|
-
* type: 'string'
|
|
171
|
-
* },
|
|
172
|
-
* example: 'Plain text response'
|
|
173
|
-
* }
|
|
174
|
-
* };
|
|
175
|
-
*
|
|
176
|
-
* const result = toMediaTypeItemsV3({
|
|
177
|
-
* content,
|
|
178
|
-
* context: parseContext
|
|
179
|
-
* });
|
|
180
|
-
*
|
|
181
|
-
* console.log(Object.keys(result)); // ['application/json', 'application/xml', 'text/plain']
|
|
182
|
-
* console.log(result['application/json'].mediaType); // 'application/json'
|
|
183
|
-
* ```
|
|
184
|
-
*
|
|
185
|
-
* @example Processing request body content types
|
|
186
|
-
* ```typescript
|
|
187
|
-
* const requestBodyContent = {
|
|
188
|
-
* 'application/json': {
|
|
189
|
-
* schema: { $ref: '#/components/schemas/CreateUserRequest' }
|
|
190
|
-
* },
|
|
191
|
-
* 'application/x-www-form-urlencoded': {
|
|
192
|
-
* schema: {
|
|
193
|
-
* type: 'object',
|
|
194
|
-
* properties: {
|
|
195
|
-
* name: { type: 'string' },
|
|
196
|
-
* email: { type: 'string' }
|
|
197
|
-
* }
|
|
198
|
-
* },
|
|
199
|
-
* encoding: {
|
|
200
|
-
* email: {
|
|
201
|
-
* style: 'form',
|
|
202
|
-
* explode: false
|
|
203
|
-
* }
|
|
204
|
-
* }
|
|
205
|
-
* }
|
|
206
|
-
* };
|
|
207
|
-
*
|
|
208
|
-
* const processed = toMediaTypeItemsV3({
|
|
209
|
-
* content: requestBodyContent,
|
|
210
|
-
* context: parseContext
|
|
211
|
-
* });
|
|
212
|
-
*
|
|
213
|
-
* // Each media type is processed with its specific configuration
|
|
214
|
-
* console.log(processed['application/json'].schema); // Reference object
|
|
215
|
-
* console.log(processed['application/x-www-form-urlencoded'].encoding); // Form encoding config
|
|
216
|
-
* ```
|
|
217
|
-
*/
|
|
218
|
-
const toMediaTypeItemsV3 = ({ content, stackTrail, context }) => {
|
|
219
|
-
const output = {};
|
|
220
|
-
const entries = Object.entries(content);
|
|
221
|
-
for (const [mediaType, value] of entries) {
|
|
222
|
-
output[mediaType] = stackTrail.trace(mediaType, st => (0, exports.toMediaTypeItemV3)({ mediaTypeItem: value, mediaType, stackTrail: st, context }));
|
|
223
|
-
}
|
|
224
|
-
return output;
|
|
225
|
-
};
|
|
226
|
-
exports.toMediaTypeItemsV3 = toMediaTypeItemsV3;
|
|
227
|
-
/**
|
|
228
|
-
* Optionally transforms OpenAPI v3 media type objects when content is provided.
|
|
229
|
-
*
|
|
230
|
-
* This function provides a safe way to process media type content that may or may not
|
|
231
|
-
* be present in the OpenAPI specification. It handles the common pattern where content
|
|
232
|
-
* properties are optional in OpenAPI objects (like responses without bodies or
|
|
233
|
-
* operations without request bodies).
|
|
234
|
-
*
|
|
235
|
-
* When content is undefined, the function returns undefined without processing.
|
|
236
|
-
* When content is provided, it delegates to `toMediaTypeItemsV3` for full processing.
|
|
237
|
-
*
|
|
238
|
-
* @param args - Transformation arguments
|
|
239
|
-
* @param args.content - Optional map of media types to OpenAPI MediaType objects
|
|
240
|
-
* @param args.context - Parsing context for tracing and error handling
|
|
241
|
-
* @returns Map of processed media types if content exists, undefined otherwise
|
|
242
|
-
*
|
|
243
|
-
* @example Handling optional response content
|
|
244
|
-
* ```typescript
|
|
245
|
-
* import { toOptionalMediaTypeItemsV3 } from '@skmtc/core/oas/mediaType';
|
|
246
|
-
*
|
|
247
|
-
* // Response with content
|
|
248
|
-
* const responseWithContent = {
|
|
249
|
-
* description: 'Successful response',
|
|
250
|
-
* content: {
|
|
251
|
-
* 'application/json': {
|
|
252
|
-
* schema: { type: 'object' }
|
|
253
|
-
* }
|
|
254
|
-
* }
|
|
255
|
-
* };
|
|
256
|
-
*
|
|
257
|
-
* const withContent = toOptionalMediaTypeItemsV3({
|
|
258
|
-
* content: responseWithContent.content,
|
|
259
|
-
* context: parseContext
|
|
260
|
-
* });
|
|
261
|
-
* console.log(withContent); // { 'application/json': OasMediaType }
|
|
262
|
-
*
|
|
263
|
-
* // Response without content (like 204 No Content)
|
|
264
|
-
* const responseNoContent = {
|
|
265
|
-
* description: 'No content response'
|
|
266
|
-
* };
|
|
267
|
-
*
|
|
268
|
-
* const noContent = toOptionalMediaTypeItemsV3({
|
|
269
|
-
* content: responseNoContent.content, // undefined
|
|
270
|
-
* context: parseContext
|
|
271
|
-
* });
|
|
272
|
-
* console.log(noContent); // undefined
|
|
273
|
-
* ```
|
|
274
|
-
*
|
|
275
|
-
* @example Processing operations with optional request bodies
|
|
276
|
-
* ```typescript
|
|
277
|
-
* function processOperation(operation: OpenAPIV3.OperationObject) {
|
|
278
|
-
* const requestBodyContent = toOptionalMediaTypeItemsV3({
|
|
279
|
-
* content: operation.requestBody?.content,
|
|
280
|
-
* context: parseContext
|
|
281
|
-
* });
|
|
282
|
-
*
|
|
283
|
-
* if (requestBodyContent) {
|
|
284
|
-
* console.log('Operation has request body with media types:');
|
|
285
|
-
* console.log(Object.keys(requestBodyContent));
|
|
286
|
-
* } else {
|
|
287
|
-
* console.log('Operation has no request body');
|
|
288
|
-
* }
|
|
289
|
-
* }
|
|
290
|
-
* ```
|
|
291
|
-
*
|
|
292
|
-
* @example Safe processing in response handlers
|
|
293
|
-
* ```typescript
|
|
294
|
-
* class ResponseProcessor {
|
|
295
|
-
* processResponse(response: OpenAPIV3.ResponseObject) {
|
|
296
|
-
* const mediaTypes = toOptionalMediaTypeItemsV3({
|
|
297
|
-
* content: response.content,
|
|
298
|
-
* context: this.context
|
|
299
|
-
* });
|
|
300
|
-
*
|
|
301
|
-
* // Safe to check without worrying about undefined content
|
|
302
|
-
* const hasJsonResponse = mediaTypes && 'application/json' in mediaTypes;
|
|
303
|
-
*
|
|
304
|
-
* if (hasJsonResponse) {
|
|
305
|
-
* const jsonMediaType = mediaTypes['application/json'];
|
|
306
|
-
* return this.generateJsonResponseHandler(jsonMediaType);
|
|
307
|
-
* }
|
|
308
|
-
*
|
|
309
|
-
* return this.generateEmptyResponseHandler();
|
|
310
|
-
* }
|
|
311
|
-
* }
|
|
312
|
-
* ```
|
|
313
|
-
*/
|
|
314
|
-
const toOptionalMediaTypeItemsV3 = ({ content, stackTrail, context }) => {
|
|
315
|
-
if (!content) {
|
|
316
|
-
return;
|
|
317
|
-
}
|
|
318
|
-
return (0, exports.toMediaTypeItemsV3)({ content, stackTrail, context });
|
|
319
|
-
};
|
|
320
|
-
exports.toOptionalMediaTypeItemsV3 = toOptionalMediaTypeItemsV3;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
3
|
-
import { OasNumber } from './Number.js';
|
|
4
|
-
import type { StackTrail } from '../../context/StackTrail.js';
|
|
5
|
-
type ToNumberArgs = {
|
|
6
|
-
value: OpenAPIV3.SchemaObject;
|
|
7
|
-
stackTrail: StackTrail;
|
|
8
|
-
context: ParseContextType;
|
|
9
|
-
};
|
|
10
|
-
export declare const toNumber: ({ context, value, stackTrail }: ToNumberArgs) => OasNumber;
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=toNumber.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"toNumber.d.ts","sourceRoot":"","sources":["../../../src/oas/number/toNumber.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAMvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAC7D,KAAK,YAAY,GAAG;IAClB,KAAK,EAAE,SAAS,CAAC,YAAY,CAAA;IAC7B,UAAU,EAAE,UAAU,CAAA;IACtB,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,QAAQ,GAAI,gCAAgC,YAAY,KAAG,SAqCvE,CAAA"}
|