@rexeus/typeweaver-types 0.10.1 → 0.10.2
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/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/lib/RequestValidator.d.ts +1 -1
- package/dist/lib/RequestValidator.js +1 -1
- package/dist/lib/ResponseValidator.d.ts +1 -1
- package/dist/lib/ResponseValidator.js +1 -1
- package/dist/lib/index.ts +4 -4
- package/dist/templates/RequestValidator.ejs +1 -1
- package/dist/templates/ResponseValidator.ejs +1 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -12852,7 +12852,7 @@ function writeRequestValidator(templateFilePath, resourceName, operation, contex
|
|
|
12852
12852
|
resourceName,
|
|
12853
12853
|
specPath: context.getSpecImportPath({ importerDir: outputPaths.outputDir }),
|
|
12854
12854
|
corePath: context.coreDir,
|
|
12855
|
-
requestFile: `./${node_path.default.basename(outputPaths.requestFileName, ".ts")}`,
|
|
12855
|
+
requestFile: `./${node_path.default.basename(outputPaths.requestFileName, ".ts")}.js`,
|
|
12856
12856
|
body,
|
|
12857
12857
|
query,
|
|
12858
12858
|
param,
|
|
@@ -12970,7 +12970,7 @@ function writeResponseValidator(templateFilePath, resource, operation, context)
|
|
|
12970
12970
|
operationId: operation.operationId,
|
|
12971
12971
|
pascalCaseOperationId,
|
|
12972
12972
|
coreDir: context.coreDir,
|
|
12973
|
-
responseFile: `./${node_path.default.basename(outputPaths.responseFileName, ".ts")}`,
|
|
12973
|
+
responseFile: `./${node_path.default.basename(outputPaths.responseFileName, ".ts")}.js`,
|
|
12974
12974
|
specPath: context.getSpecImportPath({ importerDir: outputPaths.outputDir }),
|
|
12975
12975
|
sharedResponses,
|
|
12976
12976
|
ownResponses,
|
package/dist/index.mjs
CHANGED
|
@@ -12831,7 +12831,7 @@ function writeRequestValidator(templateFilePath, resourceName, operation, contex
|
|
|
12831
12831
|
resourceName,
|
|
12832
12832
|
specPath: context.getSpecImportPath({ importerDir: outputPaths.outputDir }),
|
|
12833
12833
|
corePath: context.coreDir,
|
|
12834
|
-
requestFile: `./${path.basename(outputPaths.requestFileName, ".ts")}`,
|
|
12834
|
+
requestFile: `./${path.basename(outputPaths.requestFileName, ".ts")}.js`,
|
|
12835
12835
|
body,
|
|
12836
12836
|
query,
|
|
12837
12837
|
param,
|
|
@@ -12949,7 +12949,7 @@ function writeResponseValidator(templateFilePath, resource, operation, context)
|
|
|
12949
12949
|
operationId: operation.operationId,
|
|
12950
12950
|
pascalCaseOperationId,
|
|
12951
12951
|
coreDir: context.coreDir,
|
|
12952
|
-
responseFile: `./${path.basename(outputPaths.responseFileName, ".ts")}`,
|
|
12952
|
+
responseFile: `./${path.basename(outputPaths.responseFileName, ".ts")}.js`,
|
|
12953
12953
|
specPath: context.getSpecImportPath({ importerDir: outputPaths.outputDir }),
|
|
12954
12954
|
sharedResponses,
|
|
12955
12955
|
ownResponses,
|