Skip to content

Commit 48d47f6

Browse files
authored
fix:added overlay for ruby sdk number typing (#129)
* added overlay for ruby sdk number typing * made the overlay change field specific
1 parent 09ac055 commit 48d47f6

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
overlay: 1.0.0
2+
info:
3+
title: Fix Number Types
4+
version: 1.0.0
5+
actions:
6+
- target: "$.components.schemas.EmploymentStatusEnum.properties.source_value.oneOf[?(@.type=='number')]"
7+
update:
8+
type:
9+
- integer
10+
- number
11+
12+

.speakeasy/workflow.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ sources:
1515
- location: https://api.eu1.stackone.com/oas/screening.json
1616
- location: https://api.eu1.stackone.com/oas/messaging.json
1717
- location: https://api.eu1.stackone.com/oas/accounting.json
18+
overlays:
19+
- location: .speakeasy/ruby-modifications-overlay.yaml
1820
registry:
1921
location: registry.speakeasyapi.dev/stackone/stackone/my-source
2022
targets:

0 commit comments

Comments
 (0)