specification
specification copied to clipboard
Use dummy path parameter to avoid oneOf in `/auth/user` response for 2fa
This doesnt work in the C# generator, I get:
VRChat.API.Client.ApiException: Unable to find a default constructor to use for type VRChat.API.Model.LoginFlow. Path 'acceptedPrivacyVersion', line 1, position 26.
at VRChat.API.Client.CustomJsonCodec.Deserialize(RestResponse response, Type type) in C:\Users\jelle\Desktop\School\Projects\GeKut\vrchatapi-csharp\src\VRChat.API\Client\ApiClient.cs:line 146
at VRChat.API.Client.CustomJsonCodec.Deserialize[T](RestResponse response) in C:\Users\jelle\Desktop\School\Projects\GeKut\vrchatapi-csharp\src\VRChat.API\Client\ApiClient.cs:line 87
at RestSharp.RestClient.Deserialize[T](RestRequest request, RestResponse raw)
whether im logged in or not, it cant shape the response into either LoginFlow output