๐Ÿ”Œ API Patterns and Practices: REST
Home Chapters Examples Diagrams Bibliography GitHub โ†—
Home / Multi-protocol contracts & framework deep-dives
Part 9 4 chapters

Multi-protocol contracts & framework deep-dives

Go deep on OpenAPI, pair it with AsyncAPI, CloudEvents, and Arazzo under one shared schema, then dig into Quarkus REST and FastAPI internals.

Chapter 20

OpenAPI in depth

OpenAPI 3.1 schemas are JSON Schema: type-array nullability, a top-level webhooks section, and a structural drift check that keeps a served document matching the shared schema.

28 minRead โ†’
Chapter 21

Multi-protocol contracts

OpenAPI, AsyncAPI, CloudEvents and Arazzo compose around one shared JSON Schema, with Apicurio Registry and OpenMetadata as the governance tier behind that reuse.

30 minRead โ†’
Chapter 22

Quarkus REST in depth

Quarkus REST resolves parameter bindings at build time instead of by reflection, and a reactive Multi stream needs its own NDJSON writer to avoid double-encoding.

27 minRead โ†’
Chapter 23

FastAPI in depth

async def handlers run on FastAPI's event loop and plain def handlers run in a threadpool, and StreamingResponse and BackgroundTasks both depend on that dispatch model.

26 minRead โ†’
โ† Previous part Performance & transport Next part โ†’ Testing

API Patterns and Practices: REST

Designing REST APIs well, with runnable examples in Quarkus and Python/FastAPI.

Site

  • Chapters
  • Examples
  • Bibliography

Reference

  • OpenAPI 3.1 โ†—
  • AsyncAPI 3 โ†—
  • View on GitHub โ†—
  • Issues โ†—
Open source ยท MIT Last built 2026-11-11