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
Some generators support certain syntax's that others don't, to provide the best support possible and closely model VRChat's API, relying on the most minimum support available across all generators leaves us with undesirable/broken SDKs.
I propose something similar to the following:
/auth/user:
get:
summary: Login and/or Get Current User Infotags:
- authenticationx-codeSamples:
$ref: "../codeSamples/authentication.yaml#/~1auth~1user/get"responses:
'200':
x-feature:
key: oneOfschema:
oneOf:
- $ref: ../responses/authentication/CurrentUserLoginResponse.yaml
- $ref: '#/components/schemas/TwoFactorRequired'fallback:
$ref: ../responses/authentication/CurrentUserLoginResponse.yaml'401':
$ref: ../responses/MissingCredentialsError.yaml
then during bundling/building, we're turn this into two specification files.
Some generators support certain syntax's that others don't, to provide the best support possible and closely model VRChat's API, relying on the most minimum support available across all generators leaves us with undesirable/broken SDKs.
I propose something similar to the following:
then during bundling/building, we're turn this into two specification files.
Resources
Originally posted by @ariesclark in vrchatapi/vrchatapi-rust#17 (comment)
Alternatives
The text was updated successfully, but these errors were encountered: