mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +00:00
fix: add description to saveGrade 200 response
This commit is contained in:
@@ -187,6 +187,10 @@ export class DecksController {
|
||||
@ApiNotFoundResponse({ description: 'Card not found' })
|
||||
@HttpCode(HttpStatus.OK)
|
||||
@ApiNoContentResponse({ description: 'Grade saved' })
|
||||
@ApiOkResponse({
|
||||
description: 'A new random card in the deck. Will never return the same card that was sent',
|
||||
type: Card,
|
||||
})
|
||||
@Post(':id/learn')
|
||||
@ApiOperation({
|
||||
description: 'Save the grade of a card',
|
||||
|
||||
Reference in New Issue
Block a user