[PHP/Dart/Python] Correctly escape strings in single quotes (Fixes #17582) (#19529)

* [PHP/Dart/Python] Correctly escape strings in single quotes (Fixes #17582)

* Move escapeTextInSingleQuotes method to DefaultCodegen, add docblock
This commit is contained in:
Julian Vennen
2024-11-09 09:50:12 +01:00
committed by GitHub
parent 1bda458882
commit 6bd3d53eee
22 changed files with 105 additions and 67 deletions

View File

@@ -44,9 +44,9 @@ use JMS\Serializer\Annotation\SerializedName;
*/
enum EnumStringModel: string
{
case AVAILABLE = "available";
case PENDING = "pending";
case SOLD = "sold";
case AVAILABLE = 'available';
case PENDING = 'pending';
case SOLD = 'sold';
}