openapi: 3.1.0
info:
  title: YoYoo Bot Open Platform
  version: "1.0.0"
servers:
  - url: https://bot.yoyoo.org
paths:
  /openapi/v1.yaml:
    get:
      summary: This document
      responses:
        "200":
          description: OpenAPI YAML
  /schemas/v1/bot-platform-event.schema.json:
    get:
      summary: Inbound CloudEvent schema
      responses:
        "200":
          description: JSON Schema
  /app/bot:
    post:
      summary: Create bot (user JWT)
    get:
      summary: List my bots
  /open/bot/v1/messages:
    post:
      summary: Send message (bot secret)
components: {}
