UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

33 lines (21 loc) 772 B
--- lang: en title: 'API docs: testlab.validateapispec' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/testlab permalink: /doc/en/lb4/apidocs.testlab.validateapispec.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/testlab](./testlab.md) &gt; [validateApiSpec](./testlab.validateapispec.md) ## validateApiSpec() function <b>Signature:</b> ```typescript export declare function validateApiSpec(spec: any): Promise<void>; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | spec | any | | <b>Returns:</b> Promise&lt;void&gt;