Skip to content

Commit

Permalink
fix: add request body schema in update segment endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Sep 4, 2024
1 parent ff31013 commit a6ea282
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/features/segment/segment-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ export class SegmentsController extends Controller {
'Updates the content of the segment with the provided payload. Any fields not specified will be left untouched.',
tags: ['Segments'],
operationId: 'updateSegment',
requestBody: createRequestSchema('upsertSegmentSchema'),
responses: {
204: emptyResponse,
...getStandardResponses(400, 401, 403, 409, 415),
Expand Down

0 comments on commit a6ea282

Please sign in to comment.