Skip to content
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

Fix/update spec from tests #391

Merged
merged 19 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions openapi/components/codeSamples/instances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
source: >-
curl -X GET "https://vrchat.com/api/1/instances/{worldId}:{instanceId}/shortName" \
-b "auth={authCookie}"
'/instance/{worldId}:{instanceId}/invite':
post:
- lang: cURL
source: >-
curl -X POST "https://vrchat.com/api/1/instances/{worldId}:{instanceId}/invite" \
-b "auth={authCookie}"
'/instances/s/{shortname}':
get:
- lang: cURL
Expand Down
2 changes: 0 additions & 2 deletions openapi/components/paths.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@
$ref: "./paths/instances.yaml#/paths/~1instances~1{worldId}:{instanceId}"
"/instances/{worldId}:{instanceId}/shortName":
$ref: "./paths/instances.yaml#/paths/~1instances~1{worldId}:{instanceId}~1shortName"
"/instances/{worldId}:{instanceId}/invite":
$ref: "./paths/instances.yaml#/paths/~1instances~1{worldId}:{instanceId}~1invite"
"/instances/s/{shortName}":
$ref: "./paths/instances.yaml#/paths/~1instances~1s~1{shortName}"

Expand Down
19 changes: 0 additions & 19 deletions openapi/components/paths/instances.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,25 +100,6 @@ paths:
$ref: ../responses/instances/InstanceShortNameResponse.yaml
'401':
$ref: ../responses/MissingCredentialsError.yaml
'/instances/{worldId}:{instanceId}/invite':
parameters:
- $ref: ../parameters.yaml#/worldId
- $ref: ../parameters.yaml#/instanceId
post:
summary: Send Self Invite
tags:
- instances
operationId: sendSelfInvite
security:
- authCookie: []
description: Sends an invite to the instance to yourself.
x-codeSamples:
$ref: "../codeSamples/instances.yaml#/~1instance~1{worldId}:{instanceId}~1invite/post"
ariesclark marked this conversation as resolved.
Show resolved Hide resolved
responses:
'200':
$ref: ../responses/instances/InstanceSelfInviteSuccess.yaml
'401':
$ref: ../responses/MissingCredentialsError.yaml
'/instances/s/{shortName}':
parameters:
- schema:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: Returns an instance secureName and/or shortName.
content:
text/plain:
application/json:
schema:
$ref: ../../schemas/InstanceShortNameResponse.yaml
Loading