@dxdeveloperexperience/hygie
Version:
Hygie is an easy-to-use Open-Source REST API allowing you to interact with GIT events. This NestJS API expose a set of customizable rules to automate your project's life cycle.
31 lines (27 loc) • 814 B
text/typescript
import { Controller, Get, Header } from '@nestjs/common';
import { getAllRules } from '../generator/getAllRules';
import { getAllRunnables } from '../generator/getAllRunnables';
import { getAllOptions } from '../generator/getAllOptions';
import { getYAMLSchema } from '../generator/getYAMLSchema';
export class DocumentationController {
getYAMLSchema(): object {
return getYAMLSchema();
}
getAllRules(): object {
return getAllRules();
}
getAllRunnables(): object {
return getAllRunnables();
}
getAllOptions(): object {
return getAllOptions();
}
}