Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BE] controller url 수정 #117

Merged
merged 1 commit into from
Nov 14, 2024
Merged
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: 1 addition & 1 deletion BE/src/stock/detail/stock-detail.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { StockDetailChartRequestDto } from './dto/stock-detail-chart-request.dto
import { InquirePriceChartResponseDto } from './dto/stock-detail-chart-response.dto';

@ApiTags('특정 주식 종목에 대한 detail 페이지 조회 API')
@Controller('/api/stocks')
@Controller('/api/stocks/detail')
export class StockDetailController {
constructor(private readonly stockDetailService: StockDetailService) {}

Expand Down
4 changes: 2 additions & 2 deletions BE/src/stock/topfive/stock-topfive.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import { StockRankingResponseDto } from './dto/stock-ranking-response.dto';
import { MarketType } from '../enum/market-type';

@ApiTags('오늘의 상/하위 종목 조회 API')
@Controller('/api/stocks')
@Controller('/api/stocks/topfive')
export class StockTopfiveController {
constructor(private readonly topFiveService: StockTopfiveService) {}

@Get('topfive')
@Get()
@ApiOperation({ summary: '오늘의 상/하위 종목 조회 API' })
@ApiQuery({
name: 'market',
Expand Down
6 changes: 3 additions & 3 deletions BE/src/stock/trade/history/stock-trade-history.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ import { TodayStockTradeHistoryResponseDto } from './dto/today-stock-trade-histo
import { DailyStockTradeHistoryDataDto } from './dto/daily-stock-trade-history-data.dto';

@ApiTags('주식현재가 체결 조회 API')
@Controller('/api/stocks')
@Controller('/api/stocks/trade-history')
export class StockTradeHistoryController {
constructor(
private readonly stockTradeHistoryService: StockTradeHistoryService,
) {}

@Get(':stockCode/today-trade-history')
@Get(':stockCode/today')
@ApiOperation({ summary: '단일 주식 종목에 대한 주식현재가 체결 API' })
@ApiParam({
name: 'stockCode',
Expand All @@ -29,7 +29,7 @@ export class StockTradeHistoryController {
return this.stockTradeHistoryService.getTodayStockTradeHistory(stockCode);
}

@Get(':stockCode/daily-trade-history')
@Get(':stockCode/daily')
@ApiOperation({ summary: '단일 주식 종목에 대한 일자별 주식현재가 API' })
@ApiParam({
name: 'stockCode',
Expand Down
Loading