UNPKG

boats

Version:

Beautiful Open / Async Template System - Write less yaml with BOATS and Nunjucks.

98 lines (97 loc) 3.24 kB
{ "asyncapi": "2.0.0", "info": { "title": "boats", "version": "1.0.1", "description": "Beautiful Open / Async Template System - Write less yaml with BOATS and Nunjucks.", "license": { "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0" } }, "defaultContentType": "application/json", "channels": { "/ms-auth/cache-connection": { "publish": { "operationId": "msAuthCacheConnectionPublish", "message": { "contentType": "application/json", "payload": { "$ref": "#/components/schemas/MsAuthCacheConnection" } } }, "subscribe": { "operationId": "msAuthCacheConnectionSubscribe", "message": { "contentType": "application/json", "payload": { "$ref": "#/components/schemas/MsAuthCacheConnection" } } }, "description": "This is an injected summary" }, "/ms-auth/cache-user": { "publish": { "operationId": "msAuthCacheUserPublish", "message": { "contentType": "application/json", "payload": { "$ref": "#/components/schemas/MsAuthCacheUser" } } }, "subscribe": { "operationId": "msAuthCacheUserSubscribe", "message": { "contentType": "application/json", "payload": { "$ref": "#/components/schemas/MsAuthCacheUser" } } } } }, "components": { "schemas": { "MsAuthCacheConnection": { "type": "object", "properties": { "username": { "type": "string" }, "connections": { "type": "array", "items": { "type": "object", "properties": { "updated": { "type": "string", "format": "date" }, "state": { "type": "string" }, "username": { "type": "string" } } } } } }, "MsAuthCacheUser": { "type": "object", "properties": { "username": { "type": "string" }, "email": { "type": "string" } } } } } }