How This Demo Is Built
The files behind every page of this demo.
Everything you see comes from files in the mordoc-api-demo project.
config/api.yaml registers the three specs
api/specs/ OpenAPI 3.1 specs, never hand-edited
api/enrichment/<id>/ Markdown prose for operations and schemas
api/examples/<id>/ authored request and response examples
config/navigation/ sidenav with operation: entriesWhat to look at
| Feature | See it in |
|---|---|
| Spec-only page, no enrichment | Retrieve a member |
| Conditional badge and response-scoped note | Forge a ring |
Free badges (Read-only, Beta) | Retrieve a ring |
oneOf and recursive schemas | List members |
| Authored examples next to spec examples | Light a beacon |
| Webhooks | Beacon lit |
| Deprecated operation | Dismiss a member |
Learn more in the Mordoc documentation.