@redocly/openapi-core
Version:
See https://github.com/Redocly/redocly-cli
18 lines (16 loc) • 359 B
text/typescript
export interface StatsRow {
metric: string;
total: number;
color: 'red' | 'yellow' | 'green' | 'white' | 'magenta' | 'cyan';
items?: Set<string>;
}
export type StatsName =
| 'operations'
| 'refs'
| 'tags'
| 'externalDocs'
| 'pathItems'
| 'links'
| 'schemas'
| 'parameters';
export type StatsAccumulator = Record<StatsName, StatsRow>;