You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dart generation for those types doesn't seem to be the best however.
There might be a way to tweak the generation by adding and editing the openapi generation templates.
Edit: seems like it is instead added on in the non-generated package. Also little point in actually providing this in the generated code without one-ofs probably?
Activity
Rexios80 commentedon Mar 15, 2023
vrchatapi/vrchatapi.github.io#134
C0D3-M4513R commentedon Oct 13, 2026
A TON of Websocket types were added with #65 or specification version 1.23.0 (https://github.com/vrchatapi/specification/releases/tag/v1.23.0).
The dart generation for those types doesn't seem to be the best however.
There might be a way to tweak the generation by adding and editing the openapi generation templates.
Rexios80 commentedon Oct 14, 2026
@C0D3-M4513R what exactly isn't the best about those models? They seem to be working fine in that PR.
C0D3-M4513R commentedon Oct 14, 2026
The one-of's seem to be just typed as generic Objects. e.g. :
Edit: maybe typing limitation of dart?
And double-encoded json isn't decoded (not incorrect, but would be nice):
websocket_*_encoded.dartfilesEdit: seems like it is instead added on in the non-generated package. Also little point in actually providing this in the generated code without one-ofs probably?