Skip to content

Commit

Permalink
exclude memory from OAS3
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed Dec 13, 2024
1 parent 3ec456f commit d85b69e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/memory/memory.controller.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { Controller, Get, Query } from '@nestjs/common';
import { ApiExcludeController } from '@nestjs/swagger';
import { writeHeapSnapshot } from 'node:v8';
import { Role } from 'src/auth/constants';
import { Roles } from 'src/auth/roles.decorator';
import { MemoryService } from './memory.service';

@Controller('memory')
@ApiExcludeController()
@Roles(Role.SuperAdmin)
export class MemoryController {
constructor(private readonly memoryService: MemoryService) {}
Expand Down

0 comments on commit d85b69e

Please sign in to comment.