RapiDoc · JSON Structure

Rapidoc Events Structure

JavaScript events emitted by the web component.

Type: Properties: 0
DocumentationPlatformWeb ComponentsOpenAPI

RapiDoc Events is a JSON Structure definition published by RapiDoc.

Meta-schema:

JSON Structure

Raw ↑
{
  "name": "RapiDoc Events",
  "description": "JavaScript events emitted by the <rapi-doc> web component.",
  "fields": [
    {
      "name": "spec-loaded",
      "type": "CustomEvent",
      "description": "Fired after the OpenAPI specification has been loaded and parsed.",
      "detail": { "spec": "Parsed OpenAPI specification object" }
    },
    {
      "name": "before-try",
      "type": "CustomEvent",
      "description": "Fired before the Try It request is sent. Allows modifying the request (e.g., injecting auth headers).",
      "detail": { "request": "Fetch Request object that can be modified" }
    },
    {
      "name": "after-try",
      "type": "CustomEvent",
      "description": "Fired after the Try It request completes with the response.",
      "detail": { "response": "Fetch Response object", "responseText": "Response body as text" }
    },
    {
      "name": "api-server-change",
      "type": "CustomEvent",
      "description": "Fired when the user selects a different server from the server dropdown.",
      "detail": { "selectedServer": "URL of the newly selected server" }
    },
    {
      "name": "before-render",
      "type": "CustomEvent",
      "description": "Fired before the component renders, useful for custom initialization logic.",
      "detail": {}
    }
  ]
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/rapidoc-events-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.