Commit 8a89f96
committed
chore: remove redundant content-type headers from raw clients
Remove explicitly set `"content-type": "application/json"` headers from
multiple raw client request calls across the SDK. These headers are
already handled by the underlying HTTP client when a JSON body is
present, making the explicit declarations redundant.
Key changes:
- Remove hardcoded `content-type: application/json` headers from `RawAssistantsClient` and `AsyncRawAssistantsClient`
- Remove same redundant headers from `RawEvalClient`, `RawInsightClient`, `RawObservabilityScorecardClient`, `RawPhoneNumbersClient`, `RawSquadsClient`, `RawStructuredOutputsClient`, and `RawToolsClient`
- Applies to both sync and async variants of all affected clients
🌿 Generated with Fern1 parent 72303d1 commit 8a89f96
13 files changed
Lines changed: 262 additions & 329 deletions
File tree
- .fern
- src/vapi
- assistants
- core
- eval
- insight
- observability_scorecard
- phone_numbers
- squads
- structured_outputs
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
1 | 13 | | |
2 | 14 | | |
3 | 15 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | 414 | | |
418 | 415 | | |
419 | 416 | | |
| |||
1170 | 1167 | | |
1171 | 1168 | | |
1172 | 1169 | | |
1173 | | - | |
1174 | | - | |
1175 | | - | |
1176 | 1170 | | |
1177 | 1171 | | |
1178 | 1172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | 190 | | |
194 | 191 | | |
195 | 192 | | |
| |||
778 | 775 | | |
779 | 776 | | |
780 | 777 | | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | 778 | | |
785 | 779 | | |
786 | 780 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 161 | | |
165 | 162 | | |
166 | 163 | | |
| |||
406 | 403 | | |
407 | 404 | | |
408 | 405 | | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | 406 | | |
413 | 407 | | |
414 | 408 | | |
| |||
559 | 553 | | |
560 | 554 | | |
561 | 555 | | |
562 | | - | |
563 | | - | |
564 | | - | |
565 | 556 | | |
566 | 557 | | |
567 | 558 | | |
| |||
807 | 798 | | |
808 | 799 | | |
809 | 800 | | |
810 | | - | |
811 | | - | |
812 | | - | |
813 | 801 | | |
814 | 802 | | |
815 | 803 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | 329 | | |
333 | 330 | | |
334 | 331 | | |
| |||
655 | 652 | | |
656 | 653 | | |
657 | 654 | | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | 655 | | |
662 | 656 | | |
663 | 657 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 146 | | |
150 | 147 | | |
151 | 148 | | |
| |||
517 | 514 | | |
518 | 515 | | |
519 | 516 | | |
520 | | - | |
521 | | - | |
522 | | - | |
523 | 517 | | |
524 | 518 | | |
525 | 519 | | |
| |||
0 commit comments