vrchatapi / specification

⚙️ VRChat API OpenAPI specification defining the API in a machine-readable format. This is then used for automatic generation of language-specific SDK's
MIT License
49 stars 30 forks source link

Instance.roleRestricted is nullable #323

Closed Rexios80 closed 6 months ago

Rexios80 commented 6 months ago

DioException [unknown]: null
Error: CheckedFromJsonException
Could not create `Instance`.
There is a problem with "roleRestricted".
Required keys are missing: roleRestricted.
#0      WorldsApi.getWorldInstance (package:vrchat_dart_generated/src/api/worlds_api.dart:678)
<asynchronous suspension>
#1      DioResponseValidator.validate (package:dio_response_validator/src/dio_response_validator_base.dart:16)
<asynchronous suspension>
#2      WorldDetailController.init (package:zenith/controller/world_detail_controller.dart:19)
<asynchronous suspension>
Rexios80 commented 6 months ago

This was already fixed. I was using an outdated version of the spec.