Skip to content

Commit bac9a5c

Browse files
Generate SDK with OpenAPI Generator Version (#146)
Co-authored-by: DX-Bandwidth <[email protected]>
1 parent 43e0e02 commit bac9a5c

10 files changed

+94
-63
lines changed

Bandwidth.Standard.sln

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{2B47638C-7484-4B48-9AD8-871EFEE340BD}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{E141B9CC-5B88-4A01-9A7C-18C8B2581B9E}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{2B47638C-7484-4B48-9AD8-871EFEE340BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{2B47638C-7484-4B48-9AD8-871EFEE340BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{2B47638C-7484-4B48-9AD8-871EFEE340BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{2B47638C-7484-4B48-9AD8-871EFEE340BD}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

api/openapi.yaml

+40-8
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ paths:
765765
- description: "Not intended for explicit use. To use pagination, follow the\
766766
\ links in the `Link` header of the response, as indicated in the endpoint\
767767
\ description."
768+
example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9
768769
explode: true
769770
in: query
770771
name: pageToken
@@ -1406,6 +1407,7 @@ paths:
14061407
- description: "Not intended for explicit use. To use pagination, follow the\
14071408
\ links in the `Link` header of the response, as indicated in the endpoint\
14081409
\ description."
1410+
example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9
14091411
explode: true
14101412
in: query
14111413
name: pageToken
@@ -6192,6 +6194,7 @@ components:
61926194
pageToken1:
61936195
description: "Not intended for explicit use. To use pagination, follow the links\
61946196
\ in the `Link` header of the response, as indicated in the endpoint description."
6197+
example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9
61956198
explode: true
61966199
in: query
61976200
name: pageToken
@@ -7179,12 +7182,14 @@ components:
71797182
enum:
71807183
- INBOUND
71817184
- OUTBOUND
7185+
example: INBOUND
71827186
type: string
71837187
messageDirectionEnum:
71847188
description: The direction of the message. One of in out.
71857189
enum:
71867190
- in
71877191
- out
7192+
example: in
71887193
type: string
71897194
messageTypeEnum:
71907195
description: The type of message. Either SMS or MMS.
@@ -11429,20 +11434,23 @@ components:
1142911434
type: string
1143011435
useCaseSummary:
1143111436
description: A general idea of the use case and customer.
11437+
example: Text summarizing the use case for the toll-free number
1143211438
maxLength: 500
11433-
minLength: 1
11439+
minLength: 0
1143411440
nullable: false
1143511441
type: string
1143611442
productionMessageContent:
1143711443
description: Example of message content.
11444+
example: Production message content
1143811445
maxLength: 500
11439-
minLength: 1
11446+
minLength: 0
1144011447
nullable: false
1144111448
type: string
1144211449
optInWorkflow:
1144311450
$ref: '#/components/schemas/optInWorkflow'
1144411451
additionalInformation:
1144511452
description: Any additional information.
11453+
example: Any additional information
1144611454
maxLength: 500
1144711455
minLength: 0
1144811456
nullable: true
@@ -11484,12 +11492,14 @@ components:
1148411492
type: string
1148511493
useCaseSummary:
1148611494
description: A general idea of the use case and customer.
11495+
example: Text summarizing the use case for the toll-free number
1148711496
maxLength: 500
1148811497
minLength: 0
1148911498
nullable: false
1149011499
type: string
1149111500
productionMessageContent:
1149211501
description: Example of message content.
11502+
example: Production message content
1149311503
maxLength: 500
1149411504
minLength: 0
1149511505
nullable: false
@@ -11521,9 +11531,11 @@ components:
1152111531
tfvBasicAuthentication:
1152211532
properties:
1152311533
username:
11534+
example: username
1152411535
maxLength: 100
1152511536
type: string
1152611537
password:
11538+
example: password
1152711539
maxLength: 200
1152811540
type: string
1152911541
required:
@@ -11681,7 +11693,7 @@ components:
1168111693
address:
1168211694
example:
1168311695
zip: "27606"
11684-
addr2: addr2
11696+
addr2: 2230 Bandmate Way
1168511697
addr1: 2230 Bandmate Way
1168611698
city: Raleigh
1168711699
name: Bandwidth Inc.
@@ -11705,6 +11717,7 @@ components:
1170511717
type: string
1170611718
addr2:
1170711719
description: The address of the business using the toll-free number.
11720+
example: 2230 Bandmate Way
1170811721
maxLength: 500
1170911722
minLength: 0
1171011723
nullable: true
@@ -11745,6 +11758,12 @@ components:
1174511758
- url
1174611759
- zip
1174711760
type: object
11761+
additionalInformation:
11762+
description: Any additional information.
11763+
maxLength: 500
11764+
minLength: 0
11765+
nullable: true
11766+
type: string
1174811767
optInWorkflow:
1174911768
example:
1175011769
imageUrls:
@@ -11864,6 +11883,20 @@ components:
1186411883
maxLength: 500
1186511884
minLength: 0
1186611885
type: string
11886+
useCaseSummary:
11887+
description: A general idea of the use case and customer.
11888+
example: Text summarizing the use case for the toll-free number
11889+
maxLength: 500
11890+
minLength: 0
11891+
nullable: false
11892+
type: string
11893+
productionMessageContent:
11894+
description: Example of message content.
11895+
example: Production message content
11896+
maxLength: 500
11897+
minLength: 0
11898+
nullable: false
11899+
type: string
1186711900
webhookSubscriptionsListBody:
1186811901
description: A list of all webhook subscriptions registered for this account
1186911902
ID for this particular feature (unpaginated).
@@ -12062,7 +12095,7 @@ components:
1206212095
createdDateTime: 2021-06-08T06:45:13Z
1206312096
modifiedDateTime: 2021-06-08T06:45:13Z
1206412097
submission:
12065-
additionalInformation: Any additional information
12098+
additionalInformation: additionalInformation
1206612099
useCase: 2FA
1206712100
isvReseller: Test ISV
1206812101
businessContact:
@@ -12074,7 +12107,7 @@ components:
1207412107
productionMessageContent: Production message content
1207512108
businessAddress:
1207612109
zip: "27606"
12077-
addr2: addr2
12110+
addr2: 2230 Bandmate Way
1207812111
addr1: 2230 Bandmate Way
1207912112
city: Raleigh
1208012113
name: Bandwidth Inc.
@@ -12133,7 +12166,7 @@ components:
1213312166
type: object
1213412167
tfvSubmissionInfo:
1213512168
example:
12136-
additionalInformation: Any additional information
12169+
additionalInformation: additionalInformation
1213712170
useCase: 2FA
1213812171
isvReseller: Test ISV
1213912172
businessContact:
@@ -12145,7 +12178,7 @@ components:
1214512178
productionMessageContent: Production message content
1214612179
businessAddress:
1214712180
zip: "27606"
12148-
addr2: addr2
12181+
addr2: 2230 Bandmate Way
1214912182
addr1: 2230 Bandmate Way
1215012183
city: Raleigh
1215112184
name: Bandwidth Inc.
@@ -12192,7 +12225,6 @@ components:
1219212225
$ref: '#/components/schemas/optInWorkflow'
1219312226
additionalInformation:
1219412227
description: Any additional information.
12195-
example: Any additional information
1219612228
maxLength: 500
1219712229
minLength: 0
1219812230
nullable: true

bandwidth.yml

+35-43
Original file line numberDiff line numberDiff line change
@@ -1641,12 +1641,14 @@ components:
16411641
enum:
16421642
- INBOUND
16431643
- OUTBOUND
1644+
example: INBOUND
16441645
messageDirectionEnum:
16451646
type: string
16461647
description: The direction of the message. One of in out.
16471648
enum:
16481649
- in
16491650
- out
1651+
example: in
16501652
messageTypeEnum:
16511653
type: string
16521654
description: The type of message. Either SMS or MMS.
@@ -4797,17 +4799,9 @@ components:
47974799
useCase:
47984800
$ref: '#/components/schemas/useCase'
47994801
useCaseSummary:
4800-
type: string
4801-
description: A general idea of the use case and customer.
4802-
minLength: 1
4803-
maxLength: 500
4804-
nullable: false
4802+
$ref: '#/components/schemas/useCaseSummary'
48054803
productionMessageContent:
4806-
type: string
4807-
description: Example of message content.
4808-
minLength: 1
4809-
maxLength: 500
4810-
nullable: false
4804+
$ref: '#/components/schemas/productionMessageContent'
48114805
optInWorkflow:
48124806
$ref: '#/components/schemas/optInWorkflow'
48134807
additionalInformation:
@@ -4816,6 +4810,7 @@ components:
48164810
minLength: 0
48174811
maxLength: 500
48184812
nullable: true
4813+
example: Any additional information
48194814
isvReseller:
48204815
$ref: '#/components/schemas/isvReseller'
48214816
verificationUpdateRequest:
@@ -4842,25 +4837,13 @@ components:
48424837
useCase:
48434838
$ref: '#/components/schemas/useCase'
48444839
useCaseSummary:
4845-
type: string
4846-
description: A general idea of the use case and customer.
4847-
minLength: 0
4848-
maxLength: 500
4849-
nullable: false
4840+
$ref: '#/components/schemas/useCaseSummary'
48504841
productionMessageContent:
4851-
type: string
4852-
description: Example of message content.
4853-
minLength: 0
4854-
maxLength: 500
4855-
nullable: false
4842+
$ref: '#/components/schemas/productionMessageContent'
48564843
optInWorkflow:
48574844
$ref: '#/components/schemas/optInWorkflow'
48584845
additionalInformation:
4859-
type: string
4860-
description: Any additional information.
4861-
minLength: 0
4862-
maxLength: 500
4863-
nullable: true
4846+
$ref: '#/components/schemas/additionalInformation'
48644847
isvReseller:
48654848
$ref: '#/components/schemas/isvReseller'
48664849
tfvBasicAuthentication:
@@ -4869,9 +4852,11 @@ components:
48694852
username:
48704853
type: string
48714854
maxLength: 100
4855+
example: username
48724856
password:
48734857
type: string
48744858
maxLength: 200
4859+
example: password
48754860
required:
48764861
- username
48774862
- password
@@ -4986,6 +4971,7 @@ components:
49864971
minLength: 0
49874972
maxLength: 500
49884973
nullable: true
4974+
example: 2230 Bandmate Way
49894975
city:
49904976
type: string
49914977
description: The city of the business using the toll-free number.
@@ -5014,6 +5000,12 @@ components:
50145000
maxLength: 500
50155001
nullable: false
50165002
example: https://www.example.com/path/to/resource
5003+
additionalInformation:
5004+
type: string
5005+
description: Any additional information.
5006+
minLength: 0
5007+
maxLength: 500
5008+
nullable: true
50175009
optInWorkflow:
50185010
type: object
50195011
nullable: false
@@ -5101,6 +5093,20 @@ components:
51015093
minLength: 0
51025094
maxLength: 500
51035095
example: 2FA
5096+
useCaseSummary:
5097+
type: string
5098+
description: A general idea of the use case and customer.
5099+
minLength: 0
5100+
maxLength: 500
5101+
nullable: false
5102+
example: Text summarizing the use case for the toll-free number
5103+
productionMessageContent:
5104+
type: string
5105+
description: Example of message content.
5106+
minLength: 0
5107+
maxLength: 500
5108+
nullable: false
5109+
example: Production message content
51045110
webhookSubscriptionsListBody:
51055111
description: >-
51065112
A list of all webhook subscriptions registered for this account ID for
@@ -5277,28 +5283,13 @@ components:
52775283
useCase:
52785284
$ref: '#/components/schemas/useCase'
52795285
useCaseSummary:
5280-
type: string
5281-
description: A general idea of the use case and customer.
5282-
minLength: 0
5283-
maxLength: 500
5284-
nullable: false
5285-
example: Text summarizing the use case for the toll-free number
5286+
$ref: '#/components/schemas/useCaseSummary'
52865287
productionMessageContent:
5287-
type: string
5288-
description: Example of message content.
5289-
minLength: 0
5290-
maxLength: 500
5291-
nullable: false
5292-
example: Production message content
5288+
$ref: '#/components/schemas/productionMessageContent'
52935289
optInWorkflow:
52945290
$ref: '#/components/schemas/optInWorkflow'
52955291
additionalInformation:
5296-
type: string
5297-
description: Any additional information.
5298-
minLength: 0
5299-
maxLength: 500
5300-
nullable: true
5301-
example: Any additional information
5292+
$ref: '#/components/schemas/additionalInformation'
53025293
isvReseller:
53035294
$ref: '#/components/schemas/isvReseller'
53045295
tfvStatusEnum:
@@ -6235,6 +6226,7 @@ components:
62356226
Not intended for explicit use. To use pagination, follow the links in
62366227
the `Link` header of the response, as indicated in the endpoint
62376228
description.
6229+
example: eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9
62386230
disconnectCause:
62396231
name: disconnectCause
62406232
in: query

docs/CallsApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ namespace Example
256256
var maxStartTime = 2022-06-21T19:13:21Z; // string | Filter results to calls which have a `startTime` before or including `maxStartTime` (in ISO8601 format). (optional)
257257
var disconnectCause = hangup; // string | Filter results to calls with specified call Disconnect Cause. (optional)
258258
var pageSize = 500; // int? | Specifies the max number of calls that will be returned. (optional) (default to 1000)
259-
var pageToken = "pageToken_example"; // string | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. (optional)
259+
var pageToken = eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9; // string | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. (optional)
260260
261261
try
262262
{

docs/ConferencesApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ namespace Example
579579
var minCreatedTime = 2022-06-21T19:13:21Z; // string | Filter results to conferences which have a `createdTime` after or at `minCreatedTime` (in ISO8601 format). (optional)
580580
var maxCreatedTime = 2022-06-21T19:13:21Z; // string | Filter results to conferences which have a `createdTime` before or at `maxCreatedTime` (in ISO8601 format). (optional)
581581
var pageSize = 500; // int? | Specifies the max number of conferences that will be returned. (optional) (default to 1000)
582-
var pageToken = "pageToken_example"; // string | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. (optional)
582+
var pageToken = eyJwYWdlVG9rZW4iOiJ0b2tlbiJ9; // string | Not intended for explicit use. To use pagination, follow the links in the `Link` header of the response, as indicated in the endpoint description. (optional)
583583
584584
try
585585
{

0 commit comments

Comments
 (0)