# asyncapi/spec architecture

> Architecture diagram of the GitHub repository asyncapi/spec, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/asyncapi/spec
- Repository: https://github.com/asyncapi/spec

## Overview

This repository’s product is the AsyncAPI specification: its human-readable Markdown document is the source of truth, with example AsyncAPI documents illustrating its use. It is not a runtime service, so there is no application request-to-result pipeline to map. The README establishes the specification’s role and points readers to the examples; the supplied source excerpts do not show deeper relationships or the contents of the specification itself.

Main entry points: [`spec/asyncapi.md`](https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md) (AsyncAPI Spec), [`examples`](https://github.com/asyncapi/spec/tree/master/examples) (Example Documents)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_spec["AsyncAPI Spec<br/>[asyncapi.md]"]
node_examples["Example Documents"]

node_spec -->|"illustrated by"| node_examples

click node_spec "https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md"
click node_examples "https://github.com/asyncapi/spec/tree/master/examples"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_spec toneMint
class node_examples toneTeal
```

## Components

### Other components

- [AsyncAPI Spec](https://github.com/asyncapi/spec/blob/master/spec/asyncapi.md): `spec/asyncapi.md`
- [Example Documents](https://github.com/asyncapi/spec/tree/master/examples): `examples`

## Connections

- AsyncAPI Spec → Example Documents: illustrated by (evidence: `README.md`)
