1 | import { ApplicationMetadata } from '@loopback/core';
|
2 | import { OASEnhancer, OpenApiSpec } from '@loopback/openapi-v3';
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | export declare class InfoSpecEnhancer implements OASEnhancer {
|
8 | readonly pkg?: ApplicationMetadata | undefined;
|
9 | name: string;
|
10 | constructor(pkg?: ApplicationMetadata | undefined);
|
11 | modifySpec(spec: OpenApiSpec): OpenApiSpec;
|
12 | /**
|
13 | * Parse package.json
|
14 | * {@link https:
|
15 | *
|
16 | * @param author - Author string or object from package.json
|
17 | */
|
18 | private static parseAuthor;
|
19 | }
|