Page Contents
Home > @loopback/core > Application > setMetadata
Application.setMetadata() method
Set application metadata. @loopback/boot
calls this method to populate the metadata from package.json
.
Signature:
setMetadata(metadata: ApplicationMetadata): void;
Parameters
Parameter | Type | Description |
---|---|---|
metadata | ApplicationMetadata | Application metadata |
Returns:
void