Skip to content

Commit 3d2fdf6

Browse files
authored
chore: Update OpenAPI specs (#81)
1 parent 651828d commit 3d2fdf6

File tree

2 files changed

+228
-4
lines changed

2 files changed

+228
-4
lines changed

fern/apis/beta/openapi-beta.yaml

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4778,7 +4778,7 @@ components:
47784778
properties:
47794779
id:
47804780
type: integer
4781-
description: The uiique ID of the enum value.
4781+
description: The unique ID of the enum value.
47824782
format: int64
47834783
label:
47844784
type: string
@@ -5461,6 +5461,33 @@ components:
54615461
required:
54625462
- group
54635463
title: event-group-updated
5464+
event-link-created:
5465+
type: object
5466+
properties:
5467+
link:
5468+
$ref: '#/components/schemas/link'
5469+
required:
5470+
- link
5471+
title: event-link-created
5472+
event-link-deleted:
5473+
type: object
5474+
properties:
5475+
id:
5476+
type: string
5477+
description: The ID of the link that was deleted.
5478+
required:
5479+
- id
5480+
title: event-link-deleted
5481+
event-link-updated:
5482+
type: object
5483+
properties:
5484+
link:
5485+
$ref: '#/components/schemas/link'
5486+
old_link:
5487+
$ref: '#/components/schemas/link'
5488+
required:
5489+
- link
5490+
title: event-link-updated
54645491
event-part-created:
54655492
type: object
54665493
properties:
@@ -6958,6 +6985,8 @@ components:
69586985
properties:
69596986
priority:
69606987
$ref: '#/components/schemas/issue-priority'
6988+
sprint:
6989+
$ref: '#/components/schemas/vista-group-item-summary'
69616990
title: issue-summary
69626991
job-history-item:
69636992
type: object
@@ -7005,8 +7034,17 @@ components:
70057034
name:
70067035
type: string
70077036
description: Current stage name of the work item.
7037+
notes:
7038+
type: string
7039+
description: Notes relevant to the stage.
7040+
ordinal:
7041+
type: integer
7042+
description: Current stage number of the work item (sortable).
7043+
format: int32
70087044
stage:
70097045
$ref: '#/components/schemas/custom-stage-summary'
7046+
state:
7047+
$ref: '#/components/schemas/custom-state-summary'
70107048
required:
70117049
- name
70127050
title: legacy-stage
@@ -7017,6 +7055,8 @@ components:
70177055
name:
70187056
type: string
70197057
description: Current stage name of the work item.
7058+
stage:
7059+
$ref: '#/components/schemas/custom-stage-summary'
70207060
required:
70217061
- name
70227062
title: legacy-stage-summary
@@ -14052,6 +14092,12 @@ components:
1405214092
id:
1405314093
type: string
1405414094
description: The event's ID.
14095+
link_created:
14096+
$ref: '#/components/schemas/event-link-created'
14097+
link_deleted:
14098+
$ref: '#/components/schemas/event-link-deleted'
14099+
link_updated:
14100+
$ref: '#/components/schemas/event-link-updated'
1405514101
part_created:
1405614102
$ref: '#/components/schemas/event-part-created'
1405714103
part_deleted:
@@ -14154,6 +14200,9 @@ components:
1415414200
- group_member_added
1415514201
- group_member_removed
1415614202
- group_updated
14203+
- link_created
14204+
- link_deleted
14205+
- link_updated
1415714206
- part_created
1415814207
- part_deleted
1415914208
- part_updated
@@ -14228,6 +14277,7 @@ components:
1422814277
$ref: '#/components/schemas/webhook-event-type'
1422914278
headers:
1423014279
type: array
14280+
description: The headers to include in every webhook invocation.
1423114281
items:
1423214282
$ref: '#/components/schemas/webhook-header'
1423314283
maxItems: 8
@@ -14382,16 +14432,24 @@ components:
1438214432
properties:
1438314433
add:
1438414434
type: array
14435+
description: |
14436+
The headers to be added to every webhook invocation. If a provided
14437+
header is already specified for the webhook, its value is replaced.
1438514438
items:
1438614439
$ref: '#/components/schemas/webhook-header'
1438714440
maxItems: 8
1438814441
remove:
1438914442
type: array
14443+
description: |
14444+
The headers to be removed from every webhook invocation. If a
14445+
provided header is not specified for the webhook, then it's
14446+
ignored.
1439014447
items:
1439114448
type: string
1439214449
maxItems: 8
1439314450
set:
1439414451
type: array
14452+
description: Sets the headers to include in every webhook invocation.
1439514453
items:
1439614454
$ref: '#/components/schemas/webhook-header'
1439714455
maxItems: 8
@@ -14436,6 +14494,11 @@ components:
1443614494
- $ref: '#/components/schemas/atom-base'
1443714495
- type: object
1443814496
properties:
14497+
actual_close_date:
14498+
type: string
14499+
description: Timestamp when the work was actually completed.
14500+
example: "2023-01-01T12:00:00.000Z"
14501+
format: date-time
1443914502
applies_to_part:
1444014503
$ref: '#/components/schemas/part-summary'
1444114504
artifacts:
@@ -27166,6 +27229,6 @@ tags:
2716627229
name: works
2716727230
x-fern-version:
2716827231
default: "2024-01-24"
27169-
header: X-DevRev-Version
27232+
header: x-devrev-version
2717027233
values:
2717127234
- "2024-01-24"

fern/apis/public/openapi-public.yaml

Lines changed: 163 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,15 @@ components:
11921192
URL from which the conversation was created if the conversation was
11931193
created via PLuG.
11941194
title: conversation-metadata
1195+
conversation-summary:
1196+
allOf:
1197+
- $ref: '#/components/schemas/atom-base-summary'
1198+
- type: object
1199+
properties:
1200+
title:
1201+
type: string
1202+
description: Title of the conversation object.
1203+
title: conversation-summary
11951204
date-filter:
11961205
type: object
11971206
description: Provides ways to specify date ranges on objects.
@@ -1620,7 +1629,7 @@ components:
16201629
properties:
16211630
id:
16221631
type: integer
1623-
description: The uiique ID of the enum value.
1632+
description: The unique ID of the enum value.
16241633
format: int64
16251634
label:
16261635
type: string
@@ -2286,6 +2295,33 @@ components:
22862295
required:
22872296
- group
22882297
title: event-group-updated
2298+
event-link-created:
2299+
type: object
2300+
properties:
2301+
link:
2302+
$ref: '#/components/schemas/link'
2303+
required:
2304+
- link
2305+
title: event-link-created
2306+
event-link-deleted:
2307+
type: object
2308+
properties:
2309+
id:
2310+
type: string
2311+
description: The ID of the link that was deleted.
2312+
required:
2313+
- id
2314+
title: event-link-deleted
2315+
event-link-updated:
2316+
type: object
2317+
properties:
2318+
link:
2319+
$ref: '#/components/schemas/link'
2320+
old_link:
2321+
$ref: '#/components/schemas/link'
2322+
required:
2323+
- link
2324+
title: event-link-updated
22892325
event-part-created:
22902326
type: object
22912327
properties:
@@ -2596,6 +2632,16 @@ components:
25962632
- p1
25972633
- p2
25982634
- p3
2635+
issue-summary:
2636+
allOf:
2637+
- $ref: '#/components/schemas/work-base-summary'
2638+
- type: object
2639+
properties:
2640+
priority:
2641+
$ref: '#/components/schemas/issue-priority'
2642+
sprint:
2643+
$ref: '#/components/schemas/vista-group-item-summary'
2644+
title: issue-summary
25992645
job-history-item:
26002646
type: object
26012647
description: Defines a job history line item.
@@ -2645,6 +2691,83 @@ components:
26452691
required:
26462692
- name
26472693
title: legacy-stage
2694+
legacy-stage-summary:
2695+
type: object
2696+
description: Describes the current stage of a work item.
2697+
properties:
2698+
name:
2699+
type: string
2700+
description: Current stage name of the work item.
2701+
required:
2702+
- name
2703+
title: legacy-stage-summary
2704+
link:
2705+
allOf:
2706+
- $ref: '#/components/schemas/atom-base'
2707+
- type: object
2708+
properties:
2709+
link_type:
2710+
$ref: '#/components/schemas/link-type'
2711+
source:
2712+
$ref: '#/components/schemas/link-endpoint-summary'
2713+
target:
2714+
$ref: '#/components/schemas/link-endpoint-summary'
2715+
required:
2716+
- link_type
2717+
- source
2718+
- target
2719+
title: link
2720+
link-endpoint-summary:
2721+
type: object
2722+
discriminator:
2723+
mapping:
2724+
capability: '#/components/schemas/capability-summary'
2725+
conversation: '#/components/schemas/conversation-summary'
2726+
enhancement: '#/components/schemas/enhancement-summary'
2727+
feature: '#/components/schemas/feature-summary'
2728+
issue: '#/components/schemas/issue-summary'
2729+
product: '#/components/schemas/product-summary'
2730+
ticket: '#/components/schemas/ticket-summary'
2731+
propertyName: type
2732+
oneOf:
2733+
- $ref: '#/components/schemas/capability-summary'
2734+
- $ref: '#/components/schemas/conversation-summary'
2735+
- $ref: '#/components/schemas/enhancement-summary'
2736+
- $ref: '#/components/schemas/feature-summary'
2737+
- $ref: '#/components/schemas/issue-summary'
2738+
- $ref: '#/components/schemas/product-summary'
2739+
- $ref: '#/components/schemas/ticket-summary'
2740+
properties:
2741+
type:
2742+
$ref: '#/components/schemas/link-endpoint-type'
2743+
required:
2744+
- type
2745+
title: link-endpoint-summary
2746+
link-endpoint-type:
2747+
type: string
2748+
enum:
2749+
- capability
2750+
- conversation
2751+
- enhancement
2752+
- feature
2753+
- issue
2754+
- product
2755+
- ticket
2756+
link-type:
2757+
type: string
2758+
description: Type of link used to define the relationship.
2759+
enum:
2760+
- custom_link
2761+
- developed_with
2762+
- imports
2763+
- is_analyzed_by
2764+
- is_dependent_on
2765+
- is_duplicate_of
2766+
- is_merged_into
2767+
- is_parent_of
2768+
- is_part_of
2769+
- is_related_to
2770+
- serves
26482771
list-mode:
26492772
type: string
26502773
description: |
@@ -3973,6 +4096,16 @@ components:
39734096
- high
39744097
- low
39754098
- medium
4099+
ticket-summary:
4100+
allOf:
4101+
- $ref: '#/components/schemas/work-base-summary'
4102+
- type: object
4103+
properties:
4104+
rev_org:
4105+
$ref: '#/components/schemas/org-summary'
4106+
severity:
4107+
$ref: '#/components/schemas/ticket-severity'
4108+
title: ticket-summary
39764109
timeline-comment:
39774110
allOf:
39784111
- $ref: '#/components/schemas/timeline-entry-base'
@@ -4523,6 +4656,12 @@ components:
45234656
id:
45244657
type: string
45254658
description: The event's ID.
4659+
link_created:
4660+
$ref: '#/components/schemas/event-link-created'
4661+
link_deleted:
4662+
$ref: '#/components/schemas/event-link-deleted'
4663+
link_updated:
4664+
$ref: '#/components/schemas/event-link-updated'
45264665
part_created:
45274666
$ref: '#/components/schemas/event-part-created'
45284667
part_deleted:
@@ -4625,6 +4764,9 @@ components:
46254764
- group_member_added
46264765
- group_member_removed
46274766
- group_updated
4767+
- link_created
4768+
- link_deleted
4769+
- link_updated
46284770
- part_created
46294771
- part_deleted
46304772
- part_updated
@@ -4890,6 +5032,25 @@ components:
48905032
- owned_by
48915033
- title
48925034
title: work-base
5035+
work-base-summary:
5036+
allOf:
5037+
- $ref: '#/components/schemas/atom-base-summary'
5038+
- type: object
5039+
properties:
5040+
owned_by:
5041+
type: array
5042+
description: The users that own the work.
5043+
items:
5044+
$ref: '#/components/schemas/user-summary'
5045+
stage:
5046+
$ref: '#/components/schemas/legacy-stage-summary'
5047+
title:
5048+
type: string
5049+
description: Title of the work object.
5050+
required:
5051+
- owned_by
5052+
- title
5053+
title: work-base-summary
48935054
work-type:
48945055
type: string
48955056
enum:
@@ -9634,6 +9795,6 @@ tags:
96349795
name: works
96359796
x-fern-version:
96369797
default: "2024-01-24"
9637-
header: X-DevRev-Version
9798+
header: x-devrev-version
96389799
values:
96399800
- "2024-01-24"

0 commit comments

Comments
 (0)