{"asyncapi":"3.0.0","info":{"title":"MyAPIs Realtime Lab","version":"0.5.0","description":"SSEとWebSocketの非同期API定義"},"servers":{"production":{"host":"apis-cloud.net","protocol":"wss","pathname":"/lab/realtime/websocket/{room}"}},"channels":{"room":{"address":"/lab/realtime/websocket/{room}","parameters":{"room":{"description":"英数字・_・-のルーム名"}},"messages":{"message":{"payload":{"type":"object","properties":{"type":{"const":"message"},"from":{"type":"string"},"content":{}}}}}},"events":{"address":"/lab/stream/sse","messages":{"event":{"payload":{"type":"object"}}}}},"operations":{"receiveRoomMessage":{"action":"receive","channel":{"$ref":"#/channels/room"}},"sendRoomMessage":{"action":"send","channel":{"$ref":"#/channels/room"}},"receiveServerEvents":{"action":"receive","channel":{"$ref":"#/channels/events"}}}}