Commit c1e0361
authored
[typescript-*]: Improve literal regexp for JSON MIME-type (#23319)
- Use a literal regex as suggested by SonarQube analysis typescript:S6325
- Remove the explicit test against json-patch that is already included in
the regexp1 parent ff66e1b commit c1e0361
55 files changed
Lines changed: 91 additions & 91 deletions
File tree
- modules/openapi-generator/src/main/resources
- typescript-angular
- typescript-axios
- typescript-fetch
- typescript-nestjs
- samples/client
- echo_api/typescript-axios/build
- others
- typescript-angular-v20/builds
- query-param-deep-object
- query-param-form
- query-param-json
- typescript-angular/builds
- composed-schemas-tagged-unions
- composed-schemas
- typescript-axios/with-separate-models-and-api-inheritance
- typescript-fetch
- infinite-recursion-issue
- self-import-issue
- petstore
- typescript-angular-v16-provided-in-root/builds/default
- typescript-angular-v17-provided-in-root/builds/default
- typescript-angular-v18-provided-in-root/builds/default
- typescript-angular-v19-provided-in-root/builds/default
- typescript-angular-v19-with-angular-dependency-params/builds/default
- typescript-angular-v19/builds/default
- typescript-angular-v20-provided-in-root/builds/default
- typescript-angular-v20/builds/default
- typescript-angular-v21-provided-in-root/builds/default
- typescript-angular-v21/builds/default
- typescript-axios/builds
- composed-schemas
- default
- es6-target
- test-petstore
- with-complex-headers
- with-fake-endpoints-models-for-testing-with-http-signature
- with-interfaces-and-with-single-request-param
- with-interfaces
- with-node-imports
- with-npm-version-and-separate-models-and-api
- with-npm-version
- with-single-request-parameters
- with-string-enums
- typescript-fetch/builds
- allOf-nullable
- allOf-readonly
- default-v3.0
- default
- enum
- es6-target/src
- multiple-parameters
- oneOf
- prefix-parameter-interfaces/src
- sagas-and-records/src
- snakecase-discriminator
- validation-attributes
- with-interfaces
- with-npm-version/src
- with-string-enums
- without-runtime-checks/src
- typescript-nestjs-v6-provided-in-root/builds/default
- typescript-nestjs-v8-provided-in-root/builds/default
- typescript-nestjs/builds/reservedParamNames
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
112 | | - | |
| 111 | + | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
| 87 | + | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
| 119 | + | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
| 145 | + | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
0 commit comments