Page Contents

Home > @loopback/openapi-v3-types > createEmptyApiSpec

createEmptyApiSpec() function

Create an empty OpenApiSpec object that’s still a valid openapi document.

Signature:

export declare function createEmptyApiSpec(): OpenApiSpec;

Returns:

OpenApiSpec