Skip to content

TypeScript API / contentia/server/mcp / buildContentiaApiOpenApi

Function: buildContentiaApiOpenApi() ​

ts
function buildContentiaApiOpenApi(options?): OpenApiDocument;

The combined OpenAPI document for a contentiaApi deployment: the documents, storage and (optionally) assets APIs under their contentiaApi mount segments.

The /session and /locks endpoints have no generated OpenAPI description yet and are absent. A catalog API mounted next to contentiaApi can be added via combineOpenApiDocuments with buildCatalogOpenApi from contentia/catalog-api as an extra source.

Parameters ​

ParameterType
options?ContentiaApiOpenApiOptions

Returns ​

OpenApiDocument