Use automatic URI encoding (#3352)
This commit is contained in:
5
generator.config.js
Normal file
5
generator.config.js
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
hooks: {
|
||||
onInsertPathParam: (paramName) => `encodeURIComponent(${paramName})`,
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user