loadOpenapi
@the-codegen-project/cli • Docs
Home / loadOpenapi
Function: loadOpenapi()
function loadOpenapi(context): Promise<OpenAPIV3.Document | OpenAPIV2.Document | OpenAPIV3_1.Document>
Parameters
| Parameter | Type |
|---|---|
context | RunGeneratorContext |
Returns
Promise<OpenAPIV3.Document | OpenAPIV2.Document | OpenAPIV3_1.Document>
Defined in
src/codegen/inputs/openapi/parser.ts:16