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