Skip to content

Use dummy path parameter to avoid oneOf in /auth/user response for 2fa #447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VinyarionHyarmendacil
Copy link
Contributor

No description provided.

@jellejurre
Copy link
Contributor

jellejurre commented Mar 15, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants