Page Contents
Home > @loopback/openapi-v3 > createEmptyApiSpec
createEmptyApiSpec() function
Warning: This API is now obsolete.
Use
OpenApiBuilder
fromopenapi3-ts
instead.
Create an empty OpenApiSpec object that’s still a valid openapi document.
Signature:
export declare function createEmptyApiSpec(): OpenApiSpec;
Returns: