Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ description: Add testable API endpoints to your docs with RunnableEndpoint. Supp

The `<RunnableEndpoint>` component lets users make real HTTP requests to your APIs directly in the API Reference. It auto-detects endpoint definitions from your API specification and provides a request builder with inputs for headers, path parameters, query parameters, and request bodies.

<EndpointRequestSnippet />


## Usage

<div className="highlight-frame">
Expand All @@ -18,6 +21,7 @@ The `<RunnableEndpoint>` component lets users make real HTTP requests to your AP
## Features

The component supports:

- **Multiple examples** – When your endpoint has multiple pre-configured examples, the component displays a dropdown selector in the header so users can switch between different examples
- **Multiple environments** – If your API defines multiple environments (production, staging, development), the component automatically displays an environment selector so users can test against different base URLs
- **API Reference integration** – Each `<RunnableEndpoint>` includes a button that links users to the full API Reference documentation for the endpoint
Expand Down