@redocly/cli
Version:
[@Redocly](https://redocly.com) CLI is your all-in-one API documentation utility. It builds, manages, improves, and quality-checks your API descriptions, all of which comes in handy for various phases of the API Lifecycle. Create your own rulesets to make
27 lines • 740 B
TypeScript
import type { ScorecardProblem } from '../types.js';
type ScorecardLevel = {
name: string;
total: {
errors: number;
warnings: number;
};
problems: Array<{
ruleId: string;
ruleUrl?: string;
severity: string;
message: string;
location: {
file: string;
range: string;
pointer?: string;
}[];
}>;
};
export type ScorecardJsonOutput = {
version: string;
level?: string;
levels: ScorecardLevel[];
};
export declare function printScorecardResultsAsJson(problems: ScorecardProblem[], achievedLevel: string, targetLevelAchieved: boolean, version?: string): void;
export {};
//# sourceMappingURL=json-formatter.d.ts.map