TypeScript API / contentia/server/mcp / sliceOpenApiDocument
Function: sliceOpenApiDocument()
ts
function sliceOpenApiDocument(source, args): OpenApiSliceResult;Narrow source to the operations selected by args, keeping it a valid, self-contained OpenAPI document.
Parameters
| Parameter | Type |
|---|---|
source | OpenApiDocument |
args | OpenApiSliceArgs |