Appearance
@saflib/openapi
castJson(json): DocumentV3
json
DocumentV3
Takes an imported JSON object and casts it to the OpenAPIV3.DocumentV3 type so that express-openapi-validator can validate the JSON against the OpenAPI spec without complaining about a type mismatch.
any