Directus / @directus/sdk / rest / readOpenApiSpec
Function: readOpenApiSpec()
readOpenApiSpec<
Schema
>():RestCommand
<OpenApiSpecOutput
,Schema
>
Retrieve the OpenAPI spec for the current project.
Type parameters
• Schema extends object
Returns
RestCommand
<OpenApiSpecOutput
, Schema
>
Object conforming to the OpenAPI Specification