Skip to content

Commit

Permalink
fix: update endpoint description to correctly reflect its behavior.
Browse files Browse the repository at this point in the history
  • Loading branch information
nunogois committed Sep 4, 2024
1 parent a6ea282 commit 6e6b3e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/features/segment/segment-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export class SegmentsController extends Controller {
openApiService.validPath({
summary: 'Update segment by id',
description:
'Updates the content of the segment with the provided payload. Any fields not specified will be left untouched.',
'Updates the content of the segment with the provided payload. Requires `name` and `constraints` to be present. If `project` is not present, it will be set to `null`. Any other fields not specified will be left untouched.',
tags: ['Segments'],
operationId: 'updateSegment',
requestBody: createRequestSchema('upsertSegmentSchema'),
Expand Down

0 comments on commit 6e6b3e7

Please sign in to comment.