ts-openapi-codegen 1.0.0-beta.7 → 1.0.0
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 +221 -123
- package/README.rus.md +725 -0
- package/dist/cli/checkAndUpdateConfig/checkConfig.d.ts +12 -0
- package/dist/cli/checkAndUpdateConfig/checkConfig.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/checkConfig.js +66 -0
- package/dist/cli/checkAndUpdateConfig/constants.d.ts +13 -0
- package/dist/cli/checkAndUpdateConfig/constants.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/constants.js +29 -0
- package/dist/cli/checkAndUpdateConfig/types.d.ts +20 -0
- package/dist/cli/checkAndUpdateConfig/types.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/types.js +12 -0
- package/dist/cli/checkAndUpdateConfig/updateConfig.d.ts +12 -0
- package/dist/cli/checkAndUpdateConfig/updateConfig.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/updateConfig.js +56 -0
- package/dist/cli/checkAndUpdateConfig/utils/generateConfigExample.d.ts +2 -0
- package/dist/cli/checkAndUpdateConfig/utils/generateConfigExample.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/generateConfigExample.js +11 -0
- package/dist/cli/checkAndUpdateConfig/utils/prepareConfigData.d.ts +14 -0
- package/dist/cli/checkAndUpdateConfig/utils/prepareConfigData.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/prepareConfigData.js +30 -0
- package/dist/cli/checkAndUpdateConfig/utils/removeDefaultConfigValues.d.ts +17 -0
- package/dist/cli/checkAndUpdateConfig/utils/removeDefaultConfigValues.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/removeDefaultConfigValues.js +29 -0
- package/dist/cli/checkAndUpdateConfig/utils/rewriteConfigFile.d.ts +2 -0
- package/dist/cli/checkAndUpdateConfig/utils/rewriteConfigFile.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/rewriteConfigFile.js +11 -0
- package/dist/cli/checkAndUpdateConfig/utils/selectConfigAction.d.ts +29 -0
- package/dist/cli/checkAndUpdateConfig/utils/selectConfigAction.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/selectConfigAction.js +49 -0
- package/dist/cli/checkAndUpdateConfig/utils/updateExistingConfigFile.d.ts +6 -0
- package/dist/cli/checkAndUpdateConfig/utils/updateExistingConfigFile.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/updateExistingConfigFile.js +22 -0
- package/dist/cli/checkAndUpdateConfig/utils/validateAndMigrateConfigData.d.ts +17 -0
- package/dist/cli/checkAndUpdateConfig/utils/validateAndMigrateConfigData.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/validateAndMigrateConfigData.js +53 -0
- package/dist/cli/checkAndUpdateConfig/utils/writeConfigFile.d.ts +34 -0
- package/dist/cli/checkAndUpdateConfig/utils/writeConfigFile.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/writeConfigFile.js +41 -0
- package/dist/cli/checkAndUpdateConfig/utils/writeExampleConfigFile.d.ts +6 -0
- package/dist/cli/checkAndUpdateConfig/utils/writeExampleConfigFile.d.ts.map +1 -0
- package/dist/cli/checkAndUpdateConfig/utils/writeExampleConfigFile.js +18 -0
- package/dist/cli/generate/runGenerateOpenApi.d.ts +2 -2
- package/dist/cli/generate/runGenerateOpenApi.d.ts.map +1 -1
- package/dist/cli/generate/runGenerateOpenApi.js +15 -16
- package/dist/cli/index.d.ts +1 -0
- package/dist/cli/index.js +66 -23
- package/dist/cli/initOpenApiConfig/Enums.d.ts +5 -0
- package/dist/cli/initOpenApiConfig/Enums.d.ts.map +1 -0
- package/dist/cli/initOpenApiConfig/Enums.js +8 -0
- package/dist/cli/initOpenApiConfig/Types.d.ts +6 -0
- package/dist/cli/initOpenApiConfig/Types.d.ts.map +1 -0
- package/dist/cli/initOpenApiConfig/Types.js +2 -0
- package/dist/cli/initOpenApiConfig/runInitOpenapiConfig.d.ts +3 -0
- package/dist/cli/initOpenApiConfig/runInitOpenapiConfig.d.ts.map +1 -0
- package/dist/cli/initOpenApiConfig/runInitOpenapiConfig.js +70 -0
- package/dist/cli/interactive/confirmDialog.d.ts +17 -0
- package/dist/cli/interactive/confirmDialog.d.ts.map +1 -0
- package/dist/cli/interactive/confirmDialog.js +36 -0
- package/dist/cli/interactive/constants.d.ts +7 -0
- package/dist/cli/interactive/constants.d.ts.map +1 -0
- package/dist/cli/interactive/constants.js +25 -0
- package/dist/cli/interactive/selectDialog.d.ts +17 -0
- package/dist/cli/interactive/selectDialog.d.ts.map +1 -0
- package/dist/cli/interactive/selectDialog.js +43 -0
- package/dist/cli/interactive/types.d.ts +40 -0
- package/dist/cli/interactive/types.d.ts.map +1 -0
- package/dist/cli/interactive/types.js +12 -0
- package/dist/common/Consts.d.ts +25 -0
- package/dist/common/Consts.d.ts.map +1 -0
- package/dist/common/Consts.js +31 -0
- package/dist/common/Enums.d.ts +4 -0
- package/dist/common/Enums.d.ts.map +1 -1
- package/dist/common/Enums.js +6 -1
- package/dist/common/Logger.d.ts +1 -1
- package/dist/common/Logger.d.ts.map +1 -1
- package/dist/common/Logger.js +5 -38
- package/dist/common/UpdateNotifier.d.ts +36 -2
- package/dist/common/UpdateNotifier.d.ts.map +1 -1
- package/dist/common/UpdateNotifier.js +150 -57
- package/dist/common/VersionedSchema/Types.d.ts +5 -0
- package/dist/common/VersionedSchema/Types.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/determineBestMatchingSchemaVersion.d.ts +1 -7
- package/dist/common/VersionedSchema/Utils/determineBestMatchingSchemaVersion.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/getCurrentErrorMessage.d.ts +3 -0
- package/dist/common/VersionedSchema/Utils/getCurrentErrorMessage.d.ts.map +1 -0
- package/dist/common/VersionedSchema/Utils/getCurrentErrorMessage.js +14 -0
- package/dist/common/VersionedSchema/Utils/getKeyByMapValue.d.ts +2 -0
- package/dist/common/VersionedSchema/Utils/getKeyByMapValue.d.ts.map +1 -0
- package/dist/common/VersionedSchema/Utils/getKeyByMapValue.js +11 -0
- package/dist/common/VersionedSchema/Utils/migrateDataToLatestSchemaVersion.d.ts +5 -2
- package/dist/common/VersionedSchema/Utils/migrateDataToLatestSchemaVersion.d.ts.map +1 -1
- package/dist/common/VersionedSchema/Utils/migrateDataToLatestSchemaVersion.js +22 -15
- package/dist/common/utils/__tests__/__mock__/mockJoiSchema.d.ts.map +1 -0
- package/dist/common/utils/__tests__/convertArrayToObject.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/convertArrayToObject.test.js +14 -14
- package/dist/common/utils/__tests__/determineBestMatchingSchemaVersion.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/determineBestMatchingSchemaVersion.test.js +5 -5
- package/dist/common/utils/__tests__/generateKeyMappingForInvalidKeys.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/generateKeyMappingForInvalidKeys.test.js +4 -4
- package/dist/common/utils/__tests__/getUniqueKeysFromSchemas.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/getUniqueKeysFromSchemas.test.js +4 -4
- package/dist/common/utils/__tests__/getUniqueObjectKeys.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/getUniqueObjectKeys.test.js +5 -5
- package/dist/common/utils/__tests__/mergeObjectSchemas.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/mergeObjectSchemas.test.js +5 -5
- package/dist/common/utils/__tests__/migrationForMultiOptions.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/migrationForMultiOptions.test.js +21 -15
- package/dist/common/utils/__tests__/migrationForOptions.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/migrationForOptions.test.js +13 -9
- package/dist/common/utils/__tests__/pathHelpers.test.d.ts.map +1 -0
- package/dist/{core → common}/utils/__tests__/pathHelpers.test.js +8 -8
- package/dist/common/utils/__tests__/replaceInvalidKeysWithMappedNames.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/replaceInvalidKeysWithMappedNames.test.js +5 -5
- package/dist/common/utils/__tests__/validateAndSuggestKeyCorrections.test.d.ts.map +1 -0
- package/dist/common/{__tests__ → utils/__tests__}/validateAndSuggestKeyCorrections.test.js +5 -5
- package/dist/common/utils/convertArrayToObject.d.ts +2 -0
- package/dist/common/utils/convertArrayToObject.d.ts.map +1 -0
- package/dist/common/{Utils.js → utils/convertArrayToObject.js} +0 -20
- package/dist/{core/utils/fileSystem.d.ts → common/utils/fileSystemHelpers.d.ts} +8 -5
- package/dist/common/utils/fileSystemHelpers.d.ts.map +1 -0
- package/dist/common/utils/fileSystemHelpers.js +85 -0
- package/dist/common/utils/format.d.ts +3 -0
- package/dist/common/utils/format.d.ts.map +1 -0
- package/dist/{core → common}/utils/format.js +2 -2
- package/dist/common/utils/loadConfigIfExists.d.ts +2 -0
- package/dist/common/utils/loadConfigIfExists.d.ts.map +1 -0
- package/dist/common/utils/loadConfigIfExists.js +22 -0
- package/dist/common/utils/pathHelpers.d.ts +6 -0
- package/dist/common/utils/pathHelpers.d.ts.map +1 -0
- package/dist/{core → common}/utils/pathHelpers.js +16 -20
- package/dist/common/utils/safeHasOwn.d.ts +2 -0
- package/dist/common/utils/safeHasOwn.d.ts.map +1 -0
- package/dist/common/utils/safeHasOwn.js +9 -0
- package/dist/core/Context.d.ts.map +1 -1
- package/dist/core/Context.js +3 -3
- package/dist/core/WriteClient.d.ts.map +1 -1
- package/dist/core/WriteClient.js +18 -18
- package/dist/core/__tests__/WriteClient.test.js +61 -60
- package/dist/core/api/v2/Parser.d.ts.map +1 -1
- package/dist/core/api/v2/Parser.js +2 -9
- package/dist/core/api/v2/parser/__tests__/getServer.test.js +2 -2
- package/dist/core/api/v2/parser/__tests__/getType.test.js +3 -3
- package/dist/core/api/v2/parser/getModelProperties.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getModelProperties.js +2 -5
- package/dist/core/api/v2/parser/getModels.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getModels.js +2 -1
- package/dist/core/api/v2/parser/getOperationParameter.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getOperationParameter.js +2 -1
- package/dist/core/api/v2/parser/getOperationResponse.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getOperationResponse.js +2 -5
- package/dist/core/api/v2/parser/getOperationResponses.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getOperationResponses.js +2 -5
- package/dist/core/api/v2/parser/getServices.d.ts.map +1 -1
- package/dist/core/api/v2/parser/getServices.js +2 -5
- package/dist/core/api/v2/parser/getType.js +4 -4
- package/dist/core/api/v3/Parser.d.ts +1 -1
- package/dist/core/api/v3/Parser.d.ts.map +1 -1
- package/dist/core/api/v3/Parser.js +2 -9
- package/dist/core/api/v3/parser/__tests__/getServer.test.js +3 -3
- package/dist/core/api/v3/parser/__tests__/getType.test.js +3 -3
- package/dist/core/api/v3/parser/getModelProperties.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getModelProperties.js +2 -5
- package/dist/core/api/v3/parser/getModels.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getModels.js +2 -1
- package/dist/core/api/v3/parser/getOperationResponse.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getOperationResponse.js +2 -5
- package/dist/core/api/v3/parser/getOperationResponses.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getOperationResponses.js +2 -5
- package/dist/core/api/v3/parser/getServer.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getServer.js +2 -5
- package/dist/core/api/v3/parser/getServices.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getServices.js +2 -5
- package/dist/core/api/v3/parser/getType.d.ts.map +1 -1
- package/dist/core/api/v3/parser/getType.js +5 -13
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +34 -27
- package/dist/core/types/Consts.d.ts +5 -1
- package/dist/core/types/Consts.d.ts.map +1 -1
- package/dist/core/types/Consts.js +6 -2
- package/dist/core/types/base/Root.model.d.ts +1 -0
- package/dist/core/types/base/Root.model.d.ts.map +1 -1
- package/dist/core/utils/__tests__/escapeDescription.test.js +3 -3
- package/dist/core/utils/__tests__/escapeName.test.js +2 -2
- package/dist/core/utils/__tests__/flatMap.test.js +2 -2
- package/dist/core/utils/__tests__/getAbsolutePath.test.js +6 -6
- package/dist/core/utils/__tests__/getClassName.test.js +2 -2
- package/dist/core/utils/__tests__/getComment.test.js +2 -2
- package/dist/core/utils/__tests__/getEnumFromDescription.test.js +2 -2
- package/dist/core/utils/__tests__/getFileName.test.js +2 -2
- package/dist/core/utils/__tests__/getGatheringRefs.test.js +2 -2
- package/dist/core/utils/__tests__/getMappedType.test.js +2 -2
- package/dist/core/utils/__tests__/getModelNames.test.js +2 -2
- package/dist/core/utils/__tests__/getOpenApiVersion.test.js +2 -2
- package/dist/core/utils/__tests__/getOperationName.test.js +2 -2
- package/dist/core/utils/__tests__/getOperationParameterName.test.js +2 -2
- package/dist/core/utils/__tests__/getOperationPath.test.js +2 -2
- package/dist/core/utils/__tests__/getOperationResponseCode.test.js +2 -2
- package/dist/core/utils/__tests__/getPattern.test.js +2 -2
- package/dist/core/utils/__tests__/getRefFromSchema.test.js +2 -2
- package/dist/core/utils/__tests__/getRefs.test.js +2 -2
- package/dist/core/utils/__tests__/getRelativeModelPath.test.js +3 -3
- package/dist/core/utils/__tests__/getServiceClassName.test.js +2 -2
- package/dist/core/utils/__tests__/getServiceNames.test.js +2 -2
- package/dist/core/utils/__tests__/getServiceVersion.test.js +2 -2
- package/dist/core/utils/__tests__/isString.test.js +2 -2
- package/dist/core/utils/__tests__/isSubdirectory.test.js +10 -10
- package/dist/core/utils/__tests__/registerHandlebarHelpers.test.js +2 -2
- package/dist/core/utils/__tests__/registerHandlebarTemplates.test.js +2 -2
- package/dist/core/utils/__tests__/replaceString.test.js +2 -2
- package/dist/core/utils/__tests__/resolveRefToImportPath.test.js +360 -51
- package/dist/core/utils/__tests__/sort.test.js +2 -2
- package/dist/core/utils/__tests__/sortByRequiredExtended.test.js +11 -11
- package/dist/core/utils/__tests__/sortByRequiredSimple.test.js +11 -11
- package/dist/core/utils/__tests__/sortModelsByName.test.js +2 -2
- package/dist/core/utils/__tests__/sortServicesByName.test.js +2 -2
- package/dist/core/utils/__tests__/stripNamespace.test.js +2 -2
- package/dist/core/utils/__tests__/unique.test.js +2 -2
- package/dist/core/utils/__tests__/writeClientCore.test.js +52 -50
- package/dist/core/utils/__tests__/writeClientFullIndex.test.js +39 -37
- package/dist/core/utils/__tests__/writeClientModels.test.js +65 -63
- package/dist/core/utils/__tests__/writeClientSchemas.test.js +65 -63
- package/dist/core/utils/__tests__/writeClientServices.test.js +60 -58
- package/dist/core/utils/appendUniqueLinesToFile.js +4 -4
- package/dist/core/utils/createNormalizedRef.js +2 -2
- package/dist/core/utils/getAbsolutePath.js +3 -3
- package/dist/core/utils/getModelNameWithPrefix.d.ts +3 -0
- package/dist/core/utils/getModelNameWithPrefix.d.ts.map +1 -0
- package/dist/core/utils/getModelNameWithPrefix.js +15 -0
- package/dist/core/utils/getOpenApiSpec.d.ts.map +1 -1
- package/dist/core/utils/getOpenApiSpec.js +4 -4
- package/dist/core/utils/getOutputPaths.d.ts.map +1 -1
- package/dist/core/utils/getOutputPaths.js +6 -6
- package/dist/core/utils/getPattern.d.ts.map +1 -1
- package/dist/core/utils/getPattern.js +2 -1
- package/dist/core/utils/getRelativeModelPath.d.ts.map +1 -1
- package/dist/core/utils/getRelativeModelPath.js +2 -6
- package/dist/core/utils/isSubdirectory.d.ts.map +1 -1
- package/dist/core/utils/isSubdirectory.js +4 -3
- package/dist/core/utils/mapPathToTargetDirSafe.d.ts.map +1 -1
- package/dist/core/utils/mapPathToTargetDirSafe.js +11 -12
- package/dist/core/utils/modelHelpers.d.ts.map +1 -1
- package/dist/core/utils/modelHelpers.js +18 -6
- package/dist/core/utils/normalizeString.d.ts +2 -0
- package/dist/core/utils/normalizeString.d.ts.map +1 -0
- package/dist/core/utils/normalizeString.js +14 -0
- package/dist/core/utils/normalizedAbsolutePath.js +3 -3
- package/dist/core/utils/parseRef.d.ts.map +1 -1
- package/dist/core/utils/parseRef.js +7 -10
- package/dist/core/utils/precompileTemplates.js +14 -10
- package/dist/core/utils/registerHandlebarHelpers.d.ts.map +1 -1
- package/dist/core/utils/registerHandlebarHelpers.js +24 -0
- package/dist/core/utils/registerHandlebarTemplates.js +82 -82
- package/dist/core/utils/replaceString.d.ts.map +1 -1
- package/dist/core/utils/replaceString.js +2 -1
- package/dist/core/utils/resolveRefPath.d.ts.map +1 -1
- package/dist/core/utils/resolveRefPath.js +3 -3
- package/dist/core/utils/resolveRefToImportPath.d.ts +8 -2
- package/dist/core/utils/resolveRefToImportPath.d.ts.map +1 -1
- package/dist/core/utils/resolveRefToImportPath.js +91 -31
- package/dist/core/utils/serviceHelpers.d.ts.map +1 -1
- package/dist/core/utils/serviceHelpers.js +2 -1
- package/dist/core/utils/stripNamespace.js +5 -5
- package/dist/core/utils/writeClientCore.d.ts.map +1 -1
- package/dist/core/utils/writeClientCore.js +12 -12
- package/dist/core/utils/writeClientCoreIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientCoreIndex.js +2 -2
- package/dist/core/utils/writeClientFullIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientFullIndex.js +4 -4
- package/dist/core/utils/writeClientModels.d.ts.map +1 -1
- package/dist/core/utils/writeClientModels.js +7 -7
- package/dist/core/utils/writeClientModelsIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientModelsIndex.js +2 -2
- package/dist/core/utils/writeClientSchemas.d.ts.map +1 -1
- package/dist/core/utils/writeClientSchemas.js +7 -7
- package/dist/core/utils/writeClientSchemasIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientSchemasIndex.js +2 -2
- package/dist/core/utils/writeClientServices.d.ts.map +1 -1
- package/dist/core/utils/writeClientServices.js +5 -5
- package/dist/core/utils/writeClientServicesIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientServicesIndex.js +2 -2
- package/dist/core/utils/writeClientSimpleIndex.d.ts.map +1 -1
- package/dist/core/utils/writeClientSimpleIndex.js +4 -4
- package/dist/templatesCompiled/cli/openApiConfig.d.ts +9 -0
- package/dist/templatesCompiled/cli/openApiConfig.d.ts.map +1 -0
- package/dist/templatesCompiled/cli/openApiConfig.js +21 -0
- package/dist/templatesCompiled/client/core/ApiError.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/ApiRequestOptions.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/ApiResult.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/CancelablePromise.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/HttpStatusCode.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/OpenAPI.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/axios/getHeaders.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/axios/getRequestBody.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/axios/getResponseBody.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/axios/getResponseHeader.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/axios/request.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/axios/sendRequest.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/fetch/getHeaders.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/fetch/getRequestBody.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/fetch/getResponseBody.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/fetch/getResponseHeader.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/fetch/request.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/fetch/sendRequest.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/catchErrors.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/getFormData.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/getQueryString.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/getUrl.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/isBinary.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/isBlob.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/isDefined.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/isString.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/isStringWithValue.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/isSuccess.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/functions/resolve.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/node/getHeaders.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/node/getRequestBody.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/node/getResponseBody.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/node/getResponseHeader.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/node/request.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/node/sendRequest.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/request.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/xhr/getHeaders.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/xhr/getRequestBody.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/xhr/getResponseBody.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/xhr/getResponseHeader.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/xhr/request.d.ts.map +1 -0
- package/dist/templatesCompiled/client/core/xhr/sendRequest.d.ts.map +1 -0
- package/dist/templatesCompiled/client/exportModel.d.ts.map +1 -0
- package/dist/templatesCompiled/{exportModel.js → client/exportModel.js} +4 -4
- package/dist/templatesCompiled/client/exportSchema.d.ts.map +1 -0
- package/dist/templatesCompiled/client/exportService.d.ts.map +1 -0
- package/dist/templatesCompiled/{exportService.js → client/exportService.js} +12 -13
- package/dist/templatesCompiled/client/indexCore.d.ts.map +1 -0
- package/dist/templatesCompiled/client/indexFull.d.ts.map +1 -0
- package/dist/templatesCompiled/{indexFull.js → client/indexFull.js} +35 -29
- package/dist/templatesCompiled/client/indexModels.d.ts.map +1 -0
- package/dist/templatesCompiled/client/indexServices.d.ts.map +1 -0
- package/dist/templatesCompiled/client/indexShemas.d.ts.map +1 -0
- package/dist/templatesCompiled/client/indexSimple.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/base.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/exportComposition.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/exportEnum.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/exportInterface.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/exportType.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/header.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/isNullable.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/isReadOnly.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/isRequired.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/isRequiredDefinition.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/parameterValues.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/parameters.d.ts +17 -0
- package/dist/templatesCompiled/client/partials/parameters.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/parameters.js +96 -0
- package/dist/templatesCompiled/{partials/parameters.d.ts → client/partials/parametersDefinition.d.ts} +2 -3
- package/dist/templatesCompiled/client/partials/parametersDefinition.d.ts.map +1 -0
- package/dist/templatesCompiled/{partials/parameters.js → client/partials/parametersDefinition.js} +15 -23
- package/dist/templatesCompiled/client/partials/result.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/schema.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/schemaArray.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/schemaComposition.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/schemaDictionary.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/schemaEnum.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/schemaGeneric.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/schemaInterface.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/serviceOption.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/type.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/typeArray.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/typeDictionary.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/typeEnum.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/typeGeneric.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/typeInterface.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/typeIntersection.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/typeReference.d.ts.map +1 -0
- package/dist/templatesCompiled/client/partials/typeUnion.d.ts.map +1 -0
- package/package.json +15 -13
- package/dist/cli/chekOpenApiConfig/chekOpenApiConfig.d.ts +0 -5
- package/dist/cli/chekOpenApiConfig/chekOpenApiConfig.d.ts.map +0 -1
- package/dist/cli/chekOpenApiConfig/chekOpenApiConfig.js +0 -40
- package/dist/common/Utils.d.ts +0 -3
- package/dist/common/Utils.d.ts.map +0 -1
- package/dist/common/__tests__/__mock__/mockJoiSchema.d.ts.map +0 -1
- package/dist/common/__tests__/convertArrayToObject.test.d.ts.map +0 -1
- package/dist/common/__tests__/determineBestMatchingSchemaVersion.test.d.ts.map +0 -1
- package/dist/common/__tests__/generateKeyMappingForInvalidKeys.test.d.ts.map +0 -1
- package/dist/common/__tests__/getUniqueKeysFromSchemas.test.d.ts.map +0 -1
- package/dist/common/__tests__/getUniqueObjectKeys.test.d.ts.map +0 -1
- package/dist/common/__tests__/mergeObjectSchemas.test.d.ts.map +0 -1
- package/dist/common/__tests__/migrationForMultiOptions.test.d.ts.map +0 -1
- package/dist/common/__tests__/migrationForOptions.test.d.ts.map +0 -1
- package/dist/common/__tests__/replaceInvalidKeysWithMappedNames.test.d.ts.map +0 -1
- package/dist/common/__tests__/validateAndSuggestKeyCorrections.test.d.ts.map +0 -1
- package/dist/core/utils/__tests__/getRelativeModelImportPath.test.d.ts +0 -2
- package/dist/core/utils/__tests__/getRelativeModelImportPath.test.d.ts.map +0 -1
- package/dist/core/utils/__tests__/getRelativeModelImportPath.test.js +0 -82
- package/dist/core/utils/__tests__/pathHelpers.test.d.ts.map +0 -1
- package/dist/core/utils/fileSystem.d.ts.map +0 -1
- package/dist/core/utils/fileSystem.js +0 -26
- package/dist/core/utils/format.d.ts +0 -2
- package/dist/core/utils/format.d.ts.map +0 -1
- package/dist/core/utils/getRelativeModelImportPath.d.ts +0 -9
- package/dist/core/utils/getRelativeModelImportPath.d.ts.map +0 -1
- package/dist/core/utils/getRelativeModelImportPath.js +0 -45
- package/dist/core/utils/isDirectory.d.ts +0 -2
- package/dist/core/utils/isDirectory.d.ts.map +0 -1
- package/dist/core/utils/isDirectory.js +0 -13
- package/dist/core/utils/pathHelpers.d.ts +0 -7
- package/dist/core/utils/pathHelpers.d.ts.map +0 -1
- package/dist/templatesCompiled/core/ApiError.d.ts.map +0 -1
- package/dist/templatesCompiled/core/ApiRequestOptions.d.ts.map +0 -1
- package/dist/templatesCompiled/core/ApiResult.d.ts.map +0 -1
- package/dist/templatesCompiled/core/CancelablePromise.d.ts.map +0 -1
- package/dist/templatesCompiled/core/HttpStatusCode.d.ts.map +0 -1
- package/dist/templatesCompiled/core/OpenAPI.d.ts.map +0 -1
- package/dist/templatesCompiled/core/axios/getHeaders.d.ts.map +0 -1
- package/dist/templatesCompiled/core/axios/getRequestBody.d.ts.map +0 -1
- package/dist/templatesCompiled/core/axios/getResponseBody.d.ts.map +0 -1
- package/dist/templatesCompiled/core/axios/getResponseHeader.d.ts.map +0 -1
- package/dist/templatesCompiled/core/axios/request.d.ts.map +0 -1
- package/dist/templatesCompiled/core/axios/sendRequest.d.ts.map +0 -1
- package/dist/templatesCompiled/core/fetch/getHeaders.d.ts.map +0 -1
- package/dist/templatesCompiled/core/fetch/getRequestBody.d.ts.map +0 -1
- package/dist/templatesCompiled/core/fetch/getResponseBody.d.ts.map +0 -1
- package/dist/templatesCompiled/core/fetch/getResponseHeader.d.ts.map +0 -1
- package/dist/templatesCompiled/core/fetch/request.d.ts.map +0 -1
- package/dist/templatesCompiled/core/fetch/sendRequest.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/catchErrors.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/getFormData.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/getQueryString.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/getUrl.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/isBinary.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/isBlob.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/isDefined.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/isString.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/isStringWithValue.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/isSuccess.d.ts.map +0 -1
- package/dist/templatesCompiled/core/functions/resolve.d.ts.map +0 -1
- package/dist/templatesCompiled/core/node/getHeaders.d.ts.map +0 -1
- package/dist/templatesCompiled/core/node/getRequestBody.d.ts.map +0 -1
- package/dist/templatesCompiled/core/node/getResponseBody.d.ts.map +0 -1
- package/dist/templatesCompiled/core/node/getResponseHeader.d.ts.map +0 -1
- package/dist/templatesCompiled/core/node/request.d.ts.map +0 -1
- package/dist/templatesCompiled/core/node/sendRequest.d.ts.map +0 -1
- package/dist/templatesCompiled/core/request.d.ts.map +0 -1
- package/dist/templatesCompiled/core/xhr/getHeaders.d.ts.map +0 -1
- package/dist/templatesCompiled/core/xhr/getRequestBody.d.ts.map +0 -1
- package/dist/templatesCompiled/core/xhr/getResponseBody.d.ts.map +0 -1
- package/dist/templatesCompiled/core/xhr/getResponseHeader.d.ts.map +0 -1
- package/dist/templatesCompiled/core/xhr/request.d.ts.map +0 -1
- package/dist/templatesCompiled/core/xhr/sendRequest.d.ts.map +0 -1
- package/dist/templatesCompiled/exportModel.d.ts.map +0 -1
- package/dist/templatesCompiled/exportSchema.d.ts.map +0 -1
- package/dist/templatesCompiled/exportService.d.ts.map +0 -1
- package/dist/templatesCompiled/indexCore.d.ts.map +0 -1
- package/dist/templatesCompiled/indexFull.d.ts.map +0 -1
- package/dist/templatesCompiled/indexModels.d.ts.map +0 -1
- package/dist/templatesCompiled/indexServices.d.ts.map +0 -1
- package/dist/templatesCompiled/indexShemas.d.ts.map +0 -1
- package/dist/templatesCompiled/indexSimple.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/base.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/exportComposition.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/exportEnum.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/exportInterface.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/exportType.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/header.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/isNullable.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/isReadOnly.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/isRequired.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/isRequiredDefinition.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/parameterValues.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/parameters.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/parametersDefinition.d.ts +0 -13
- package/dist/templatesCompiled/partials/parametersDefinition.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/parametersDefinition.js +0 -62
- package/dist/templatesCompiled/partials/result.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/schema.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/schemaArray.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/schemaComposition.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/schemaDictionary.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/schemaEnum.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/schemaGeneric.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/schemaInterface.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/serviceOption.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/type.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/typeArray.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/typeDictionary.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/typeEnum.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/typeGeneric.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/typeInterface.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/typeIntersection.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/typeReference.d.ts.map +0 -1
- package/dist/templatesCompiled/partials/typeUnion.d.ts.map +0 -1
- /package/dist/common/{__tests__ → utils/__tests__}/__mock__/mockJoiSchema.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/__mock__/mockJoiSchema.js +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/convertArrayToObject.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/determineBestMatchingSchemaVersion.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/generateKeyMappingForInvalidKeys.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/getUniqueKeysFromSchemas.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/getUniqueObjectKeys.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/mergeObjectSchemas.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/migrationForMultiOptions.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/migrationForOptions.test.d.ts +0 -0
- /package/dist/{core → common}/utils/__tests__/pathHelpers.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/replaceInvalidKeysWithMappedNames.test.d.ts +0 -0
- /package/dist/common/{__tests__ → utils/__tests__}/validateAndSuggestKeyCorrections.test.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/ApiError.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/ApiError.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/ApiRequestOptions.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/ApiRequestOptions.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/ApiResult.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/ApiResult.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/CancelablePromise.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/CancelablePromise.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/HttpStatusCode.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/HttpStatusCode.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/OpenAPI.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/OpenAPI.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/getHeaders.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/getHeaders.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/getRequestBody.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/getRequestBody.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/getResponseBody.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/getResponseBody.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/getResponseHeader.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/getResponseHeader.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/request.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/request.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/sendRequest.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/axios/sendRequest.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/getHeaders.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/getHeaders.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/getRequestBody.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/getRequestBody.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/getResponseBody.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/getResponseBody.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/getResponseHeader.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/getResponseHeader.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/request.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/request.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/sendRequest.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/fetch/sendRequest.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/catchErrors.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/catchErrors.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/getFormData.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/getFormData.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/getQueryString.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/getQueryString.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/getUrl.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/getUrl.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isBinary.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isBinary.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isBlob.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isBlob.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isDefined.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isDefined.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isString.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isString.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isStringWithValue.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isStringWithValue.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isSuccess.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/isSuccess.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/resolve.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/functions/resolve.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/getHeaders.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/getHeaders.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/getRequestBody.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/getRequestBody.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/getResponseBody.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/getResponseBody.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/getResponseHeader.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/getResponseHeader.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/request.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/request.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/sendRequest.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/node/sendRequest.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/request.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/request.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/getHeaders.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/getHeaders.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/getRequestBody.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/getRequestBody.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/getResponseBody.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/getResponseBody.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/getResponseHeader.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/getResponseHeader.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/request.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/request.js +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/sendRequest.d.ts +0 -0
- /package/dist/templatesCompiled/{core → client/core}/xhr/sendRequest.js +0 -0
- /package/dist/templatesCompiled/{exportModel.d.ts → client/exportModel.d.ts} +0 -0
- /package/dist/templatesCompiled/{exportSchema.d.ts → client/exportSchema.d.ts} +0 -0
- /package/dist/templatesCompiled/{exportSchema.js → client/exportSchema.js} +0 -0
- /package/dist/templatesCompiled/{exportService.d.ts → client/exportService.d.ts} +0 -0
- /package/dist/templatesCompiled/{indexCore.d.ts → client/indexCore.d.ts} +0 -0
- /package/dist/templatesCompiled/{indexCore.js → client/indexCore.js} +0 -0
- /package/dist/templatesCompiled/{indexFull.d.ts → client/indexFull.d.ts} +0 -0
- /package/dist/templatesCompiled/{indexModels.d.ts → client/indexModels.d.ts} +0 -0
- /package/dist/templatesCompiled/{indexModels.js → client/indexModels.js} +0 -0
- /package/dist/templatesCompiled/{indexServices.d.ts → client/indexServices.d.ts} +0 -0
- /package/dist/templatesCompiled/{indexServices.js → client/indexServices.js} +0 -0
- /package/dist/templatesCompiled/{indexShemas.d.ts → client/indexShemas.d.ts} +0 -0
- /package/dist/templatesCompiled/{indexShemas.js → client/indexShemas.js} +0 -0
- /package/dist/templatesCompiled/{indexSimple.d.ts → client/indexSimple.d.ts} +0 -0
- /package/dist/templatesCompiled/{indexSimple.js → client/indexSimple.js} +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/base.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/base.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/exportComposition.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/exportComposition.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/exportEnum.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/exportEnum.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/exportInterface.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/exportInterface.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/exportType.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/exportType.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/header.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/header.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/isNullable.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/isNullable.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/isReadOnly.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/isReadOnly.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/isRequired.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/isRequired.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/isRequiredDefinition.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/isRequiredDefinition.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/parameterValues.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/parameterValues.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/result.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/result.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schema.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schema.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaArray.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaArray.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaComposition.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaComposition.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaDictionary.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaDictionary.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaEnum.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaEnum.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaGeneric.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaGeneric.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaInterface.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/schemaInterface.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/serviceOption.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/serviceOption.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/type.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/type.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeArray.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeArray.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeDictionary.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeDictionary.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeEnum.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeEnum.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeGeneric.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeGeneric.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeInterface.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeInterface.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeIntersection.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeIntersection.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeReference.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeReference.js +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeUnion.d.ts +0 -0
- /package/dist/templatesCompiled/{partials → client/partials}/typeUnion.js +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-openapi-codegen",
|
|
3
|
-
"version": "1.0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Library that generates Typescript clients based on the OpenAPI specification. It bases on openapi-typescript-codegen",
|
|
5
5
|
"author": "Alexey Zverev",
|
|
6
6
|
"homepage": "https://github.com/ozonophore/openapi-codegen.git",
|
|
@@ -35,20 +35,23 @@
|
|
|
35
35
|
],
|
|
36
36
|
"main": "dist/index.js",
|
|
37
37
|
"module": "dist/index.js",
|
|
38
|
-
"types": "
|
|
38
|
+
"types": "dist/index.d.ts",
|
|
39
39
|
"bin": {
|
|
40
|
-
"
|
|
40
|
+
"openapi-codegen-cli": "dist/cli/index.js"
|
|
41
|
+
},
|
|
42
|
+
"directories": {
|
|
43
|
+
"example": "example"
|
|
41
44
|
},
|
|
42
45
|
"files": [
|
|
43
46
|
"dist"
|
|
44
47
|
],
|
|
45
48
|
"scripts": {
|
|
46
|
-
"clean": "
|
|
47
|
-
"build": "tsc -p .
|
|
49
|
+
"clean": "shx rm -rf ./dist ./generated ./test/generated ./test/e2e/generated ./samples/generated ./coverage ./node_modules/.cache",
|
|
50
|
+
"build": "tsc -p .",
|
|
48
51
|
"build:hbs": "tsx ./src/core/utils/precompileTemplates.ts",
|
|
49
52
|
"release": "npm run build:hbs && npm run build",
|
|
50
53
|
"run": "node ./test/index.js",
|
|
51
|
-
"test:unit": "node --import tsx --test-name-pattern \"@unit\" --test \"**/*.test.ts\"",
|
|
54
|
+
"test:unit": "node --experimental-test-coverage --import tsx --test-name-pattern \"@unit\" --test \"**/*.test.ts\"",
|
|
52
55
|
"test:update": "UPDATE_SNAPSHOTS=true npm run test:unit",
|
|
53
56
|
"test:coverage": "node --experimental-test-coverage --import tsx --test-name-pattern \"@unit\" --test \"**/*.test.ts\"",
|
|
54
57
|
"eslint": "eslint \"./src/**/*.ts\" \"./types/index.d.ts\"",
|
|
@@ -57,7 +60,7 @@
|
|
|
57
60
|
"prettier:fix": "prettier \"./src/**/*.ts\" \"./types/index.d.ts\" --write",
|
|
58
61
|
"prepublish": "npm run clean && npm run release",
|
|
59
62
|
"codecov": "codecov --token=89a9fe76-2714-4b5b-83e3-9d809615064d",
|
|
60
|
-
"find-deadcode": "
|
|
63
|
+
"find-deadcode": "knip"
|
|
61
64
|
},
|
|
62
65
|
"dependencies": {
|
|
63
66
|
"@apidevtools/swagger-parser": "12.0.0",
|
|
@@ -66,14 +69,13 @@
|
|
|
66
69
|
"chalk": "^4.1.2",
|
|
67
70
|
"commander": "8.0.0",
|
|
68
71
|
"configstore": "^5.0.1",
|
|
72
|
+
"enquirer": "^2.4.1",
|
|
69
73
|
"fast-deep-equal": "^3.1.3",
|
|
70
74
|
"figlet": "^1.8.0",
|
|
71
75
|
"handlebars": "4.7.6",
|
|
72
76
|
"joi": "^17.13.3",
|
|
73
77
|
"json-schema": "0.4.0",
|
|
74
78
|
"leven": "^4.0.0",
|
|
75
|
-
"mkdirp": "1.0.4",
|
|
76
|
-
"rimraf": "3.0.2",
|
|
77
79
|
"semver": "^7.7.1",
|
|
78
80
|
"winston": "^3.17.0",
|
|
79
81
|
"winston-daily-rotate-file": "^5.0.0"
|
|
@@ -92,8 +94,7 @@
|
|
|
92
94
|
"@types/figlet": "^1.5.8",
|
|
93
95
|
"@types/glob": "^8.1.0",
|
|
94
96
|
"@types/json-schema": "^7.0.15",
|
|
95
|
-
"@types/
|
|
96
|
-
"@types/node": "22.5.1",
|
|
97
|
+
"@types/node": "^22.5.1",
|
|
97
98
|
"@types/node-fetch": "2.5.12",
|
|
98
99
|
"@types/prettier": "3.0.0",
|
|
99
100
|
"@types/qs": "6.9.7",
|
|
@@ -114,14 +115,15 @@
|
|
|
114
115
|
"form-data": "4.0.0",
|
|
115
116
|
"glob": "7.1.7",
|
|
116
117
|
"globals": "^16.2.0",
|
|
117
|
-
"
|
|
118
|
+
"knip": "^5.77.1",
|
|
118
119
|
"node-fetch": "2.6.1",
|
|
119
120
|
"prettier": "^3.4.2",
|
|
120
121
|
"puppeteer": "10.1.0",
|
|
121
122
|
"qs": "6.10.1",
|
|
123
|
+
"shx": "^0.4.0",
|
|
122
124
|
"ts-prune": "^0.10.3",
|
|
123
125
|
"tsx": "^4.20.3",
|
|
124
|
-
"typescript": "5.8.3"
|
|
126
|
+
"typescript": "^5.8.3"
|
|
125
127
|
},
|
|
126
128
|
"peerDependencies": {
|
|
127
129
|
"axios": ">=1.8.2 <=1.9.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chekOpenApiConfig.d.ts","sourceRoot":"","sources":["../../../src/cli/chekOpenApiConfig/chekOpenApiConfig.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,wBAAgB,iBAAiB,SA4BhC"}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.chekOpenApiConfig = chekOpenApiConfig;
|
|
4
|
-
const Enums_1 = require("../../common/Enums");
|
|
5
|
-
const Logger_1 = require("../../common/Logger");
|
|
6
|
-
const Utils_1 = require("../../common/Utils");
|
|
7
|
-
const MultiOptionsVersionedSchemas_1 = require("../../common/VersionedSchema/MultiOptionsVersioned/MultiOptionsVersionedSchemas");
|
|
8
|
-
const OptionsVersionedSchemas_1 = require("../../common/VersionedSchema/OptionsVersioned/OptionsVersionedSchemas");
|
|
9
|
-
const getErrorFieldsFromValidation_1 = require("../../common/VersionedSchema/Utils/getErrorFieldsFromValidation");
|
|
10
|
-
const isInstanceOfMultiOptions_1 = require("../../core/utils/isInstanceOfMultiOptions");
|
|
11
|
-
/**
|
|
12
|
-
* The function checks whether the configuration file data is filled in correctly
|
|
13
|
-
*/
|
|
14
|
-
function chekOpenApiConfig() {
|
|
15
|
-
const logger = new Logger_1.Logger({
|
|
16
|
-
level: Enums_1.ELogLevel.INFO,
|
|
17
|
-
instanceId: 'check-openapi-config',
|
|
18
|
-
logOutput: Enums_1.ELogOutput.CONSOLE,
|
|
19
|
-
});
|
|
20
|
-
try {
|
|
21
|
-
const configData = (0, Utils_1.loadConfigIfExists)();
|
|
22
|
-
if (!configData) {
|
|
23
|
-
logger.error('The configuration file is missing');
|
|
24
|
-
}
|
|
25
|
-
const preparedOptions = (0, Utils_1.convertArrayToObject)(configData);
|
|
26
|
-
const isMultiOptions = (0, isInstanceOfMultiOptions_1.isInstanceOfMultioptions)(preparedOptions);
|
|
27
|
-
const currentMigrationPlan = isMultiOptions ? MultiOptionsVersionedSchemas_1.multiOptionsVersionedSchema : OptionsVersionedSchemas_1.optionsVersionedSchemas;
|
|
28
|
-
const currentSchema = currentMigrationPlan
|
|
29
|
-
.map((sch, idx) => ({ ...sch, index: idx + 1 }))
|
|
30
|
-
.reduce((prev, curr) => (curr.index > prev.index ? curr : prev));
|
|
31
|
-
const { error } = currentSchema.schema.validate(preparedOptions);
|
|
32
|
-
if (error) {
|
|
33
|
-
const details = (0, getErrorFieldsFromValidation_1.getErrorFieldsFromValidation)(error).map((e) => `${e.path}: ${e.type}`).join(',');
|
|
34
|
-
logger.error(`The configuration file data is specified incorrectly: ${details}`);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
catch (error) {
|
|
38
|
-
logger.error(error.message);
|
|
39
|
-
}
|
|
40
|
-
}
|
package/dist/common/Utils.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Utils.d.ts","sourceRoot":"","sources":["../../src/common/Utils.ts"],"names":[],"mappings":"AAOA,wBAAgB,kBAAkB,uDAYjC;AAED,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,GAAG,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CA4DxH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mockJoiSchema.d.ts","sourceRoot":"","sources":["../../../../src/common/__tests__/__mock__/mockJoiSchema.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,EAAE,EAAE,SAAS,OAAO,EAAE,SAAQ;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,EAAO,EAAE,iBAAe;sBACxG,GAAG,WAAW,GAAG;;;sBADyC,MAAM;sBAAQ,MAAM;;;;;;;;;CASlG,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"convertArrayToObject.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/convertArrayToObject.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"determineBestMatchingSchemaVersion.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/determineBestMatchingSchemaVersion.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generateKeyMappingForInvalidKeys.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/generateKeyMappingForInvalidKeys.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getUniqueKeysFromSchemas.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/getUniqueKeysFromSchemas.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getUniqueObjectKeys.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/getUniqueObjectKeys.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mergeObjectSchemas.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/mergeObjectSchemas.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migrationForMultiOptions.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/migrationForMultiOptions.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"migrationForOptions.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/migrationForOptions.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"replaceInvalidKeysWithMappedNames.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/replaceInvalidKeysWithMappedNames.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validateAndSuggestKeyCorrections.test.d.ts","sourceRoot":"","sources":["../../../src/common/__tests__/validateAndSuggestKeyCorrections.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRelativeModelImportPath.test.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/__tests__/getRelativeModelImportPath.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const node_assert_1 = __importDefault(require("node:assert"));
|
|
7
|
-
const node_test_1 = require("node:test");
|
|
8
|
-
const getRelativeModelImportPath_1 = require("../getRelativeModelImportPath");
|
|
9
|
-
const rootPath = '/openapi-codegen/generated/openapi/models';
|
|
10
|
-
let sourcePath = '';
|
|
11
|
-
let targetPath = '';
|
|
12
|
-
(0, node_test_1.describe)('getRelativeModelImportPath', () => {
|
|
13
|
-
(0, node_test_1.beforeEach)(() => {
|
|
14
|
-
sourcePath = '';
|
|
15
|
-
targetPath = '';
|
|
16
|
-
});
|
|
17
|
-
(0, node_test_1.test)('@unit: The root folder is not specified', () => {
|
|
18
|
-
sourcePath = '';
|
|
19
|
-
targetPath = '../common/ModelWithString.yml';
|
|
20
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(undefined, sourcePath, targetPath), '../common/ModelWithString');
|
|
21
|
-
});
|
|
22
|
-
(0, node_test_1.test)('@unit: The path for sourcePath is not specified. Option 1', () => {
|
|
23
|
-
sourcePath = '';
|
|
24
|
-
targetPath = 'ModelWithString.yml';
|
|
25
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './ModelWithString');
|
|
26
|
-
});
|
|
27
|
-
(0, node_test_1.test)('@unit: The path for sourcePath is not specified. Option 2', () => {
|
|
28
|
-
sourcePath = '';
|
|
29
|
-
targetPath = '../ModelWithString.yml';
|
|
30
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './ModelWithString');
|
|
31
|
-
});
|
|
32
|
-
(0, node_test_1.test)('@unit: The path for sourcePath is not specified. Option 3', () => {
|
|
33
|
-
sourcePath = '';
|
|
34
|
-
targetPath = '../common/ModelWithString.yml';
|
|
35
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './common/ModelWithString');
|
|
36
|
-
});
|
|
37
|
-
(0, node_test_1.test)('@unit: The path for sourcePath is the area inside the file. Option 1', () => {
|
|
38
|
-
sourcePath = '#/components/schemas/SimpleRequestBody';
|
|
39
|
-
targetPath = 'ModelWithString.yml';
|
|
40
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './ModelWithString');
|
|
41
|
-
});
|
|
42
|
-
(0, node_test_1.test)('@unit: The path for sourcePath is the area inside the file. Option 2', () => {
|
|
43
|
-
sourcePath = '#/components/schemas/SimpleRequestBody';
|
|
44
|
-
targetPath = '../ModelWithString.yml';
|
|
45
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './ModelWithString');
|
|
46
|
-
});
|
|
47
|
-
(0, node_test_1.test)('@unit: The path for sourcePath is the area inside the file. Option 3', () => {
|
|
48
|
-
sourcePath = '#/components/schemas/SimpleRequestBody';
|
|
49
|
-
targetPath = '../common/ModelWithString.yml';
|
|
50
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './common/ModelWithString');
|
|
51
|
-
});
|
|
52
|
-
(0, node_test_1.test)('@unit: The path for sourcePath contains the folder, the path for targetPath contains the file name.', () => {
|
|
53
|
-
sourcePath = 'model/SimpleRequestBody.yml';
|
|
54
|
-
targetPath = 'ModelWithString.yml';
|
|
55
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './ModelWithString');
|
|
56
|
-
});
|
|
57
|
-
(0, node_test_1.test)('@unit: The path for source Path contains a folder, the path for targetPath contains one jump to the folder above.', () => {
|
|
58
|
-
sourcePath = 'model/SimpleRequestBody.yml';
|
|
59
|
-
targetPath = '../common/ModelWithString.yml';
|
|
60
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), '../common/ModelWithString');
|
|
61
|
-
});
|
|
62
|
-
(0, node_test_1.test)('@unit: The path for sourcePath contains a folder, the path for targetPath contains several transitions to the folder above.', () => {
|
|
63
|
-
sourcePath = 'model/SimpleRequestBody.yml';
|
|
64
|
-
targetPath = '../../common/ModelWithString.yml';
|
|
65
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), '../common/ModelWithString');
|
|
66
|
-
});
|
|
67
|
-
(0, node_test_1.test)('@unit: The path for sourcePath goes beyond the root folder, the path for targetPath is the file name.', () => {
|
|
68
|
-
sourcePath = '../common/SimpleRequestBody.yml';
|
|
69
|
-
targetPath = 'ModelWithString.yml';
|
|
70
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './ModelWithString');
|
|
71
|
-
});
|
|
72
|
-
(0, node_test_1.test)('@unit: The path for sourcePath goes beyond the root folder, the path for targetPath is a file in the same folder.', () => {
|
|
73
|
-
sourcePath = '../common/SimpleRequestBody.yml';
|
|
74
|
-
targetPath = './ModelWithString.yml';
|
|
75
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), './ModelWithString');
|
|
76
|
-
});
|
|
77
|
-
(0, node_test_1.test)('@unit: The path for sourcePath contains several nested folders, the path for targetPath has a jump to the folder above', () => {
|
|
78
|
-
sourcePath = 'model/list/SimpleRequestBody.yml';
|
|
79
|
-
targetPath = '../ModelWithString.yml';
|
|
80
|
-
node_assert_1.default.strictEqual((0, getRelativeModelImportPath_1.getRelativeModelImportPath)(rootPath, sourcePath, targetPath), '../ModelWithString');
|
|
81
|
-
});
|
|
82
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pathHelpers.test.d.ts","sourceRoot":"","sources":["../../../../src/core/utils/__tests__/pathHelpers.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fileSystem.d.ts","sourceRoot":"","sources":["../../../src/core/utils/fileSystem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,IAAI,QAAQ,EAAE,QAAQ,IAAI,UAAU,EAAE,SAAS,IAAI,WAAW,EAAE,MAAM,IAAI,CAAC;AAClH,OAAO,MAAM,MAAM,QAAQ,CAAC;AAI5B,QAAA,MAAM,UAAU;;;;;;kBAMA,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;CAOrC,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.fileSystem = void 0;
|
|
7
|
-
const fs_1 = require("fs");
|
|
8
|
-
const mkdirp_1 = __importDefault(require("mkdirp"));
|
|
9
|
-
const rimraf_1 = __importDefault(require("rimraf"));
|
|
10
|
-
const util_1 = require("util");
|
|
11
|
-
const fileSystem = {
|
|
12
|
-
readFile: (0, util_1.promisify)(fs_1.readFile),
|
|
13
|
-
writeFile: (0, util_1.promisify)(fs_1.writeFile),
|
|
14
|
-
copyFile: (0, util_1.promisify)(fs_1.copyFile),
|
|
15
|
-
exists: (0, util_1.promisify)(fs_1.exists),
|
|
16
|
-
mkdir: mkdirp_1.default,
|
|
17
|
-
rmdir: (path) => new Promise((resolve, reject) => {
|
|
18
|
-
(0, rimraf_1.default)(path, (error) => {
|
|
19
|
-
if (error)
|
|
20
|
-
reject(error);
|
|
21
|
-
else
|
|
22
|
-
resolve();
|
|
23
|
-
});
|
|
24
|
-
}),
|
|
25
|
-
};
|
|
26
|
-
exports.fileSystem = fileSystem;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/core/utils/format.ts"],"names":[],"mappings":"AAEA,wBAAsB,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAmB3D"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The function calculates the relative import path for model.
|
|
3
|
-
* @param rootPath Root folder path.
|
|
4
|
-
* @param sourcePath Import relative path.
|
|
5
|
-
* @param targetPath Model relative path.
|
|
6
|
-
* @returns Current relative model import path.
|
|
7
|
-
*/
|
|
8
|
-
export declare function getRelativeModelImportPath(rootPath: string | undefined, sourcePath: string, targetPath: string): string;
|
|
9
|
-
//# sourceMappingURL=getRelativeModelImportPath.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRelativeModelImportPath.d.ts","sourceRoot":"","sources":["../../../src/core/utils/getRelativeModelImportPath.ts"],"names":[],"mappings":"AAQA;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,UA+B9G"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.getRelativeModelImportPath = getRelativeModelImportPath;
|
|
7
|
-
const path_1 = __importDefault(require("path"));
|
|
8
|
-
const getRelativeModelPath_1 = require("./getRelativeModelPath");
|
|
9
|
-
const isInsideDirectory_1 = require("./isInsideDirectory");
|
|
10
|
-
const normalizedAbsolutePath_1 = require("./normalizedAbsolutePath");
|
|
11
|
-
const replaceString_1 = require("./replaceString");
|
|
12
|
-
const stripNamespace_1 = require("./stripNamespace");
|
|
13
|
-
/**
|
|
14
|
-
* The function calculates the relative import path for model.
|
|
15
|
-
* @param rootPath Root folder path.
|
|
16
|
-
* @param sourcePath Import relative path.
|
|
17
|
-
* @param targetPath Model relative path.
|
|
18
|
-
* @returns Current relative model import path.
|
|
19
|
-
*/
|
|
20
|
-
function getRelativeModelImportPath(rootPath, sourcePath, targetPath) {
|
|
21
|
-
if (!rootPath) {
|
|
22
|
-
const normalizedValue = (0, replaceString_1.replaceString)(targetPath);
|
|
23
|
-
return (0, stripNamespace_1.stripNamespace)(normalizedValue || '');
|
|
24
|
-
}
|
|
25
|
-
const absoluteRoot = (0, normalizedAbsolutePath_1.normalizedAbsolutePath)(rootPath);
|
|
26
|
-
const normalizedSourcePath = (0, stripNamespace_1.stripNamespace)(sourcePath);
|
|
27
|
-
let absSourcePath = (0, normalizedAbsolutePath_1.normalizedAbsolutePath)(path_1.default.resolve(absoluteRoot, normalizedSourcePath));
|
|
28
|
-
if (!(0, isInsideDirectory_1.isInsideDirectory)(absSourcePath, absoluteRoot)) {
|
|
29
|
-
const sourceRelativePath = (0, getRelativeModelPath_1.getRelativeModelPath)(absoluteRoot, sourcePath);
|
|
30
|
-
absSourcePath = path_1.default.resolve(absoluteRoot, sourceRelativePath);
|
|
31
|
-
}
|
|
32
|
-
const absSourceDir = normalizedSourcePath ? path_1.default.dirname(absSourcePath) : absoluteRoot;
|
|
33
|
-
let absTargetPath = path_1.default.isAbsolute(targetPath) ? targetPath : path_1.default.resolve(absSourceDir, targetPath);
|
|
34
|
-
if (!(0, isInsideDirectory_1.isInsideDirectory)(absTargetPath, rootPath)) {
|
|
35
|
-
const targetRelativePath = (0, getRelativeModelPath_1.getRelativeModelPath)(absoluteRoot, targetPath);
|
|
36
|
-
absTargetPath = path_1.default.resolve(absoluteRoot, targetRelativePath);
|
|
37
|
-
}
|
|
38
|
-
let relativePath = path_1.default.relative(absSourceDir, absTargetPath);
|
|
39
|
-
relativePath = (0, replaceString_1.replaceString)(relativePath) || '';
|
|
40
|
-
let normalizedValue = (0, stripNamespace_1.stripNamespace)(relativePath);
|
|
41
|
-
if (!normalizedValue.startsWith('.') && !normalizedValue.startsWith('/')) {
|
|
42
|
-
normalizedValue = `./${normalizedValue}`;
|
|
43
|
-
}
|
|
44
|
-
return normalizedValue;
|
|
45
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isDirectory.d.ts","sourceRoot":"","sources":["../../../src/core/utils/isDirectory.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAMjD"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isDirectory = isDirectory;
|
|
4
|
-
const fs_1 = require("fs");
|
|
5
|
-
const pathHelpers_1 = require("./pathHelpers");
|
|
6
|
-
function isDirectory(path) {
|
|
7
|
-
try {
|
|
8
|
-
return (0, fs_1.statSync)((0, pathHelpers_1.normalize)(path)).isDirectory();
|
|
9
|
-
}
|
|
10
|
-
catch {
|
|
11
|
-
return false;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function dirName(p: string): string;
|
|
2
|
-
export declare function join(...paths: string[]): string;
|
|
3
|
-
export declare function relative(from: string, to: string): string;
|
|
4
|
-
export declare function resolve(...pathSegments: string[]): string;
|
|
5
|
-
export declare function normalize(p: string): string;
|
|
6
|
-
export declare function joinToDir(parentFilePath: string, fileName: string): string;
|
|
7
|
-
//# sourceMappingURL=pathHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"pathHelpers.d.ts","sourceRoot":"","sources":["../../../src/core/utils/pathHelpers.ts"],"names":[],"mappings":"AAIA,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED,wBAAgB,IAAI,CAAC,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM,CAE/C;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAyBzD;AAED,wBAAgB,OAAO,CAAC,GAAG,YAAY,EAAE,MAAM,EAAE,GAAG,MAAM,CAEzD;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAE3C;AAED,wBAAgB,SAAS,CAAC,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE1E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiError.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/core/ApiError.ts"],"names":[],"mappings":";;;;;;AAMA,wBAUmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiRequestOptions.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/core/ApiRequestOptions.ts"],"names":[],"mappings":";;;;;;AAMA,wBAUmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ApiResult.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/core/ApiResult.ts"],"names":[],"mappings":";;;;;;AAMA,wBAUmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CancelablePromise.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/core/CancelablePromise.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HttpStatusCode.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/core/HttpStatusCode.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OpenAPI.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/core/OpenAPI.ts"],"names":[],"mappings":";;;;;;AAMA,wBAcmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getHeaders.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/axios/getHeaders.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRequestBody.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/axios/getRequestBody.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getResponseBody.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/axios/getResponseBody.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getResponseHeader.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/axios/getResponseHeader.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/axios/request.ts"],"names":[],"mappings":";;;;;;;;;AAMA,wBAiDmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sendRequest.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/axios/sendRequest.ts"],"names":[],"mappings":";;;;;;;;;AAMA,wBAsBiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getHeaders.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/fetch/getHeaders.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRequestBody.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/fetch/getRequestBody.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getResponseBody.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/fetch/getResponseBody.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getResponseHeader.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/fetch/getResponseHeader.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/fetch/request.ts"],"names":[],"mappings":";;;;;;;;;AAMA,wBA+CmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sendRequest.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/fetch/sendRequest.ts"],"names":[],"mappings":";;;;;;;;;AAMA,wBAsBiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"catchErrors.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/catchErrors.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getFormData.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/getFormData.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getQueryString.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/getQueryString.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getUrl.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/getUrl.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isBinary.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/isBinary.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isBlob.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/isBlob.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isDefined.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/isDefined.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isString.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/isString.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isStringWithValue.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/isStringWithValue.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"isSuccess.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/isSuccess.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resolve.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/functions/resolve.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getHeaders.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/node/getHeaders.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRequestBody.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/node/getRequestBody.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getResponseBody.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/node/getResponseBody.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getResponseHeader.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/node/getResponseHeader.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/node/request.ts"],"names":[],"mappings":";;;;;;;;;AAMA,wBA+CmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sendRequest.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/node/sendRequest.ts"],"names":[],"mappings":";;;;;;;;;AAMA,wBAsBiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../src/templatesCompiled/core/request.ts"],"names":[],"mappings":";;;;;;;;;;AAMA,wBAgDmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getHeaders.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/xhr/getHeaders.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getRequestBody.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/xhr/getRequestBody.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getResponseBody.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/xhr/getResponseBody.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getResponseHeader.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/xhr/getResponseHeader.ts"],"names":[],"mappings":";;;;;AAMA,wBAEiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/xhr/request.ts"],"names":[],"mappings":";;;;;;;;;AAMA,wBAiDmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sendRequest.d.ts","sourceRoot":"","sources":["../../../../src/templatesCompiled/core/xhr/sendRequest.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBA4BiB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exportModel.d.ts","sourceRoot":"","sources":["../../src/templatesCompiled/exportModel.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAMA,wBAkHmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exportSchema.d.ts","sourceRoot":"","sources":["../../src/templatesCompiled/exportSchema.ts"],"names":[],"mappings":";;;;;;AAMA,wBAcmC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"exportService.d.ts","sourceRoot":"","sources":["../../src/templatesCompiled/exportService.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAsNoD"}
|