Page Contents
Home > @loopback/openapi-spec-builder > BuilderBase
BuilderBase class
Signature:
export declare class BuilderBase<T extends ISpecificationExtension>
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(initialSpec) | Constructs a new instance of the BuilderBase class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
_spec | protected |
T |
Methods
Method | Modifiers | Description |
---|---|---|
build() | Build the spec object. | |
withExtension(key, value) | Add a custom (extension) property to the spec object. |