Page Contents
Home > @loopback/boot > ModelApiBooter > getApiBuilderForPattern
ModelApiBooter.getApiBuilderForPattern() method
Retrieve the API builder that matches the pattern provided
Signature:
getApiBuilderForPattern(pattern: string): Promise<ModelApiBuilder>;
Parameters
Parameter | Type | Description |
---|---|---|
pattern | string | name of pattern for an API builder |
Returns:
Promise<ModelApiBuilder>