Skip to content

@saflib/openapi


Function: castJson() ​

castJson(json): OpenApiDocument

OpenAPI JSON from import * as json from "./openapi.json" with { type: "json" }.

Parameters ​

ParameterType
jsonunknown

Returns ​

OpenApiDocument