WorkBookArticleController

@Validated
@RestController
@RequestMapping(value = ["/api/v1/workbooks/{workbookId}/articles"], produces = ["application/json"])
class WorkBookArticleController(readWorkBookArticleUseCase: ReadWorkBookArticleUseCase)

Constructors

Link copied to clipboard
constructor(readWorkBookArticleUseCase: ReadWorkBookArticleUseCase)

Functions

Link copied to clipboard
@GetMapping(value = ["/{articleId}"])
fun readWorkBookArticle(userArgumentDetails: UserArgumentDetails, @PathVariable(value = "workbookId") @Min(value = 1, message = "{min.id}") workbookId: Long, @PathVariable(value = "articleId") @Min(value = 1, message = "{min.id}") articleId: Long): ApiResponse<ApiResponse.SuccessBody<ReadWorkBookArticleResponse>>