File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ extension KeyedEncodingContainerProtocol {
159159 let numberFormatter = NumberFormatter()
160160 numberFormatter.numberStyle = .decimal
161161 numberFormatter.locale = Locale(identifier: " en_US" )
162+ numberFormatter.usesGroupingSeparator = false
162163 let formattedString = numberFormatter.string(from: decimalNumber) ?? " \( value)"
163164 try encode(formattedString, forKey: key)
164165 }
Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ extension KeyedEncodingContainerProtocol {
149149 let numberFormatter = NumberFormatter()
150150 numberFormatter.numberStyle = .decimal
151151 numberFormatter.locale = Locale(identifier: " en_US" )
152+ numberFormatter.usesGroupingSeparator = false
152153 let formattedString = numberFormatter.string(from: decimalNumber) ?? " \( value)"
153154 try encode(formattedString, forKey: key)
154155 }
You can’t perform that action at this time.
0 commit comments