@vertz/openapi 0.1.4 → 0.1.5
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/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -969,7 +969,6 @@ function generateQueryInterface(name, op, namedSchemas) {
|
|
|
969
969
|
const safeKey = isValidIdentifier(param.name) ? param.name : `'${param.name.replace(/'/g, "\\'")}'`;
|
|
970
970
|
return ` ${safeKey}${optional}: ${tsType};`;
|
|
971
971
|
});
|
|
972
|
-
lines.push(" [key: string]: unknown;");
|
|
973
972
|
return `export interface ${sanitizeTypeName(name)} {
|
|
974
973
|
${lines.join(`
|
|
975
974
|
`)}
|