Page Contents

Home > @loopback/openapi-spec-builder > aComponentsSpec

aComponentsSpec() function

Create a new instance of ComponentsSpecBuilder.

Signature:

export declare function aComponentsSpec(): ComponentsSpecBuilder;

Returns:

ComponentsSpecBuilder