forked from loafle/openapi-generator-original
[cpp-ue4] Added support for bool in URL parameters, now writes true/false instead of 1/0 (#9951)
This commit is contained in:
parent
2e030c0c47
commit
27e2ee0b64
@ -126,6 +126,16 @@ inline FString ToString(const FString& Value)
|
|||||||
return 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)
|
inline FString ToString(const TArray<uint8>& Value)
|
||||||
{
|
{
|
||||||
return Base64UrlEncode(Value);
|
return Base64UrlEncode(Value);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user