@skmtc/core 0.0.926 → 0.0.930
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/esm/app/validate.d.ts +0 -1
- package/esm/app/validate.d.ts.map +1 -1
- package/esm/app/validate.js +0 -1
- package/esm/context/CoreContext.d.ts +1 -1
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/CoreContext.js +7 -6
- package/esm/context/GenerateContext.d.ts +1 -1
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.js +4 -5
- package/esm/context/ParseContext.d.ts +1 -134
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/ParseContext.js +11 -157
- package/esm/context/RenderContext.d.ts +1 -6
- package/esm/context/RenderContext.d.ts.map +1 -1
- package/esm/context/RenderContext.js +9 -19
- package/esm/context/StackTrail.d.ts +0 -172
- package/esm/context/StackTrail.d.ts.map +1 -1
- package/esm/context/StackTrail.js +1 -195
- package/esm/dsl/Stringable.d.ts +0 -1
- package/esm/dsl/Stringable.d.ts.map +1 -1
- package/esm/dsl/Stringable.js +1 -76
- package/esm/dsl/model/toModelBase.d.ts +2 -3
- package/esm/dsl/model/toModelBase.d.ts.map +1 -1
- package/esm/dsl/model/toModelBase.js +1 -1
- package/esm/dsl/operation/toOperationBase.d.ts +2 -2
- package/esm/dsl/operation/toOperationBase.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationBase.js +1 -1
- package/esm/dsl/operation/toOperationEntry.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationEntry.js +1 -1
- package/esm/helpers/ResultsLog.js +1 -1
- package/esm/helpers/collateExamples.d.ts +0 -1
- package/esm/helpers/collateExamples.d.ts.map +1 -1
- package/esm/helpers/collateExamples.js +0 -1
- package/esm/helpers/formatNumber.d.ts +0 -1
- package/esm/helpers/formatNumber.d.ts.map +1 -1
- package/esm/helpers/formatNumber.js +0 -1
- package/esm/helpers/isEmpty.d.ts +0 -60
- package/esm/helpers/isEmpty.d.ts.map +1 -1
- package/esm/helpers/isEmpty.js +1 -61
- package/esm/helpers/naming.js +2 -2
- package/esm/helpers/refFns.d.ts +0 -1
- package/esm/helpers/refFns.d.ts.map +1 -1
- package/esm/helpers/refFns.js +0 -1
- package/esm/helpers/strings.d.ts +0 -1
- package/esm/helpers/strings.d.ts.map +1 -1
- package/esm/helpers/strings.js +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts +0 -1
- package/esm/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/esm/helpers/toResolvedArtifactPath.js +0 -1
- package/esm/helpers/tracer.d.ts +1 -2
- package/esm/helpers/tracer.d.ts.map +1 -1
- package/esm/helpers/tracer.js +1 -1
- package/esm/mod.d.ts +0 -13
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +0 -13
- package/esm/oas/_helpers/parseEnum.d.ts +8 -136
- package/esm/oas/_helpers/parseEnum.d.ts.map +1 -1
- package/esm/oas/_helpers/parseEnum.js +21 -119
- package/esm/oas/_helpers/parseNullable.d.ts.map +1 -1
- package/esm/oas/_helpers/parseNullable.js +16 -6
- package/esm/oas/_merge-all-of/merge-enum-values.js +1 -1
- package/esm/oas/array/Array.d.ts +18 -96
- package/esm/oas/array/Array.d.ts.map +1 -1
- package/esm/oas/array/Array.js +38 -102
- package/esm/oas/array/array-types.d.ts +6 -174
- package/esm/oas/array/array-types.d.ts.map +1 -1
- package/esm/oas/array/array-types.js +4 -76
- package/esm/oas/array/toArray.d.ts +0 -52
- package/esm/oas/array/toArray.d.ts.map +1 -1
- package/esm/oas/array/toArray.js +67 -72
- package/esm/oas/boolean/Boolean.d.ts +12 -133
- package/esm/oas/boolean/Boolean.d.ts.map +1 -1
- package/esm/oas/boolean/Boolean.js +28 -134
- package/esm/oas/boolean/boolean-types.d.ts +14 -1
- package/esm/oas/boolean/boolean-types.d.ts.map +1 -1
- package/esm/oas/boolean/boolean-types.js +4 -1
- package/esm/oas/boolean/toBoolean.d.ts.map +1 -1
- package/esm/oas/boolean/toBoolean.js +75 -19
- package/esm/oas/components/Components.d.ts +0 -2
- package/esm/oas/components/Components.d.ts.map +1 -1
- package/esm/oas/components/Components.js +0 -2
- package/esm/oas/components/toComponentsV3.d.ts.map +1 -1
- package/esm/oas/components/toComponentsV3.js +7 -9
- package/esm/oas/discriminator/Discriminator.d.ts +0 -1
- package/esm/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/esm/oas/discriminator/Discriminator.js +0 -1
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/esm/oas/discriminator/toDiscriminatorV3.js +4 -1
- package/esm/oas/document/Document.d.ts +5 -1
- package/esm/oas/document/Document.d.ts.map +1 -1
- package/esm/oas/document/Document.js +7 -1
- package/esm/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
- package/esm/oas/document/toDocumentFieldsV3.js +11 -8
- package/esm/oas/example/Example.d.ts +10 -85
- package/esm/oas/example/Example.d.ts.map +1 -1
- package/esm/oas/example/Example.js +35 -105
- package/esm/oas/example/toExamplesV3.d.ts +1 -1
- package/esm/oas/example/toExamplesV3.d.ts.map +1 -1
- package/esm/oas/example/toExamplesV3.js +13 -8
- package/esm/oas/externalDocs/ExternalDocs.d.ts +10 -0
- package/esm/oas/externalDocs/ExternalDocs.d.ts.map +1 -0
- package/esm/oas/externalDocs/ExternalDocs.js +18 -0
- package/esm/oas/externalDocs/externalDocsTypes.d.ts +7 -0
- package/esm/oas/externalDocs/externalDocsTypes.d.ts.map +1 -0
- package/esm/oas/externalDocs/externalDocsTypes.js +6 -0
- package/esm/oas/externalDocs/toExternalDocs.d.ts +10 -0
- package/esm/oas/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/esm/oas/externalDocs/toExternalDocs.js +15 -0
- package/esm/oas/header/Header.d.ts +6 -6
- package/esm/oas/header/Header.d.ts.map +1 -1
- package/esm/oas/header/toHeadersV3.d.ts.map +1 -1
- package/esm/oas/header/toHeadersV3.js +9 -5
- package/esm/oas/info/Info.d.ts +0 -1
- package/esm/oas/info/Info.d.ts.map +1 -1
- package/esm/oas/info/Info.js +0 -1
- package/esm/oas/integer/Integer.d.ts +18 -81
- package/esm/oas/integer/Integer.d.ts.map +1 -1
- package/esm/oas/integer/Integer.js +33 -82
- package/esm/oas/integer/integer-types.d.ts +21 -1
- package/esm/oas/integer/integer-types.d.ts.map +1 -1
- package/esm/oas/integer/integer-types.js +8 -2
- package/esm/oas/integer/toInteger.d.ts.map +1 -1
- package/esm/oas/integer/toInteger.js +66 -19
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/esm/oas/mediaType/toMediaTypeItemV3.js +9 -10
- package/esm/oas/number/Number.d.ts +18 -164
- package/esm/oas/number/Number.d.ts.map +1 -1
- package/esm/oas/number/Number.js +33 -165
- package/esm/oas/number/number-types.d.ts +22 -2
- package/esm/oas/number/number-types.d.ts.map +1 -1
- package/esm/oas/number/number-types.js +4 -1
- package/esm/oas/number/toNumber.d.ts +0 -62
- package/esm/oas/number/toNumber.d.ts.map +1 -1
- package/esm/oas/number/toNumber.js +66 -81
- package/esm/oas/object/Object.d.ts +0 -1
- package/esm/oas/object/Object.d.ts.map +1 -1
- package/esm/oas/object/Object.js +0 -1
- package/esm/oas/object/toObject.d.ts.map +1 -1
- package/esm/oas/object/toObject.js +38 -13
- package/esm/oas/operation/Operation.d.ts +9 -108
- package/esm/oas/operation/Operation.d.ts.map +1 -1
- package/esm/oas/operation/Operation.js +16 -108
- package/esm/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/esm/oas/operation/toOperationsV3.js +12 -7
- package/esm/oas/parameter/Parameter.d.ts +12 -13
- package/esm/oas/parameter/Parameter.d.ts.map +1 -1
- package/esm/oas/parameter/Parameter.js +0 -3
- package/esm/oas/parameter/parameter-types.d.ts +0 -20
- package/esm/oas/parameter/parameter-types.d.ts.map +1 -1
- package/esm/oas/parameter/parameter-types.js +0 -20
- package/esm/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/esm/oas/parameter/toParameterV3.js +14 -11
- package/esm/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/esm/oas/pathItem/toPathItemV3.js +2 -1
- package/esm/oas/ref/Ref.d.ts +0 -1
- package/esm/oas/ref/Ref.d.ts.map +1 -1
- package/esm/oas/ref/Ref.js +0 -1
- package/esm/oas/ref/toRefV31.d.ts.map +1 -1
- package/esm/oas/ref/toRefV31.js +4 -1
- package/esm/oas/requestBody/RequestBody.d.ts +0 -1
- package/esm/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/esm/oas/requestBody/RequestBody.js +0 -1
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/esm/oas/requestBody/toRequestBodiesV3.js +6 -2
- package/esm/oas/response/Response.d.ts +0 -1
- package/esm/oas/response/Response.d.ts.map +1 -1
- package/esm/oas/response/Response.js +0 -1
- package/esm/oas/response/toResponseV3.d.ts.map +1 -1
- package/esm/oas/response/toResponseV3.js +9 -8
- package/esm/oas/schema/Schema.d.ts +0 -1
- package/esm/oas/schema/Schema.d.ts.map +1 -1
- package/esm/oas/schema/Schema.js +1 -1
- package/esm/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/oas/schema/toSchemasV3.js +10 -16
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
- package/esm/oas/securitySchemes/toSecuritySchemes.js +22 -9
- package/esm/oas/server/Server.d.ts +0 -1
- package/esm/oas/server/Server.d.ts.map +1 -1
- package/esm/oas/server/Server.js +0 -1
- package/esm/oas/server/toServerV3.d.ts.map +1 -1
- package/esm/oas/server/toServerV3.js +2 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +1 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.js +17 -13
- package/esm/oas/string/String.d.ts +16 -88
- package/esm/oas/string/String.d.ts.map +1 -1
- package/esm/oas/string/String.js +33 -91
- package/esm/oas/string/string-types.d.ts +23 -80
- package/esm/oas/string/string-types.d.ts.map +1 -1
- package/esm/oas/string/string-types.js +6 -2
- package/esm/oas/string/toString.d.ts.map +1 -1
- package/esm/oas/string/toString.js +68 -18
- package/esm/oas/tag/Tag.d.ts +0 -1
- package/esm/oas/tag/Tag.d.ts.map +1 -1
- package/esm/oas/tag/Tag.js +0 -1
- package/esm/oas/union/toUnion.d.ts.map +1 -1
- package/esm/oas/union/toUnion.js +6 -2
- package/esm/oas/unknown/Unknown.d.ts +3 -1
- package/esm/oas/unknown/Unknown.d.ts.map +1 -1
- package/esm/oas/unknown/Unknown.js +8 -1
- package/esm/oas/unknown/toUnknown.js +1 -1
- package/esm/oas/void/Void.d.ts +0 -1
- package/esm/oas/void/Void.d.ts.map +1 -1
- package/esm/oas/void/Void.js +0 -1
- package/esm/types/Brand.d.ts +0 -1
- package/esm/types/Brand.d.ts.map +1 -1
- package/esm/types/Brand.js +1 -10
- package/esm/types/CustomValue.d.ts +0 -1
- package/esm/types/CustomValue.d.ts.map +1 -1
- package/esm/types/CustomValue.js +0 -1
- package/esm/types/DenoJson.d.ts +0 -1
- package/esm/types/DenoJson.d.ts.map +1 -1
- package/esm/types/DenoJson.js +0 -1
- package/esm/types/EnrichmentRequest.d.ts +0 -1
- package/esm/types/EnrichmentRequest.d.ts.map +1 -1
- package/esm/types/EnrichmentRequest.js +1 -1
- package/esm/types/Enrichments.d.ts +0 -1
- package/esm/types/Enrichments.d.ts.map +1 -1
- package/esm/types/Enrichments.js +0 -1
- package/esm/types/GeneratorKeys.d.ts +0 -1
- package/esm/types/GeneratorKeys.d.ts.map +1 -1
- package/esm/types/GeneratorKeys.js +0 -1
- package/esm/types/Manifest.d.ts +0 -1
- package/esm/types/Manifest.d.ts.map +1 -1
- package/esm/types/Manifest.js +0 -1
- package/esm/types/Method.d.ts +0 -165
- package/esm/types/Method.d.ts.map +1 -1
- package/esm/types/Method.js +1 -141
- package/esm/types/ModuleExport.d.ts +0 -1
- package/esm/types/ModuleExport.d.ts.map +1 -1
- package/esm/types/ModuleExport.js +0 -1
- package/esm/types/PrettierConfig.d.ts +0 -1
- package/esm/types/PrettierConfig.d.ts.map +1 -1
- package/esm/types/PrettierConfig.js +0 -1
- package/esm/types/Preview.d.ts +0 -1
- package/esm/types/Preview.d.ts.map +1 -1
- package/esm/types/Preview.js +0 -1
- package/esm/types/RefName.d.ts +0 -1
- package/esm/types/RefName.d.ts.map +1 -1
- package/esm/types/RefName.js +1 -1
- package/esm/types/Results.d.ts +0 -1
- package/esm/types/Results.d.ts.map +1 -1
- package/esm/types/Results.js +0 -1
- package/esm/types/Settings.d.ts +0 -1
- package/esm/types/Settings.d.ts.map +1 -1
- package/esm/types/Settings.js +0 -1
- package/esm/types/TypeSystem.d.ts +0 -1
- package/esm/types/TypeSystem.d.ts.map +1 -1
- package/esm/types/TypeSystem.js +1 -1
- package/package.json +1 -9
- package/script/app/validate.d.ts +0 -1
- package/script/app/validate.d.ts.map +1 -1
- package/script/app/validate.js +0 -1
- package/script/context/CoreContext.d.ts +1 -1
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/CoreContext.js +7 -6
- package/script/context/GenerateContext.d.ts +1 -1
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/GenerateContext.js +4 -38
- package/script/context/ParseContext.d.ts +1 -134
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/ParseContext.js +12 -192
- package/script/context/RenderContext.d.ts +1 -6
- package/script/context/RenderContext.d.ts.map +1 -1
- package/script/context/RenderContext.js +9 -52
- package/script/context/StackTrail.d.ts +0 -172
- package/script/context/StackTrail.d.ts.map +1 -1
- package/script/context/StackTrail.js +1 -195
- package/script/dsl/Stringable.d.ts +0 -1
- package/script/dsl/Stringable.d.ts.map +1 -1
- package/script/dsl/Stringable.js +0 -76
- package/script/dsl/model/toModelBase.d.ts +2 -3
- package/script/dsl/model/toModelBase.d.ts.map +1 -1
- package/script/dsl/model/toModelBase.js +5 -2
- package/script/dsl/operation/toOperationBase.d.ts +2 -2
- package/script/dsl/operation/toOperationBase.d.ts.map +1 -1
- package/script/dsl/operation/toOperationBase.js +5 -2
- package/script/dsl/operation/toOperationEntry.d.ts.map +1 -1
- package/script/dsl/operation/toOperationEntry.js +5 -2
- package/script/helpers/ResultsLog.js +5 -2
- package/script/helpers/collateExamples.d.ts +0 -1
- package/script/helpers/collateExamples.d.ts.map +1 -1
- package/script/helpers/collateExamples.js +0 -1
- package/script/helpers/formatNumber.d.ts +0 -1
- package/script/helpers/formatNumber.d.ts.map +1 -1
- package/script/helpers/formatNumber.js +0 -1
- package/script/helpers/isEmpty.d.ts +0 -60
- package/script/helpers/isEmpty.d.ts.map +1 -1
- package/script/helpers/isEmpty.js +1 -61
- package/script/helpers/naming.js +1 -1
- package/script/helpers/refFns.d.ts +0 -1
- package/script/helpers/refFns.d.ts.map +1 -1
- package/script/helpers/refFns.js +0 -1
- package/script/helpers/strings.d.ts +0 -1
- package/script/helpers/strings.d.ts.map +1 -1
- package/script/helpers/strings.js +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts +0 -1
- package/script/helpers/toResolvedArtifactPath.d.ts.map +1 -1
- package/script/helpers/toResolvedArtifactPath.js +2 -3
- package/script/helpers/tracer.d.ts +1 -2
- package/script/helpers/tracer.d.ts.map +1 -1
- package/script/helpers/tracer.js +1 -1
- package/script/mod.d.ts +0 -13
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +15 -28
- package/script/oas/_helpers/parseEnum.d.ts +8 -136
- package/script/oas/_helpers/parseEnum.d.ts.map +1 -1
- package/script/oas/_helpers/parseEnum.js +21 -152
- package/script/oas/_helpers/parseNullable.d.ts.map +1 -1
- package/script/oas/_helpers/parseNullable.js +16 -39
- package/script/oas/_merge-all-of/merge-enum-values.js +1 -1
- package/script/oas/array/Array.d.ts +18 -96
- package/script/oas/array/Array.d.ts.map +1 -1
- package/script/oas/array/Array.js +38 -102
- package/script/oas/array/array-types.d.ts +6 -174
- package/script/oas/array/array-types.d.ts.map +1 -1
- package/script/oas/array/array-types.js +5 -77
- package/script/oas/array/toArray.d.ts +0 -52
- package/script/oas/array/toArray.d.ts.map +1 -1
- package/script/oas/array/toArray.js +67 -72
- package/script/oas/boolean/Boolean.d.ts +12 -133
- package/script/oas/boolean/Boolean.d.ts.map +1 -1
- package/script/oas/boolean/Boolean.js +28 -134
- package/script/oas/boolean/boolean-types.d.ts +14 -1
- package/script/oas/boolean/boolean-types.d.ts.map +1 -1
- package/script/oas/boolean/boolean-types.js +4 -1
- package/script/oas/boolean/toBoolean.d.ts.map +1 -1
- package/script/oas/boolean/toBoolean.js +75 -19
- package/script/oas/components/Components.d.ts +0 -2
- package/script/oas/components/Components.d.ts.map +1 -1
- package/script/oas/components/Components.js +0 -2
- package/script/oas/components/toComponentsV3.d.ts.map +1 -1
- package/script/oas/components/toComponentsV3.js +7 -9
- package/script/oas/discriminator/Discriminator.d.ts +0 -1
- package/script/oas/discriminator/Discriminator.d.ts.map +1 -1
- package/script/oas/discriminator/Discriminator.js +0 -1
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/script/oas/discriminator/toDiscriminatorV3.js +4 -1
- package/script/oas/document/Document.d.ts +5 -1
- package/script/oas/document/Document.d.ts.map +1 -1
- package/script/oas/document/Document.js +7 -1
- package/script/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
- package/script/oas/document/toDocumentFieldsV3.js +11 -8
- package/script/oas/example/Example.d.ts +10 -85
- package/script/oas/example/Example.d.ts.map +1 -1
- package/script/oas/example/Example.js +35 -105
- package/script/oas/example/toExamplesV3.d.ts +1 -1
- package/script/oas/example/toExamplesV3.d.ts.map +1 -1
- package/script/oas/example/toExamplesV3.js +13 -8
- package/script/oas/externalDocs/ExternalDocs.d.ts +10 -0
- package/script/oas/externalDocs/ExternalDocs.d.ts.map +1 -0
- package/script/oas/externalDocs/ExternalDocs.js +22 -0
- package/script/oas/externalDocs/externalDocsTypes.d.ts +7 -0
- package/script/oas/externalDocs/externalDocsTypes.d.ts.map +1 -0
- package/script/oas/{requestBody/requestBody-types.js → externalDocs/externalDocsTypes.js} +3 -6
- package/script/oas/externalDocs/toExternalDocs.d.ts +10 -0
- package/script/oas/externalDocs/toExternalDocs.d.ts.map +1 -0
- package/script/oas/{response/response-types.js → externalDocs/toExternalDocs.js} +16 -11
- package/script/oas/header/Header.d.ts +6 -6
- package/script/oas/header/Header.d.ts.map +1 -1
- package/script/oas/header/toHeadersV3.d.ts.map +1 -1
- package/script/oas/header/toHeadersV3.js +9 -5
- package/script/oas/info/Info.d.ts +0 -1
- package/script/oas/info/Info.d.ts.map +1 -1
- package/script/oas/info/Info.js +0 -1
- package/script/oas/integer/Integer.d.ts +18 -81
- package/script/oas/integer/Integer.d.ts.map +1 -1
- package/script/oas/integer/Integer.js +33 -82
- package/script/oas/integer/integer-types.d.ts +21 -1
- package/script/oas/integer/integer-types.d.ts.map +1 -1
- package/script/oas/integer/integer-types.js +8 -2
- package/script/oas/integer/toInteger.d.ts.map +1 -1
- package/script/oas/integer/toInteger.js +65 -18
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/script/oas/mediaType/toMediaTypeItemV3.js +9 -10
- package/script/oas/number/Number.d.ts +18 -164
- package/script/oas/number/Number.d.ts.map +1 -1
- package/script/oas/number/Number.js +33 -165
- package/script/oas/number/number-types.d.ts +22 -2
- package/script/oas/number/number-types.d.ts.map +1 -1
- package/script/oas/number/number-types.js +4 -1
- package/script/oas/number/toNumber.d.ts +0 -62
- package/script/oas/number/toNumber.d.ts.map +1 -1
- package/script/oas/number/toNumber.js +66 -81
- package/script/oas/object/Object.d.ts +0 -1
- package/script/oas/object/Object.d.ts.map +1 -1
- package/script/oas/object/Object.js +0 -1
- package/script/oas/object/toObject.d.ts.map +1 -1
- package/script/oas/object/toObject.js +38 -46
- package/script/oas/operation/Operation.d.ts +9 -108
- package/script/oas/operation/Operation.d.ts.map +1 -1
- package/script/oas/operation/Operation.js +16 -108
- package/script/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/script/oas/operation/toOperationsV3.js +12 -7
- package/script/oas/parameter/Parameter.d.ts +12 -13
- package/script/oas/parameter/Parameter.d.ts.map +1 -1
- package/script/oas/parameter/Parameter.js +0 -3
- package/script/oas/parameter/parameter-types.d.ts +0 -20
- package/script/oas/parameter/parameter-types.d.ts.map +1 -1
- package/script/oas/parameter/parameter-types.js +1 -21
- package/script/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/script/oas/parameter/toParameterV3.js +14 -11
- package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/script/oas/pathItem/toPathItemV3.js +2 -1
- package/script/oas/ref/Ref.d.ts +0 -1
- package/script/oas/ref/Ref.d.ts.map +1 -1
- package/script/oas/ref/Ref.js +0 -1
- package/script/oas/ref/toRefV31.d.ts.map +1 -1
- package/script/oas/ref/toRefV31.js +4 -1
- package/script/oas/requestBody/RequestBody.d.ts +0 -1
- package/script/oas/requestBody/RequestBody.d.ts.map +1 -1
- package/script/oas/requestBody/RequestBody.js +0 -1
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/script/oas/requestBody/toRequestBodiesV3.js +6 -2
- package/script/oas/response/Response.d.ts +0 -1
- package/script/oas/response/Response.d.ts.map +1 -1
- package/script/oas/response/Response.js +0 -1
- package/script/oas/response/toResponseV3.d.ts.map +1 -1
- package/script/oas/response/toResponseV3.js +9 -8
- package/script/oas/schema/Schema.d.ts +0 -1
- package/script/oas/schema/Schema.d.ts.map +1 -1
- package/script/oas/schema/Schema.js +0 -1
- package/script/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/script/oas/schema/toSchemasV3.js +10 -16
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
- package/script/oas/securitySchemes/toSecuritySchemes.js +22 -9
- package/script/oas/server/Server.d.ts +0 -1
- package/script/oas/server/Server.d.ts.map +1 -1
- package/script/oas/server/Server.js +0 -1
- package/script/oas/server/toServerV3.d.ts.map +1 -1
- package/script/oas/server/toServerV3.js +2 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +1 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.js +17 -13
- package/script/oas/string/String.d.ts +16 -88
- package/script/oas/string/String.d.ts.map +1 -1
- package/script/oas/string/String.js +33 -91
- package/script/oas/string/string-types.d.ts +23 -80
- package/script/oas/string/string-types.d.ts.map +1 -1
- package/script/oas/string/string-types.js +6 -2
- package/script/oas/string/toString.d.ts.map +1 -1
- package/script/oas/string/toString.js +68 -18
- package/script/oas/tag/Tag.d.ts +0 -1
- package/script/oas/tag/Tag.d.ts.map +1 -1
- package/script/oas/tag/Tag.js +0 -1
- package/script/oas/union/toUnion.d.ts.map +1 -1
- package/script/oas/union/toUnion.js +6 -2
- package/script/oas/unknown/Unknown.d.ts +3 -1
- package/script/oas/unknown/Unknown.d.ts.map +1 -1
- package/script/oas/unknown/Unknown.js +8 -1
- package/script/oas/unknown/toUnknown.js +1 -1
- package/script/oas/void/Void.d.ts +0 -1
- package/script/oas/void/Void.d.ts.map +1 -1
- package/script/oas/void/Void.js +0 -1
- package/script/types/Brand.d.ts +0 -1
- package/script/types/Brand.d.ts.map +1 -1
- package/script/types/Brand.js +0 -10
- package/script/types/CustomValue.d.ts +0 -1
- package/script/types/CustomValue.d.ts.map +1 -1
- package/script/types/CustomValue.js +0 -1
- package/script/types/DenoJson.d.ts +0 -1
- package/script/types/DenoJson.d.ts.map +1 -1
- package/script/types/DenoJson.js +0 -1
- package/script/types/EnrichmentRequest.d.ts +0 -1
- package/script/types/EnrichmentRequest.d.ts.map +1 -1
- package/script/types/EnrichmentRequest.js +1 -2
- package/script/types/Enrichments.d.ts +0 -1
- package/script/types/Enrichments.d.ts.map +1 -1
- package/script/types/Enrichments.js +35 -36
- package/script/types/GeneratorKeys.d.ts +0 -1
- package/script/types/GeneratorKeys.d.ts.map +1 -1
- package/script/types/GeneratorKeys.js +2 -3
- package/script/types/Manifest.d.ts +0 -1
- package/script/types/Manifest.d.ts.map +1 -1
- package/script/types/Manifest.js +35 -36
- package/script/types/Method.d.ts +0 -165
- package/script/types/Method.d.ts.map +1 -1
- package/script/types/Method.js +1 -141
- package/script/types/ModuleExport.d.ts +0 -1
- package/script/types/ModuleExport.d.ts.map +1 -1
- package/script/types/ModuleExport.js +0 -1
- package/script/types/PrettierConfig.d.ts +0 -1
- package/script/types/PrettierConfig.d.ts.map +1 -1
- package/script/types/PrettierConfig.js +35 -36
- package/script/types/Preview.d.ts +0 -1
- package/script/types/Preview.d.ts.map +1 -1
- package/script/types/Preview.js +35 -36
- package/script/types/RefName.d.ts +0 -1
- package/script/types/RefName.d.ts.map +1 -1
- package/script/types/RefName.js +1 -2
- package/script/types/Results.d.ts +0 -1
- package/script/types/Results.d.ts.map +1 -1
- package/script/types/Results.js +35 -36
- package/script/types/Settings.d.ts +0 -1
- package/script/types/Settings.d.ts.map +1 -1
- package/script/types/Settings.js +35 -36
- package/script/types/TypeSystem.d.ts +0 -1
- package/script/types/TypeSystem.d.ts.map +1 -1
- package/script/types/TypeSystem.js +0 -1
- package/esm/_dnt.polyfills.d.ts +0 -12
- package/esm/_dnt.polyfills.d.ts.map +0 -1
- package/esm/_dnt.polyfills.js +0 -15
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts +0 -33
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_chars.js +0 -48
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts +0 -66
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_loader_state.js +0 -1427
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts +0 -44
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_schema.js +0 -117
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/binary.js +0 -103
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/bool.js +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/float.js +0 -96
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/int.js +0 -159
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/map.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/merge.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/nil.js +0 -22
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/omap.js +0 -29
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.js +0 -19
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.js +0 -30
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/seq.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/set.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/str.js +0 -9
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.js +0 -81
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts +0 -3
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.js +0 -20
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_type.js +0 -6
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts +0 -4
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/_utils.js +0 -13
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts +0 -76
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
- package/esm/deps/jsr.io/@std/yaml/1.0.10/parse.js +0 -93
- package/esm/oas/_helpers/parseDefault.d.ts +0 -164
- package/esm/oas/_helpers/parseDefault.d.ts.map +0 -1
- package/esm/oas/_helpers/parseDefault.js +0 -144
- package/esm/oas/_helpers/parseExample.d.ts +0 -123
- package/esm/oas/_helpers/parseExample.d.ts.map +0 -1
- package/esm/oas/_helpers/parseExample.js +0 -103
- package/esm/oas/_helpers/parseFormat.d.ts +0 -169
- package/esm/oas/_helpers/parseFormat.d.ts.map +0 -1
- package/esm/oas/_helpers/parseFormat.js +0 -154
- package/esm/oas/components/components-types.d.ts +0 -19
- package/esm/oas/components/components-types.d.ts.map +0 -1
- package/esm/oas/components/components-types.js +0 -21
- package/esm/oas/document/document-types.d.ts +0 -16
- package/esm/oas/document/document-types.d.ts.map +0 -1
- package/esm/oas/document/document-types.js +0 -18
- package/esm/oas/header/header-types.d.ts +0 -50
- package/esm/oas/header/header-types.d.ts.map +0 -1
- package/esm/oas/header/header-types.js +0 -30
- package/esm/oas/mediaType/mediaType-types.d.ts +0 -29
- package/esm/oas/mediaType/mediaType-types.d.ts.map +0 -1
- package/esm/oas/mediaType/mediaType-types.js +0 -18
- package/esm/oas/object/object-types.d.ts +0 -19
- package/esm/oas/object/object-types.d.ts.map +0 -1
- package/esm/oas/object/object-types.js +0 -23
- package/esm/oas/operation/operation-types.d.ts +0 -273
- package/esm/oas/operation/operation-types.d.ts.map +0 -1
- package/esm/oas/operation/operation-types.js +0 -133
- package/esm/oas/pathItem/pathItem-types.d.ts +0 -12
- package/esm/oas/pathItem/pathItem-types.d.ts.map +0 -1
- package/esm/oas/pathItem/pathItem-types.js +0 -12
- package/esm/oas/requestBody/requestBody-types.d.ts +0 -10
- package/esm/oas/requestBody/requestBody-types.d.ts.map +0 -1
- package/esm/oas/requestBody/requestBody-types.js +0 -9
- package/esm/oas/response/response-types.d.ts +0 -12
- package/esm/oas/response/response-types.d.ts.map +0 -1
- package/esm/oas/response/response-types.js +0 -11
- package/esm/oas/schema/schema-types.d.ts +0 -12
- package/esm/oas/schema/schema-types.d.ts.map +0 -1
- package/esm/oas/schema/schema-types.js +0 -19
- package/esm/oas/union/union-types.d.ts +0 -34
- package/esm/oas/union/union-types.d.ts.map +0 -1
- package/esm/oas/union/union-types.js +0 -19
- package/esm/run/toV3JsonDocument.d.ts +0 -151
- package/esm/run/toV3JsonDocument.d.ts.map +0 -1
- package/esm/run/toV3JsonDocument.js +0 -172
- package/script/_dnt.polyfills.d.ts +0 -12
- package/script/_dnt.polyfills.d.ts.map +0 -1
- package/script/_dnt.polyfills.js +0 -16
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts +0 -33
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_chars.js +0 -55
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts +0 -66
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_loader_state.js +0 -1431
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts +0 -44
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_schema.js +0 -121
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/binary.js +0 -106
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/bool.js +0 -35
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/float.js +0 -99
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/int.js +0 -162
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/map.js +0 -17
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/merge.js +0 -13
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/nil.js +0 -25
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/omap.js +0 -32
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.js +0 -22
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.js +0 -33
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/seq.js +0 -13
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/set.js +0 -17
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/str.js +0 -12
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.js +0 -84
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts +0 -3
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.js +0 -23
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts +0 -32
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_type.js +0 -7
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts +0 -4
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/_utils.js +0 -18
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts +0 -76
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
- package/script/deps/jsr.io/@std/yaml/1.0.10/parse.js +0 -97
- package/script/oas/_helpers/parseDefault.d.ts +0 -164
- package/script/oas/_helpers/parseDefault.d.ts.map +0 -1
- package/script/oas/_helpers/parseDefault.js +0 -181
- package/script/oas/_helpers/parseExample.d.ts +0 -123
- package/script/oas/_helpers/parseExample.d.ts.map +0 -1
- package/script/oas/_helpers/parseExample.js +0 -140
- package/script/oas/_helpers/parseFormat.d.ts +0 -169
- package/script/oas/_helpers/parseFormat.d.ts.map +0 -1
- package/script/oas/_helpers/parseFormat.js +0 -191
- package/script/oas/components/components-types.d.ts +0 -19
- package/script/oas/components/components-types.d.ts.map +0 -1
- package/script/oas/components/components-types.js +0 -57
- package/script/oas/document/document-types.d.ts +0 -16
- package/script/oas/document/document-types.d.ts.map +0 -1
- package/script/oas/document/document-types.js +0 -54
- package/script/oas/header/header-types.d.ts +0 -50
- package/script/oas/header/header-types.d.ts.map +0 -1
- package/script/oas/header/header-types.js +0 -66
- package/script/oas/mediaType/mediaType-types.d.ts +0 -29
- package/script/oas/mediaType/mediaType-types.d.ts.map +0 -1
- package/script/oas/mediaType/mediaType-types.js +0 -54
- package/script/oas/object/object-types.d.ts +0 -19
- package/script/oas/object/object-types.d.ts.map +0 -1
- package/script/oas/object/object-types.js +0 -59
- package/script/oas/operation/operation-types.d.ts +0 -273
- package/script/oas/operation/operation-types.d.ts.map +0 -1
- package/script/oas/operation/operation-types.js +0 -169
- package/script/oas/pathItem/pathItem-types.d.ts +0 -12
- package/script/oas/pathItem/pathItem-types.d.ts.map +0 -1
- package/script/oas/pathItem/pathItem-types.js +0 -48
- package/script/oas/requestBody/requestBody-types.d.ts +0 -10
- package/script/oas/requestBody/requestBody-types.d.ts.map +0 -1
- package/script/oas/response/response-types.d.ts +0 -12
- package/script/oas/response/response-types.d.ts.map +0 -1
- package/script/oas/schema/schema-types.d.ts +0 -12
- package/script/oas/schema/schema-types.d.ts.map +0 -1
- package/script/oas/schema/schema-types.js +0 -55
- package/script/oas/union/union-types.d.ts +0 -34
- package/script/oas/union/union-types.d.ts.map +0 -1
- package/script/oas/union/union-types.js +0 -55
- package/script/run/toV3JsonDocument.d.ts +0 -151
- package/script/run/toV3JsonDocument.d.ts.map +0 -1
- package/script/run/toV3JsonDocument.js +0 -180
|
@@ -1,273 +0,0 @@
|
|
|
1
|
-
import { type OasParameterData } from '../parameter/parameter-types.js';
|
|
2
|
-
import { type OasPathItemData } from '../pathItem/pathItem-types.js';
|
|
3
|
-
import { type OasParameterRefData, type OasRequestBodyRefData, type OasResponseRefData } from '../ref/ref-types.js';
|
|
4
|
-
import { type OasRequestBodyData } from '../requestBody/requestBody-types.js';
|
|
5
|
-
import { type OasResponseData } from '../response/response-types.js';
|
|
6
|
-
import * as v from 'valibot';
|
|
7
|
-
/**
|
|
8
|
-
* Data type for OpenAPI operation objects processed by the SKMTC pipeline.
|
|
9
|
-
*
|
|
10
|
-
* This type represents a complete OpenAPI operation (API endpoint) including all
|
|
11
|
-
* associated metadata, parameters, request body, responses, and path information.
|
|
12
|
-
* It serves as the internal representation of OpenAPI operations during the
|
|
13
|
-
* code generation process, combining operation data with its parent path item context.
|
|
14
|
-
*
|
|
15
|
-
* ## Usage in SKMTC Pipeline
|
|
16
|
-
*
|
|
17
|
-
* This type is used by:
|
|
18
|
-
* - Operation parsers to validate and structure incoming OpenAPI operations
|
|
19
|
-
* - Code generators to access operation metadata and generate client code
|
|
20
|
-
* - Response processors to understand expected API responses
|
|
21
|
-
* - Parameter handlers to generate request validation and typing
|
|
22
|
-
*
|
|
23
|
-
* @example Basic GET operation
|
|
24
|
-
* ```typescript
|
|
25
|
-
* import type { OasOperationData } from '@skmtc/core/oas/operation';
|
|
26
|
-
*
|
|
27
|
-
* const getUserOperation: OasOperationData = {
|
|
28
|
-
* oasType: 'operation',
|
|
29
|
-
* path: '/users/{id}',
|
|
30
|
-
* method: 'get',
|
|
31
|
-
* operationId: 'getUserById',
|
|
32
|
-
* summary: 'Get user by ID',
|
|
33
|
-
* description: 'Retrieves a specific user by their unique identifier',
|
|
34
|
-
* tags: ['users'],
|
|
35
|
-
* parameters: [
|
|
36
|
-
* {
|
|
37
|
-
* name: 'id',
|
|
38
|
-
* in: 'path',
|
|
39
|
-
* required: true,
|
|
40
|
-
* schema: { type: 'string' }
|
|
41
|
-
* }
|
|
42
|
-
* ],
|
|
43
|
-
* responses: {
|
|
44
|
-
* '200': {
|
|
45
|
-
* description: 'User found',
|
|
46
|
-
* content: {
|
|
47
|
-
* 'application/json': {
|
|
48
|
-
* schema: { $ref: '#/components/schemas/User' }
|
|
49
|
-
* }
|
|
50
|
-
* }
|
|
51
|
-
* },
|
|
52
|
-
* '404': {
|
|
53
|
-
* description: 'User not found'
|
|
54
|
-
* }
|
|
55
|
-
* },
|
|
56
|
-
* pathItem: pathItemData
|
|
57
|
-
* };
|
|
58
|
-
* ```
|
|
59
|
-
*
|
|
60
|
-
* @example POST operation with request body
|
|
61
|
-
* ```typescript
|
|
62
|
-
* const createUserOperation: OasOperationData = {
|
|
63
|
-
* oasType: 'operation',
|
|
64
|
-
* path: '/users',
|
|
65
|
-
* method: 'post',
|
|
66
|
-
* operationId: 'createUser',
|
|
67
|
-
* summary: 'Create new user',
|
|
68
|
-
* description: 'Creates a new user account',
|
|
69
|
-
* tags: ['users'],
|
|
70
|
-
* requestBody: {
|
|
71
|
-
* description: 'User data',
|
|
72
|
-
* required: true,
|
|
73
|
-
* content: {
|
|
74
|
-
* 'application/json': {
|
|
75
|
-
* schema: { $ref: '#/components/schemas/CreateUserRequest' }
|
|
76
|
-
* }
|
|
77
|
-
* }
|
|
78
|
-
* },
|
|
79
|
-
* responses: {
|
|
80
|
-
* '201': {
|
|
81
|
-
* description: 'User created successfully',
|
|
82
|
-
* content: {
|
|
83
|
-
* 'application/json': {
|
|
84
|
-
* schema: { $ref: '#/components/schemas/User' }
|
|
85
|
-
* }
|
|
86
|
-
* }
|
|
87
|
-
* },
|
|
88
|
-
* '400': {
|
|
89
|
-
* description: 'Invalid request data'
|
|
90
|
-
* }
|
|
91
|
-
* },
|
|
92
|
-
* pathItem: pathItemData
|
|
93
|
-
* };
|
|
94
|
-
* ```
|
|
95
|
-
*
|
|
96
|
-
* @example Operation with query parameters
|
|
97
|
-
* ```typescript
|
|
98
|
-
* const listUsersOperation: OasOperationData = {
|
|
99
|
-
* oasType: 'operation',
|
|
100
|
-
* path: '/users',
|
|
101
|
-
* method: 'get',
|
|
102
|
-
* operationId: 'listUsers',
|
|
103
|
-
* summary: 'List users',
|
|
104
|
-
* description: 'Get paginated list of users',
|
|
105
|
-
* tags: ['users'],
|
|
106
|
-
* parameters: [
|
|
107
|
-
* {
|
|
108
|
-
* name: 'page',
|
|
109
|
-
* in: 'query',
|
|
110
|
-
* schema: { type: 'integer', minimum: 1, default: 1 }
|
|
111
|
-
* },
|
|
112
|
-
* {
|
|
113
|
-
* name: 'limit',
|
|
114
|
-
* in: 'query',
|
|
115
|
-
* schema: { type: 'integer', minimum: 1, maximum: 100, default: 20 }
|
|
116
|
-
* },
|
|
117
|
-
* {
|
|
118
|
-
* name: 'status',
|
|
119
|
-
* in: 'query',
|
|
120
|
-
* schema: { type: 'string', enum: ['active', 'inactive'] }
|
|
121
|
-
* }
|
|
122
|
-
* ],
|
|
123
|
-
* responses: {
|
|
124
|
-
* '200': {
|
|
125
|
-
* description: 'List of users',
|
|
126
|
-
* content: {
|
|
127
|
-
* 'application/json': {
|
|
128
|
-
* schema: {
|
|
129
|
-
* type: 'object',
|
|
130
|
-
* properties: {
|
|
131
|
-
* users: {
|
|
132
|
-
* type: 'array',
|
|
133
|
-
* items: { $ref: '#/components/schemas/User' }
|
|
134
|
-
* },
|
|
135
|
-
* totalCount: { type: 'integer' },
|
|
136
|
-
* page: { type: 'integer' },
|
|
137
|
-
* limit: { type: 'integer' }
|
|
138
|
-
* }
|
|
139
|
-
* }
|
|
140
|
-
* }
|
|
141
|
-
* }
|
|
142
|
-
* }
|
|
143
|
-
* },
|
|
144
|
-
* pathItem: pathItemData
|
|
145
|
-
* };
|
|
146
|
-
* ```
|
|
147
|
-
*/
|
|
148
|
-
export type OasOperationData = {
|
|
149
|
-
/** Type identifier for SKMTC internal processing */
|
|
150
|
-
oasType: 'operation';
|
|
151
|
-
/** Parent path item containing this operation */
|
|
152
|
-
pathItem: OasPathItemData;
|
|
153
|
-
/** The API path template (e.g., '/users/{id}') */
|
|
154
|
-
path: string;
|
|
155
|
-
/** HTTP method for this operation */
|
|
156
|
-
method: 'get' | 'put' | 'post' | 'delete' | 'options' | 'head' | 'patch' | 'trace';
|
|
157
|
-
/** Unique identifier for this operation (used for client method names) */
|
|
158
|
-
operationId?: string;
|
|
159
|
-
/** Tags for grouping operations (used for code organization) */
|
|
160
|
-
tags?: string[];
|
|
161
|
-
/** Brief summary of what the operation does */
|
|
162
|
-
summary?: string;
|
|
163
|
-
/** Detailed description of the operation behavior */
|
|
164
|
-
description?: string;
|
|
165
|
-
/** List of parameters (path, query, header, cookie) */
|
|
166
|
-
parameters?: (OasParameterData | OasParameterRefData)[];
|
|
167
|
-
/** Request body specification for operations that accept data */
|
|
168
|
-
requestBody?: OasRequestBodyData | OasRequestBodyRefData;
|
|
169
|
-
/** Map of status codes to response specifications */
|
|
170
|
-
responses: Record<string, OasResponseData | OasResponseRefData>;
|
|
171
|
-
/** Whether this operation is deprecated */
|
|
172
|
-
deprecated?: boolean;
|
|
173
|
-
};
|
|
174
|
-
/**
|
|
175
|
-
* Valibot schema for validating OpenAPI operation data objects.
|
|
176
|
-
*
|
|
177
|
-
* This comprehensive schema validates OpenAPI operations according to the OpenAPI v3
|
|
178
|
-
* specification, including all standard properties like HTTP methods, parameters,
|
|
179
|
-
* request bodies, responses, and metadata. It uses lazy evaluation and unions to
|
|
180
|
-
* handle complex nested structures and reference objects.
|
|
181
|
-
*
|
|
182
|
-
* The schema ensures that operation data conforms to OpenAPI standards while also
|
|
183
|
-
* including SKMTC-specific metadata (like `oasType` and `pathItem`) needed for
|
|
184
|
-
* the code generation pipeline.
|
|
185
|
-
*
|
|
186
|
-
* @example Validating a GET operation
|
|
187
|
-
* ```typescript
|
|
188
|
-
* import { oasOperationData } from '@skmtc/core/oas/operation';
|
|
189
|
-
* import * as v from 'valibot';
|
|
190
|
-
*
|
|
191
|
-
* const operation = {
|
|
192
|
-
* oasType: 'operation',
|
|
193
|
-
* path: '/api/users/{id}',
|
|
194
|
-
* method: 'get',
|
|
195
|
-
* operationId: 'getUserById',
|
|
196
|
-
* summary: 'Get user by ID',
|
|
197
|
-
* parameters: [
|
|
198
|
-
* {
|
|
199
|
-
* name: 'id',
|
|
200
|
-
* in: 'path',
|
|
201
|
-
* required: true,
|
|
202
|
-
* schema: { type: 'string' }
|
|
203
|
-
* }
|
|
204
|
-
* ],
|
|
205
|
-
* responses: {
|
|
206
|
-
* '200': {
|
|
207
|
-
* description: 'Success',
|
|
208
|
-
* content: {
|
|
209
|
-
* 'application/json': {
|
|
210
|
-
* schema: { $ref: '#/components/schemas/User' }
|
|
211
|
-
* }
|
|
212
|
-
* }
|
|
213
|
-
* }
|
|
214
|
-
* },
|
|
215
|
-
* pathItem: validPathItem
|
|
216
|
-
* };
|
|
217
|
-
*
|
|
218
|
-
* const validated = v.parse(oasOperationData, operation);
|
|
219
|
-
* console.log(validated.operationId); // 'getUserById'
|
|
220
|
-
* ```
|
|
221
|
-
*
|
|
222
|
-
* @example Validating a POST operation with request body
|
|
223
|
-
* ```typescript
|
|
224
|
-
* const postOperation = {
|
|
225
|
-
* oasType: 'operation',
|
|
226
|
-
* path: '/api/users',
|
|
227
|
-
* method: 'post',
|
|
228
|
-
* operationId: 'createUser',
|
|
229
|
-
* requestBody: {
|
|
230
|
-
* description: 'User data',
|
|
231
|
-
* required: true,
|
|
232
|
-
* content: {
|
|
233
|
-
* 'application/json': {
|
|
234
|
-
* schema: { $ref: '#/components/schemas/CreateUserRequest' }
|
|
235
|
-
* }
|
|
236
|
-
* }
|
|
237
|
-
* },
|
|
238
|
-
* responses: {
|
|
239
|
-
* '201': {
|
|
240
|
-
* description: 'User created',
|
|
241
|
-
* content: {
|
|
242
|
-
* 'application/json': {
|
|
243
|
-
* schema: { $ref: '#/components/schemas/User' }
|
|
244
|
-
* }
|
|
245
|
-
* }
|
|
246
|
-
* }
|
|
247
|
-
* },
|
|
248
|
-
* pathItem: validPathItem
|
|
249
|
-
* };
|
|
250
|
-
*
|
|
251
|
-
* const validated = v.parse(oasOperationData, postOperation);
|
|
252
|
-
* console.log(validated.method); // 'post'
|
|
253
|
-
* ```
|
|
254
|
-
*
|
|
255
|
-
* @example Validation error handling
|
|
256
|
-
* ```typescript
|
|
257
|
-
* const invalidOperation = {
|
|
258
|
-
* oasType: 'operation',
|
|
259
|
-
* path: '/api/users',
|
|
260
|
-
* method: 'invalid', // Invalid HTTP method
|
|
261
|
-
* responses: {} // Missing required responses
|
|
262
|
-
* };
|
|
263
|
-
*
|
|
264
|
-
* try {
|
|
265
|
-
* v.parse(oasOperationData, invalidOperation);
|
|
266
|
-
* } catch (error) {
|
|
267
|
-
* console.error('Validation failed:', error.message);
|
|
268
|
-
* // Handle validation errors
|
|
269
|
-
* }
|
|
270
|
-
* ```
|
|
271
|
-
*/
|
|
272
|
-
export declare const oasOperationData: v.GenericSchema<OasOperationData>;
|
|
273
|
-
//# sourceMappingURL=operation-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operation-types.d.ts","sourceRoot":"","sources":["../../../src/oas/operation/operation-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,iCAAiC,CAAA;AACzF,OAAO,EAAE,KAAK,eAAe,EAAmB,MAAM,+BAA+B,CAAA;AACrF,OAAO,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EAIxB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,kBAAkB,EAAsB,MAAM,qCAAqC,CAAA;AACjG,OAAO,EAAE,KAAK,eAAe,EAAmB,MAAM,+BAA+B,CAAA;AACrF,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4IG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oDAAoD;IACpD,OAAO,EAAE,WAAW,CAAA;IACpB,iDAAiD;IACjD,QAAQ,EAAE,eAAe,CAAA;IACzB,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAA;IACZ,qCAAqC;IACrC,MAAM,EAAE,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,OAAO,CAAA;IAClF,0EAA0E;IAC1E,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gEAAgE;IAChE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,qDAAqD;IACrD,WAAW,CAAC,EAAE,MAAM,CAAA;IAGpB,uDAAuD;IACvD,UAAU,CAAC,EAAE,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,CAAA;IACvD,iEAAiE;IACjE,WAAW,CAAC,EAAE,kBAAkB,GAAG,qBAAqB,CAAA;IACxD,qDAAqD;IACrD,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,GAAG,kBAAkB,CAAC,CAAA;IAE/D,2CAA2C;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAA;CAGrB,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiGG;AACH,eAAO,MAAM,gBAAgB,EAAE,CAAC,CAAC,aAAa,CAAC,gBAAgB,CA2B7D,CAAA"}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { markdown } from '../markdown/markdown-types.js';
|
|
2
|
-
import { oasParameterData } from '../parameter/parameter-types.js';
|
|
3
|
-
import { oasPathItemData } from '../pathItem/pathItem-types.js';
|
|
4
|
-
import { oasParameterRefData, oasRequestBodyRefData, oasResponseRefData } from '../ref/ref-types.js';
|
|
5
|
-
import { oasRequestBodyData } from '../requestBody/requestBody-types.js';
|
|
6
|
-
import { oasResponseData } from '../response/response-types.js';
|
|
7
|
-
import * as v from 'valibot';
|
|
8
|
-
/**
|
|
9
|
-
* Valibot schema for validating OpenAPI operation data objects.
|
|
10
|
-
*
|
|
11
|
-
* This comprehensive schema validates OpenAPI operations according to the OpenAPI v3
|
|
12
|
-
* specification, including all standard properties like HTTP methods, parameters,
|
|
13
|
-
* request bodies, responses, and metadata. It uses lazy evaluation and unions to
|
|
14
|
-
* handle complex nested structures and reference objects.
|
|
15
|
-
*
|
|
16
|
-
* The schema ensures that operation data conforms to OpenAPI standards while also
|
|
17
|
-
* including SKMTC-specific metadata (like `oasType` and `pathItem`) needed for
|
|
18
|
-
* the code generation pipeline.
|
|
19
|
-
*
|
|
20
|
-
* @example Validating a GET operation
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import { oasOperationData } from '@skmtc/core/oas/operation';
|
|
23
|
-
* import * as v from 'valibot';
|
|
24
|
-
*
|
|
25
|
-
* const operation = {
|
|
26
|
-
* oasType: 'operation',
|
|
27
|
-
* path: '/api/users/{id}',
|
|
28
|
-
* method: 'get',
|
|
29
|
-
* operationId: 'getUserById',
|
|
30
|
-
* summary: 'Get user by ID',
|
|
31
|
-
* parameters: [
|
|
32
|
-
* {
|
|
33
|
-
* name: 'id',
|
|
34
|
-
* in: 'path',
|
|
35
|
-
* required: true,
|
|
36
|
-
* schema: { type: 'string' }
|
|
37
|
-
* }
|
|
38
|
-
* ],
|
|
39
|
-
* responses: {
|
|
40
|
-
* '200': {
|
|
41
|
-
* description: 'Success',
|
|
42
|
-
* content: {
|
|
43
|
-
* 'application/json': {
|
|
44
|
-
* schema: { $ref: '#/components/schemas/User' }
|
|
45
|
-
* }
|
|
46
|
-
* }
|
|
47
|
-
* }
|
|
48
|
-
* },
|
|
49
|
-
* pathItem: validPathItem
|
|
50
|
-
* };
|
|
51
|
-
*
|
|
52
|
-
* const validated = v.parse(oasOperationData, operation);
|
|
53
|
-
* console.log(validated.operationId); // 'getUserById'
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* @example Validating a POST operation with request body
|
|
57
|
-
* ```typescript
|
|
58
|
-
* const postOperation = {
|
|
59
|
-
* oasType: 'operation',
|
|
60
|
-
* path: '/api/users',
|
|
61
|
-
* method: 'post',
|
|
62
|
-
* operationId: 'createUser',
|
|
63
|
-
* requestBody: {
|
|
64
|
-
* description: 'User data',
|
|
65
|
-
* required: true,
|
|
66
|
-
* content: {
|
|
67
|
-
* 'application/json': {
|
|
68
|
-
* schema: { $ref: '#/components/schemas/CreateUserRequest' }
|
|
69
|
-
* }
|
|
70
|
-
* }
|
|
71
|
-
* },
|
|
72
|
-
* responses: {
|
|
73
|
-
* '201': {
|
|
74
|
-
* description: 'User created',
|
|
75
|
-
* content: {
|
|
76
|
-
* 'application/json': {
|
|
77
|
-
* schema: { $ref: '#/components/schemas/User' }
|
|
78
|
-
* }
|
|
79
|
-
* }
|
|
80
|
-
* }
|
|
81
|
-
* },
|
|
82
|
-
* pathItem: validPathItem
|
|
83
|
-
* };
|
|
84
|
-
*
|
|
85
|
-
* const validated = v.parse(oasOperationData, postOperation);
|
|
86
|
-
* console.log(validated.method); // 'post'
|
|
87
|
-
* ```
|
|
88
|
-
*
|
|
89
|
-
* @example Validation error handling
|
|
90
|
-
* ```typescript
|
|
91
|
-
* const invalidOperation = {
|
|
92
|
-
* oasType: 'operation',
|
|
93
|
-
* path: '/api/users',
|
|
94
|
-
* method: 'invalid', // Invalid HTTP method
|
|
95
|
-
* responses: {} // Missing required responses
|
|
96
|
-
* };
|
|
97
|
-
*
|
|
98
|
-
* try {
|
|
99
|
-
* v.parse(oasOperationData, invalidOperation);
|
|
100
|
-
* } catch (error) {
|
|
101
|
-
* console.error('Validation failed:', error.message);
|
|
102
|
-
* // Handle validation errors
|
|
103
|
-
* }
|
|
104
|
-
* ```
|
|
105
|
-
*/
|
|
106
|
-
export const oasOperationData = v.object({
|
|
107
|
-
oasType: v.literal('operation'),
|
|
108
|
-
pathItem: oasPathItemData,
|
|
109
|
-
path: v.string(),
|
|
110
|
-
method: v.enum({
|
|
111
|
-
get: 'get',
|
|
112
|
-
put: 'put',
|
|
113
|
-
post: 'post',
|
|
114
|
-
delete: 'delete',
|
|
115
|
-
options: 'options',
|
|
116
|
-
head: 'head',
|
|
117
|
-
patch: 'patch',
|
|
118
|
-
trace: 'trace'
|
|
119
|
-
}),
|
|
120
|
-
operationId: v.optional(v.string()),
|
|
121
|
-
tags: v.optional(v.array(v.string())),
|
|
122
|
-
summary: v.optional(v.string()),
|
|
123
|
-
description: v.optional(markdown),
|
|
124
|
-
// externalDocs: externalDocs.optional(),
|
|
125
|
-
// operationId: z.string().optional(),
|
|
126
|
-
parameters: v.optional(v.array(v.union([oasParameterData, oasParameterRefData]))),
|
|
127
|
-
requestBody: v.optional(v.union([oasRequestBodyData, oasRequestBodyRefData])),
|
|
128
|
-
responses: v.record(v.string(), v.union([oasResponseData, oasResponseRefData])),
|
|
129
|
-
// callbacks: z.never(),
|
|
130
|
-
deprecated: v.optional(v.boolean())
|
|
131
|
-
// security: z.never(),
|
|
132
|
-
// servers: z.array(server).optional()
|
|
133
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type OasParameterData } from '../parameter/parameter-types.js';
|
|
2
|
-
import { type OasParameterRefData } from '../ref/ref-types.js';
|
|
3
|
-
import * as v from 'valibot';
|
|
4
|
-
export type OasPathItemData = {
|
|
5
|
-
oasType: 'pathItem';
|
|
6
|
-
$ref?: string;
|
|
7
|
-
summary?: string;
|
|
8
|
-
description?: string;
|
|
9
|
-
parameters?: (OasParameterData | OasParameterRefData)[];
|
|
10
|
-
};
|
|
11
|
-
export declare const oasPathItemData: v.GenericSchema<OasPathItemData>;
|
|
12
|
-
//# sourceMappingURL=pathItem-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pathItem-types.d.ts","sourceRoot":"","sources":["../../../src/oas/pathItem/pathItem-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,iCAAiC,CAAA;AACzF,OAAO,EAAE,KAAK,mBAAmB,EAAuB,MAAM,qBAAqB,CAAA;AACnF,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,UAAU,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,UAAU,CAAC,EAAE,CAAC,gBAAgB,GAAG,mBAAmB,CAAC,EAAE,CAAA;CACxD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,aAAa,CAAC,eAAe,CAO3D,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { markdown } from '../markdown/markdown-types.js';
|
|
2
|
-
import { oasParameterData } from '../parameter/parameter-types.js';
|
|
3
|
-
import { oasParameterRefData } from '../ref/ref-types.js';
|
|
4
|
-
import * as v from 'valibot';
|
|
5
|
-
export const oasPathItemData = v.object({
|
|
6
|
-
oasType: v.literal('pathItem'),
|
|
7
|
-
$ref: v.optional(v.string()),
|
|
8
|
-
summary: v.optional(v.string()),
|
|
9
|
-
description: v.optional(markdown),
|
|
10
|
-
// servers: z.array(server).optional(),
|
|
11
|
-
parameters: v.optional(v.array(v.union([oasParameterData, oasParameterRefData])))
|
|
12
|
-
});
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type OasMediaTypeData } from '../mediaType/mediaType-types.js';
|
|
2
|
-
import * as v from 'valibot';
|
|
3
|
-
export type OasRequestBodyData = {
|
|
4
|
-
oasType: 'requestBody';
|
|
5
|
-
description?: string;
|
|
6
|
-
content: Record<string, OasMediaTypeData>;
|
|
7
|
-
required?: boolean;
|
|
8
|
-
};
|
|
9
|
-
export declare const oasRequestBodyData: v.GenericSchema<OasRequestBodyData>;
|
|
10
|
-
//# sourceMappingURL=requestBody-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestBody-types.d.ts","sourceRoot":"","sources":["../../../src/oas/requestBody/requestBody-types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,iCAAiC,CAAA;AACzF,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,aAAa,CAAA;IACtB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAA;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,aAAa,CAAC,kBAAkB,CAKjE,CAAA"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { markdown } from '../markdown/markdown-types.js';
|
|
2
|
-
import { oasMediaTypeData } from '../mediaType/mediaType-types.js';
|
|
3
|
-
import * as v from 'valibot';
|
|
4
|
-
export const oasRequestBodyData = v.object({
|
|
5
|
-
oasType: v.literal('requestBody'),
|
|
6
|
-
description: v.optional(markdown),
|
|
7
|
-
content: v.record(v.string(), oasMediaTypeData),
|
|
8
|
-
required: v.optional(v.boolean())
|
|
9
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type OasHeaderData } from '../header/header-types.js';
|
|
2
|
-
import { type OasMediaTypeData } from '../mediaType/mediaType-types.js';
|
|
3
|
-
import { type OasHeaderRefData } from '../ref/ref-types.js';
|
|
4
|
-
import * as v from 'valibot';
|
|
5
|
-
export type OasResponseData = {
|
|
6
|
-
oasType: 'response';
|
|
7
|
-
description: string;
|
|
8
|
-
headers?: Record<string, OasHeaderData | OasHeaderRefData>;
|
|
9
|
-
content?: Record<string, OasMediaTypeData>;
|
|
10
|
-
};
|
|
11
|
-
export declare const oasResponseData: v.GenericSchema<OasResponseData>;
|
|
12
|
-
//# sourceMappingURL=response-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"response-types.d.ts","sourceRoot":"","sources":["../../../src/oas/response/response-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,2BAA2B,CAAA;AAC7E,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,iCAAiC,CAAA;AACzF,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,qBAAqB,CAAA;AAC7E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,UAAU,CAAA;IACnB,WAAW,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,GAAG,gBAAgB,CAAC,CAAA;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAA;CAE3C,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,CAAC,CAAC,aAAa,CAAC,eAAe,CAM3D,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { oasHeaderData } from '../header/header-types.js';
|
|
2
|
-
import { oasMediaTypeData } from '../mediaType/mediaType-types.js';
|
|
3
|
-
import { oasHeaderRefData } from '../ref/ref-types.js';
|
|
4
|
-
import * as v from 'valibot';
|
|
5
|
-
export const oasResponseData = v.object({
|
|
6
|
-
oasType: v.literal('response'),
|
|
7
|
-
description: v.string(),
|
|
8
|
-
headers: v.optional(v.record(v.string(), v.union([oasHeaderData, oasHeaderRefData]))),
|
|
9
|
-
content: v.optional(v.record(v.string(), oasMediaTypeData))
|
|
10
|
-
// links: z.record(z.union([link, ref])).optional()
|
|
11
|
-
});
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { type OasArrayData } from '../array/array-types.js';
|
|
3
|
-
import { type OasBooleanData } from '../boolean/boolean-types.js';
|
|
4
|
-
import { type OasUnknownData } from '../unknown/unknown-types.js';
|
|
5
|
-
import { type OasUnionData } from '../union/union-types.js';
|
|
6
|
-
import { type OasIntegerData } from '../integer/integer-types.js';
|
|
7
|
-
import { type OasNumberData } from '../number/number-types.js';
|
|
8
|
-
import { type OasStringData } from '../string/string-types.js';
|
|
9
|
-
import { type OasObjectData } from '../object/object-types.js';
|
|
10
|
-
export type OasSchemaData = OasArrayData | OasBooleanData | OasIntegerData | OasNumberData | OasStringData | OasObjectData | OasUnionData | OasUnknownData;
|
|
11
|
-
export declare const oasSchemaData: v.GenericSchema<OasSchemaData>;
|
|
12
|
-
//# sourceMappingURL=schema-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema-types.d.ts","sourceRoot":"","sources":["../../../src/oas/schema/schema-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACzE,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAA;AACjF,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAA;AACjF,OAAO,EAAgB,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACzE,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,6BAA6B,CAAA;AACjF,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC7E,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC7E,OAAO,EAAiB,KAAK,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAE7E,MAAM,MAAM,aAAa,GACrB,YAAY,GACZ,cAAc,GACd,cAAc,GACd,aAAa,GACb,aAAa,GACb,aAAa,GACb,YAAY,GACZ,cAAc,CAAA;AAElB,eAAO,MAAM,aAAa,EAAE,CAAC,CAAC,aAAa,CAAC,aAAa,CASvD,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { oasArrayData } from '../array/array-types.js';
|
|
3
|
-
import { oasBooleanData } from '../boolean/boolean-types.js';
|
|
4
|
-
import { oasUnknownData } from '../unknown/unknown-types.js';
|
|
5
|
-
import { oasUnionData } from '../union/union-types.js';
|
|
6
|
-
import { oasIntegerData } from '../integer/integer-types.js';
|
|
7
|
-
import { oasNumberData } from '../number/number-types.js';
|
|
8
|
-
import { oasStringData } from '../string/string-types.js';
|
|
9
|
-
import { oasObjectData } from '../object/object-types.js';
|
|
10
|
-
export const oasSchemaData = v.union([
|
|
11
|
-
oasObjectData,
|
|
12
|
-
v.lazy(() => oasArrayData),
|
|
13
|
-
oasBooleanData,
|
|
14
|
-
oasStringData,
|
|
15
|
-
oasNumberData,
|
|
16
|
-
oasIntegerData,
|
|
17
|
-
oasUnionData,
|
|
18
|
-
oasUnknownData
|
|
19
|
-
]);
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { type OasSchemaData } from '../schema/schema-types.js';
|
|
3
|
-
import { type OasSchemaRefData } from '../ref/ref-types.js';
|
|
4
|
-
import { type OasDiscriminatorData } from '../discriminator/discriminator-types.js';
|
|
5
|
-
/**
|
|
6
|
-
* Data type for OpenAPI union schema objects.
|
|
7
|
-
*
|
|
8
|
-
* Represents union types (oneOf/anyOf) that allow values to match
|
|
9
|
-
* one or more of several possible schemas. Includes support for
|
|
10
|
-
* discriminator properties for efficient type resolution.
|
|
11
|
-
*/
|
|
12
|
-
export type OasUnionData = {
|
|
13
|
-
/** Type category identifier for schema objects */
|
|
14
|
-
oasType: 'schema';
|
|
15
|
-
/** Type identifier (always 'union') */
|
|
16
|
-
type: 'union';
|
|
17
|
-
/** Human-readable title for the union */
|
|
18
|
-
title?: string;
|
|
19
|
-
/** Detailed description of the union's purpose */
|
|
20
|
-
description?: string;
|
|
21
|
-
/** Array of schemas that comprise the union */
|
|
22
|
-
members: (OasSchemaData | OasSchemaRefData)[];
|
|
23
|
-
/** Optional discriminator for efficient type resolution */
|
|
24
|
-
discriminator?: OasDiscriminatorData;
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Valibot schema for validating OpenAPI union data objects.
|
|
28
|
-
*
|
|
29
|
-
* Validates union schemas including member schema arrays and optional
|
|
30
|
-
* discriminator properties. Uses lazy evaluation to handle recursive
|
|
31
|
-
* schema references in union members.
|
|
32
|
-
*/
|
|
33
|
-
export declare const oasUnionData: v.GenericSchema<OasUnionData>;
|
|
34
|
-
//# sourceMappingURL=union-types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"union-types.d.ts","sourceRoot":"","sources":["../../../src/oas/union/union-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,2BAA2B,CAAA;AAC7E,OAAO,EAAE,KAAK,gBAAgB,EAAoB,MAAM,qBAAqB,CAAA;AAC7E,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,yCAAyC,CAAA;AAEhD;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,kDAAkD;IAClD,OAAO,EAAE,QAAQ,CAAA;IACjB,uCAAuC;IACvC,IAAI,EAAE,OAAO,CAAA;IACb,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,OAAO,EAAE,CAAC,aAAa,GAAG,gBAAgB,CAAC,EAAE,CAAA;IAC7C,2DAA2D;IAC3D,aAAa,CAAC,EAAE,oBAAoB,CAAA;CACrC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,EAAE,CAAC,CAAC,aAAa,CAAC,YAAY,CAOrD,CAAA"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as v from 'valibot';
|
|
2
|
-
import { oasSchemaData } from '../schema/schema-types.js';
|
|
3
|
-
import { oasSchemaRefData } from '../ref/ref-types.js';
|
|
4
|
-
import { oasDiscriminatorData } from '../discriminator/discriminator-types.js';
|
|
5
|
-
/**
|
|
6
|
-
* Valibot schema for validating OpenAPI union data objects.
|
|
7
|
-
*
|
|
8
|
-
* Validates union schemas including member schema arrays and optional
|
|
9
|
-
* discriminator properties. Uses lazy evaluation to handle recursive
|
|
10
|
-
* schema references in union members.
|
|
11
|
-
*/
|
|
12
|
-
export const oasUnionData = v.object({
|
|
13
|
-
oasType: v.literal('schema'),
|
|
14
|
-
type: v.literal('union'),
|
|
15
|
-
title: v.optional(v.string()),
|
|
16
|
-
description: v.optional(v.string()),
|
|
17
|
-
members: v.lazy(() => v.array(v.union([oasSchemaData, oasSchemaRefData]))),
|
|
18
|
-
discriminator: v.optional(oasDiscriminatorData)
|
|
19
|
-
});
|