Skip to main content

Module openapi

Module openapi 

Source
Expand description

OpenAPI specification viewer components.

This module provides components for rendering OpenAPI 3.0/3.1 specifications with interactive endpoint documentation.

Structs§

ApiInfoHeaderProps
Props for ApiInfoHeader component.
EndpointCardProps
Props for EndpointCard component.
EndpointPageProps
Props for EndpointPage component.
MethodBadgeProps
Props for MethodBadge component.
OpenApiViewerProps
Props for OpenApiViewer component.
ParameterItemProps
Props for ParameterItem component.
ParametersListProps
Props for ParametersList component.
RequestBodySectionProps
Props for RequestBodySection component.
ResponseItemProps
Props for ResponseItem component.
ResponsesListProps
Props for ResponsesList component.
SchemaDefinitionsProps
Props for SchemaDefinitions component.
SchemaTypeLabelProps
Props for SchemaTypeLabel component.
SchemaViewerProps
Props for SchemaViewer component.
TagGroupProps
Props for TagGroup component.
UngroupedEndpointsProps
Props for UngroupedEndpoints component.

Functions§

ApiInfoHeader
API information header with title, version, and servers.
EndpointCard
Collapsible card for an API endpoint.
EndpointPage
Full-page two-column layout for a single API endpoint.
MethodBadge
Colored badge for HTTP methods.
OpenApiViewer
Main OpenAPI specification viewer.
ParameterItem
Single parameter item.
ParametersList
List of API parameters with type info.
RequestBodySection
Request body schema viewer.
ResponseItem
Single response item with collapsible content.
ResponsesList
List of API responses with status codes.
SchemaDefinitions
Schema definitions section.
SchemaTypeLabel
Simple type label without expand/collapse.
SchemaViewer
Recursive schema viewer with expand/collapse for complex types.
TagGroup
Group of endpoints under a tag heading.
UngroupedEndpoints
Endpoints that don’t belong to any tag.