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
every time i try to use the AsyncAPI setup it gives me the following error: No matching AsyncAPI document found with channelId "gameupdates" and filename "asyncapi.yaml"
Even tho the files do exist:
asyncapi: 3.0.0info:
title: Jotihunt Live WebSocket APIversion: 1.0.0description: Real-time updates and chat API for Jotihunt eventsservers:
production:
host: api.jotihunt.liveprotocol: wssdescription: Production WebSocket serverchannels:
gameupdates:
title: Game Updatesdescription: >- Channel for receiving real-time game updates including hints, assignments, and news articles. * Receive instant updates about new hints and assignments * Get notified about new articles and announcements * All messages include timestamps for synchronizationaddress: gameupdatesmessages:
gameUpdate:
$ref: '#/components/messages/GameUpdate'articleChat:
title: Article Chatdescription: >- Channel for users to discuss articles and collaborate in real-time. * Chat with other users about specific articles * Support for threaded replies * Real-time message deliveryaddress: articleChatmessages:
chatMessage:
$ref: '#/components/messages/ChatMessage'operations:
receiveGameUpdates:
action: receivechannel:
$ref: '#/channels/gameupdates'messages:
- $ref: '#/channels/gameupdates/messages/gameUpdate'receiveChatMessages:
action: receivechannel:
$ref: '#/channels/articleChat'messages:
- $ref: '#/channels/articleChat/messages/chatMessage'sendChatMessage:
action: sendchannel:
$ref: '#/channels/articleChat'messages:
- $ref: '#/channels/articleChat/messages/chatMessage'components:
messages:
GameUpdate:
title: Game Update Messagedescription: Message containing game updates, hints, assignments, or articlespayload:
$ref: '#/components/schemas/GameUpdate'ChatMessage:
title: Chat Messagedescription: Message for article discussionspayload:
$ref: '#/components/schemas/ChatMessage'schemas:
GameUpdate:
type: objectproperties:
type:
type: stringenum: [hint, assignment, article]description: The type of updatedata:
type: objectproperties:
id:
type: stringdescription: Unique identifier for the updatetitle:
type: stringdescription: Title of the article or assignmentcontent:
type: stringdescription: Main content of the updatearea:
type: stringdescription: Target area for hintspoints:
type: integerdescription: Points awarded for assignmentscategory:
type: stringenum: [news, hint, announcement]description: Category for articlesrequired:
- id
- contenttimestamp:
type: stringformat: date-timedescription: Time when the update was createdrequired:
- type
- data
- timestampChatMessage:
type: objectproperties:
type:
type: stringconst: chatdescription: Message type identifierdata:
type: objectproperties:
articleId:
type: stringdescription: ID of the article being discusseduserId:
type: stringdescription: ID of the user sending the messageusername:
type: stringdescription: Display name of the usermessage:
type: stringdescription: The chat message contentreplyTo:
type: stringdescription: ID of the message being replied to (optional)required:
- articleId
- userId
- username
- messagetimestamp:
type: stringformat: date-timedescription: Time when the message was sentrequired:
- type
- data
- timestamp
Markdown file (.mdx)
---title: "Playground"description: "Enable users to interact with your websockets"asyncapi: "/asyncapi.yaml gameupdates"---
The text was updated successfully, but these errors were encountered:
every time i try to use the AsyncAPI setup it gives me the following error:
No matching AsyncAPI document found with channelId "gameupdates" and filename "asyncapi.yaml"
Even tho the files do exist:
Markdown file (.mdx)
The text was updated successfully, but these errors were encountered: