Playground Features
Fiberplane Playground provides an interactive interface for exploring and testing your Hono API. This guide covers the main features of the Playground UI and how to use them effectively.
API Documentation Browser
The Playground generates interactive documentation from your OpenAPI specification. You can:
- Browse all available endpoints, grouped by their tags
- View detailed request and response schemas
- Test example payloads based on your schema definitions
- Explore authentication requirements for each endpoint
Making API Requests
The Playground provides a user-friendly interface for constructing API requests:
- Select an Endpoint: Choose the endpoint you want to test from the sidebar
- Configure Request Parameters:
- Path parameters
- Query parameters
- Request body (automatically populated with example data from your schema)
Example Data
The Playground automatically generates example data based on your OpenAPI schemas. For instance, using the user creation example:
{ "name": "Matthew", "email": "matthew@cloudflare.com"}
You can:
- Use the provided example data as is
- Modify the data to test different scenarios
- Change the content-type of the request
Response Viewer
After making a request, you can:
- View the response status code
- Inspect response headers
- See the formatted response body
Authentication
The Playground supports reusable Bearer authentication:
Setting Authentication Headers
- Click the “Auth” button in the top navigation
- Choose your authentication method:
- Bearer Token
- None
Custom Headers
You can also add any custom headers required by your API:
- Click “Header” in the top navigation
- Enter the header name and value
- Headers will be included in all subsequent requests
Copyright © 2025 Fiberplane • privacy policy