Skip to main content

Function: OpenApiView()

OpenApiView(__namedParameters): Element

Defined in: resources/OpenApiView.tsx:416

One screen of the admin the spec describes, chosen by location: a resource's table, a record, its create/edit form or an action form. Which operation backs each screen is read from the spec by parseResources (no operationId to wire), and every move between screens goes through onNavigate, so the app's router owns the URL. Use OpenApiApp for the same screens with a navigation menu. Must be rendered inside an OpenApiProvider.

Parameters​

ParameterType
__namedParametersOpenApiViewProps

Returns​

Element