We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb504c5 commit 95ef48aCopy full SHA for 95ef48a
packages/openapi-ts/src/openApi/common/parser/sanitize.ts
@@ -27,7 +27,7 @@ export const sanitizeNamespaceIdentifier = (name: string) =>
27
name
28
.replace(/^[^\p{ID_Start}]+/u, '')
29
.replace(/[^$\u200c\u200d\p{ID_Continue}]/gu, '-')
30
- .replace(/\$/g, '-');
+ .replace(/[$+]/g, '-');
31
32
export const sanitizeOperationParameterName = (name: string) => {
33
const withoutBrackets = name.replace('[]', 'Array');
0 commit comments