Page Contents
Home > @loopback/openapi-spec-builder > ComponentsSpecBuilder
ComponentsSpecBuilder class
A builder for creating ComponentsObject specifications.
Signature:
export declare class ComponentsSpecBuilder extends BuilderBase<ComponentsObject>
Extends: BuilderBase<ComponentsObject>
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
|
Constructs a new instance of the |
Methods
| Method | Modifiers | Description |
|---|---|---|
|
Define a component callback. | ||
|
Define a component example. | ||
|
Define a component header. | ||
|
Define a component link. | ||
|
Define a component parameter. | ||
|
Define a component request body. | ||
|
Define a component response. | ||
|
Define a component schema. | ||
|
Define a component security scheme. |