From 22f8124b0abb4a615f416037c85e318b860510c2 Mon Sep 17 00:00:00 2001 From: gazconroy Date: Tue, 23 Mar 2021 11:01:43 +0000 Subject: [PATCH] Reverted anyOf to oneOf --- src/assets/scripts/asyncapi.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/assets/scripts/asyncapi.yaml b/src/assets/scripts/asyncapi.yaml index fce2351..4f5f518 100644 --- a/src/assets/scripts/asyncapi.yaml +++ b/src/assets/scripts/asyncapi.yaml @@ -59,7 +59,7 @@ info: ### The 'join' channels - CommunityJoin, ModJoin, PostJoin, UserJoin Most API responses generate an immediate and direct (synchronous) response to to the preceding API request: one of an error or a success response. - However, for the ‘join’ requests (**CommunityJoin**, **ModJoin**, **PostJoin** and **UserJoin**), you can also receive any of several ‘as it happens’ (asynchronous) responses. + However, for the ‘join’ requests (**CommunityJoin**, **ModJoin**, **PostJoin** and **UserJoin**), you can also receive one of several ‘as it happens’ (asynchronous) responses. ### The HTTP API @@ -539,7 +539,7 @@ channels: tags: - name: User, authentication and admin message: - anyOf: + oneOf: - $ref: "#/components/messages/userJoinResponse" - $ref: "#/components/messages/errorResponse" - $ref: "#/components/messages/createCommentLikeResponse" @@ -1062,7 +1062,7 @@ channels: tags: - name: Community message: - anyOf: + oneOf: - $ref: "#/components/messages/communityJoinResponse" - $ref: "#/components/messages/errorResponse" - $ref: "#/components/messages/createPostResponse" @@ -1366,7 +1366,7 @@ channels: tags: - name: Post message: - anyOf: + oneOf: - $ref: "#/components/messages/postJoinResponse" - $ref: "#/components/messages/errorResponse" - $ref: "#/components/messages/createCommentResponse"