Trening: wznowienie ukonczonej sesji (naprawa pomyly) - endpoint /reopen, akcja w UI, koniec wraca do edycji
This commit is contained in:
@@ -876,6 +876,15 @@ export const openapi: Record<string, unknown> = {
|
||||
parameters: [{ name: 'id', in: 'path', required: true, schema: { type: 'string' } }],
|
||||
},
|
||||
},
|
||||
'/sessions/{id}/reopen': {
|
||||
post: {
|
||||
tags: ['Sessions'],
|
||||
summary:
|
||||
'Reopen completed session (naprawa pomyłki; session -> in progress, day -> planned; requires no other active session)',
|
||||
security: [{ bearerAuth: [] }],
|
||||
parameters: [{ name: 'id', in: 'path', required: true, schema: { type: 'string' } }],
|
||||
},
|
||||
},
|
||||
'/dashboard': {
|
||||
get: {
|
||||
tags: ['Dashboard'],
|
||||
|
||||
Reference in New Issue
Block a user