Page Contents

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

anOpenApiSpec() function

Create a new instance of OpenApiSpecBuilder.

Signature:

export declare function anOpenApiSpec(): OpenApiSpecBuilder;

Returns:

OpenApiSpecBuilder