Skip to content
Closed
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,18 +5,15 @@

The `<RunnableEndpoint>` component enables users to 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.

<Tabs>
<Tab title="Example">

![Runnable Endpoint component example](runnable-endpoint.png)

</Tab>
<Tab title="Markdown">
````jsx
<RunnableEndpoint endpoint="GET /api/users/{id}" />
````
</Tab>
</Tabs>
<CodeBlock title="Markdown">
```jsx
<RunnableEndpoint endpoint="POST /snippets" />
```
</CodeBlock>

will be rendered as:

Check warning on line 14 in fern/products/docs/pages/component-library/default-components/runnable-endpoint.mdx

View workflow job for this annotation

GitHub Actions / vale

[vale] reported by reviewdog 🐶 [Microsoft.Passive] 'be rendered' looks like passive voice. Raw Output: {"message": "[Microsoft.Passive] 'be rendered' looks like passive voice.", "location": {"path": "fern/products/docs/pages/component-library/default-components/runnable-endpoint.mdx", "range": {"start": {"line": 14, "column": 6}}}, "severity": "INFO"}

<RunnableEndpoint endpoint="POST /snippets" />

## Features

Expand Down