mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
28 lines (21 loc) • 606 B
text/typescript
import { Controller, Get, Header, Redirect, Query } from '@nestjs/common';
import { AppService } from './app.service';
// ruleid:nestjs-header-xss-disabled
export class AppController1 {
constructor(private readonly appService: AppService) {}
getHello1(): string {
return this.appService.getHello();
}
}
export class AppController2 {
constructor(private readonly appService: AppService) {}
getHello2(): string {
return this.appService.getHello();
}
}