Code

SchemaDisplay

Component for displaying HTTP API schemas including method, path, parameters, and request/response bodies.

POST/api/users

Create a new user account

Props

PropTypeDefaultDescription
method"GET" | "POST" | "PUT" | "PATCH" | "DELETE"-HTTP method
pathstring-API endpoint path
descriptionstring-Endpoint description
parametersSchemaParameter[]-Query, path, and header parameters
requestBodySchemaProperty[]-Request body schema properties
responseBodySchemaProperty[]-Response body schema properties

Import

import { SchemaDisplay } from '@blastx/ui-ai';