Skip to content

Commit e34b6e9

Browse files
committed
Support commenting inline diff of PR:s
1 parent 2c9f04d commit e34b6e9

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

swagger.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21461,6 +21461,22 @@ components:
2146121461
description: The user's content rendered as HTML.
2146221462
type: string
2146321463
type: object
21464+
comment_inline:
21465+
properties:
21466+
path:
21467+
description: The path of the file this comment is anchored to.
21468+
type: string
21469+
from:
21470+
description: The comment's anchor line in the old version of the file.
21471+
minimum: 1
21472+
type: integer
21473+
to:
21474+
description: The comment's anchor line in the new version of the file.
21475+
minimum: 1
21476+
type: integer
21477+
required:
21478+
- path
21479+
type: object
2146421480
comment:
2146521481
allOf:
2146621482
- $ref: '#/components/schemas/object'
@@ -21496,21 +21512,7 @@ components:
2149621512
type: object
2149721513
type: object
2149821514
inline:
21499-
properties:
21500-
path:
21501-
description: The path of the file this comment is anchored to.
21502-
type: string
21503-
from:
21504-
description: The comment's anchor line in the old version of the file.
21505-
minimum: 1
21506-
type: integer
21507-
to:
21508-
description: The comment's anchor line in the new version of the file.
21509-
minimum: 1
21510-
type: integer
21511-
required:
21512-
- path
21513-
type: object
21515+
$ref: '#/components/schemas/comment_inline'
2151421516
parent:
2151521517
$ref: '#/components/schemas/comment'
2151621518
user:

0 commit comments

Comments
 (0)