TypeScript API / laikacms/json-api / jsonApiContent
Function: jsonApiContent()
ts
function jsonApiContent(schema): Record<string, OpenApiMediaType>;A single-entry content map carrying schema as a JSON:API body.
Parameters
| Parameter | Type |
|---|---|
schema | OpenApiSchema |
Returns
Record<string, OpenApiMediaType>