Skip to content

Commit

Permalink
configiure monkey patch for local_hours example
Browse files Browse the repository at this point in the history
  • Loading branch information
dphuang2 committed Jan 22, 2024
1 parent ce634aa commit 704b2c1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
8 changes: 8 additions & 0 deletions konfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ outputDirectory: /tmp/bellhop-sdks-out
specRemotePath: https://partners.bellhop.com/v5/openapi.json
specInputPath: openapi.json
specPath: openapi-fixed.json
fixConfig:
modify:
components.schemas.FlexibleServiceRequest.properties.local_hours.example:
- 8
- 9
- 10
- 11
- 12
portal:
title: Bellhop
primaryColor: '#233152'
Expand Down
8 changes: 7 additions & 1 deletion openapi-fixed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1957,7 +1957,13 @@
},
"type": "array",
"nullable": true,
"example": "[8, 9, 10, 11, 12]",
"example": [
8,
9,
10,
11,
12
],
"x-examples": [
"[8, 9, 10, 11, 12]"
]
Expand Down
2 changes: 1 addition & 1 deletion typescript/.konfig/generate-id.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c94c7a12-d810-4372-add6-dd369aa24096
2623de2a-008c-43e8-a2b5-43d14a84c598
2 changes: 1 addition & 1 deletion typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ const createFlexibleResponse = await bellhop.quoteServiceGroups.createFlexible({
serviceGroupId: "serviceGroupId_example",
start_date: "1970-01-01",
end_date: "1970-01-01",
local_hours: [[8, 9, 10, 11, 12]],
local_hours: [8, 9, 10, 11, 12],
});
```

Expand Down

0 comments on commit 704b2c1

Please sign in to comment.