Function: asOpenApiDocument()
asOpenApiDocument(
doc):OpenApiDocument
Cast an inline OpenAPI object (e.g. in tests) to OpenApiDocument.
Parameters
| Parameter | Type |
|---|---|
doc | Record<string, unknown> & object |
asOpenApiDocument(
doc):OpenApiDocument
Cast an inline OpenAPI object (e.g. in tests) to OpenApiDocument.
| Parameter | Type |
|---|---|
doc | Record<string, unknown> & object |