mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-10 23:12:42 +00:00
[cpp-ue4] Added support for bool in URL parameters, now writes true/false instead of 1/0 (#9951)
This commit is contained in:
@@ -126,6 +126,16 @@ inline FString ToString(const FString& Value)
|
||||
return Value;
|
||||
}
|
||||
|
||||
inline FString ToString(bool Value)
|
||||
{
|
||||
return Value ? TEXT("true") : TEXT("false");
|
||||
}
|
||||
|
||||
inline FStringFormatArg ToStringFormatArg(bool Value)
|
||||
{
|
||||
return FStringFormatArg(ToString(Value));
|
||||
}
|
||||
|
||||
inline FString ToString(const TArray<uint8>& Value)
|
||||
{
|
||||
return Base64UrlEncode(Value);
|
||||
|
||||
Reference in New Issue
Block a user