Skip to content

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 ​

ParameterType
schemaOpenApiSchema

Returns ​

Record<string, OpenApiMediaType>

Released under the MIT License.