Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/das/src/api/dashboard/dashboard.controller.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { BadRequestException, Controller, Get, Query } from "@nestjs/common";
import { ApiOperation, ApiQuery, ApiTags } from "@nestjs/swagger";
import { NoCache } from "../../cache";
import { DashboardService } from "./dashboard.service";

@ApiTags("Dashboard")
Expand All @@ -8,6 +9,7 @@ export class DashboardController {
constructor(private readonly dashboard: DashboardService) {}

@Get("issues")
@NoCache()
@ApiOperation({
summary: "Slim issue rows for dashboard trend aggregation",
description:
Expand Down
3 changes: 3 additions & 0 deletions packages/das/src/api/miners/miners.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
ApiQuery,
ApiTags,
} from "@nestjs/swagger";
import { NoCache } from "../../cache";
import { MinersService } from "./miners.service";
import { parsePaginationQuery } from "./pagination";

Expand Down Expand Up @@ -108,6 +109,7 @@ export class MinersController {
constructor(private readonly miners: MinersService) {}

@Get(":githubId/pulls")
@NoCache()
@ApiOperation({
summary: "Pull requests authored by a miner",
description:
Expand Down Expand Up @@ -186,6 +188,7 @@ export class MinersController {
}

@Get(":githubId/issues")
@NoCache()
@ApiOperation({
summary: "Issues authored by a miner",
description:
Expand Down
2 changes: 2 additions & 0 deletions packages/das/src/api/repos/repos.controller.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Controller, Get, Param } from "@nestjs/common";
import { ApiOperation, ApiParam, ApiTags } from "@nestjs/swagger";
import { NoCache } from "../../cache";
import { ReposService } from "./repos.service";

@ApiTags("Repos")
Expand All @@ -8,6 +9,7 @@ export class ReposController {
constructor(private readonly repos: ReposService) {}

@Get(":owner/:repo/maintainers")
@NoCache()
@ApiOperation({
summary: "Maintainer-role contributors for a repo",
description:
Expand Down