Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
b47a6db
chore: created java modern generator for rc release (#663)
sbansla Aug 5, 2025
3cefa7f
chore: Java Enum processors and factory (#664)
sbansla Aug 6, 2025
9e2a1d8
doc: added uml diagram for enum processor design (#665)
sbansla Aug 6, 2025
fa68524
chore: Create common factory for enum (#666)
sbansla Aug 6, 2025
14b6c73
chore: Parameter processor for twilio-java generatiom (#667)
sbansla Aug 6, 2025
fe09ea5
created operation processor (#668)
sbansla Aug 6, 2025
43f51ff
added urlencoded processor (#669)
sbansla Aug 6, 2025
010b0e8
Update schema mapping (#670)
sbansla Aug 6, 2025
f73f7ad
added mustache template files (#671)
sbansla Aug 6, 2025
d9871ef
added constructor, settermethod and inequality feature (#672)
sbansla Aug 6, 2025
17ed8bc
Add format specific features (#673)
sbansla Aug 6, 2025
5048693
added recursive traverser, json response processor, model processor, …
sbansla Aug 6, 2025
117de52
fixed promoter and corrected api class names (#676)
sbansla Aug 6, 2025
b7b4520
Testing twilio-java modernisation (#678)
sbansla Aug 29, 2025
6271159
chore: prepared java modern for release (#682)
sbansla Sep 12, 2025
b064d81
test enabled
sbansla Sep 12, 2025
404c17c
Merge branch 'main' into twilio-java-generation-modernisation
sbansla Sep 12, 2025
6ccaae0
disabled sonar
sbansla Sep 12, 2025
154efe7
Merge branch 'twilio-java-generation-modernisation' of https://github…
sbansla Sep 12, 2025
8c68fae
disabled python release
sbansla Sep 12, 2025
e25edfc
remove spec
sbansla Sep 12, 2025
6609f4a
skipped orgs spec
sbansla Sep 12, 2025
96724ed
renamed twilio-java to twilio-java-legacy
sbansla Sep 12, 2025
053a83d
keeping java tests only
sbansla Sep 12, 2025
065c7e7
disabled python generator and moved spec out of scripts
sbansla Sep 16, 2025
9511886
added scim+json support
sbansla Sep 17, 2025
0636037
added noauth changes
sbansla Sep 18, 2025
3f92850
removed noauth unused extensions
sbansla Sep 18, 2025
3872c9a
refactored constructor generator to use path, query, header param ins…
sbansla Sep 20, 2025
2807d60
fixed Endpoint and Twiml data types
sbansla Sep 24, 2025
c1abd8a
fixed uri promoters
sbansla Sep 24, 2025
65e6d1f
fixed constructor generation due to similar data types
sbansla Sep 24, 2025
0a3db3d
fixed Enum datatype is getting appended by resource name multiple times
sbansla Sep 25, 2025
487250f
fixed the array items appending inner in inline schema
sbansla Sep 28, 2025
6f8795b
using builder pattern for twilio-java nested model generation
sbansla Sep 29, 2025
8dc540b
chore: changes in different languages for openapi-generator-cli versi…
tiwarishubham635 Oct 28, 2025
f7b84bb
Merge branch 'main' into twilio-java-generation-modernisation
tiwarishubham635 Oct 28, 2025
8e2b658
Merge branch 'main' into twilio-java-generation-modernisation
tiwarishubham635 Oct 28, 2025
c5bf548
Merge branch 'main' into twilio-java-generation-modernisation
tiwarishubham635 Nov 4, 2025
63a6ffb
added optional properties for model
sbansla Nov 5, 2025
4d03ba4
fix: Python generator fix for 7.x open api generator (#693)
kridai Nov 5, 2025
20f3f07
chore: java added apistandard validation
sbansla Nov 5, 2025
e4d39eb
Merge branch 'twilio-java-generation-modernisation' of https://github…
sbansla Nov 5, 2025
0e2e3ab
chore: remove openjdk 8 from java dockerfile (#701)
tiwarishubham635 Nov 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'csharp', 'go', 'java', 'node', 'php', 'python', 'ruby' ]
language: ['java' ]
runs-on: ubuntu-latest
timeout-minutes: 20
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ private static Request BuildUpdateRequest(UpdateFeedbackCallSummaryOptions optio

string path = "/2010-04-01/Accounts/{AccountSid}/Calls/Feedback/Summary/{Sid}.json";

string PathAccountSid = options.PathAccountSid ?? client.AccountSid;
path = path.Replace("{"+"AccountSid"+"}", PathAccountSid);
string PathSid = options.PathSid;
path = path.Replace("{"+"Sid"+"}", PathSid);
string PathAccountSid = options.PathAccountSid ?? client.AccountSid;
path = path.Replace("{"+"AccountSid"+"}", PathAccountSid);

return new Request(
HttpMethod.Post,
Expand Down Expand Up @@ -137,6 +137,7 @@ public static async System.Threading.Tasks.Task<FeedbackCallSummaryResource> Upd
return await UpdateAsync(options, client);
}
#endif


/// <summary>
/// Converts a JSON string into a FeedbackCallSummaryResource object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ public List<KeyValuePair<string, string>> GetParams()


}

/// <summary> delete </summary>
public class DeleteCallOptions : IOptions<CallResource>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public static async System.Threading.Tasks.Task<CallResource> CreateAsync(
return await CreateAsync(options, client);
}
#endif


/// <summary> delete </summary>
/// <param name="options"> Delete Call parameters </param>
Expand All @@ -144,10 +145,10 @@ private static Request BuildDeleteRequest(DeleteCallOptions options, ITwilioRest

string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{TestInteger}.json";

string PathAccountSid = options.PathAccountSid ?? client.AccountSid;
path = path.Replace("{"+"AccountSid"+"}", PathAccountSid);
string PathTestInteger = options.PathTestInteger.ToString();
path = path.Replace("{"+"TestInteger"+"}", PathTestInteger);
string PathAccountSid = options.PathAccountSid ?? client.AccountSid;
path = path.Replace("{"+"AccountSid"+"}", PathAccountSid);

return new Request(
HttpMethod.Delete,
Expand Down Expand Up @@ -212,10 +213,10 @@ private static Request BuildFetchRequest(FetchCallOptions options, ITwilioRestCl

string path = "/2010-04-01/Accounts/{AccountSid}/Calls/{TestInteger}.json";

string PathAccountSid = options.PathAccountSid ?? client.AccountSid;
path = path.Replace("{"+"AccountSid"+"}", PathAccountSid);
string PathTestInteger = options.PathTestInteger.ToString();
path = path.Replace("{"+"TestInteger"+"}", PathTestInteger);
string PathAccountSid = options.PathAccountSid ?? client.AccountSid;
path = path.Replace("{"+"AccountSid"+"}", PathAccountSid);

return new Request(
HttpMethod.Get,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public List<KeyValuePair<string, string>> GetHeaderParams()
}

}

/// <summary> delete </summary>
public class DeleteAccountOptions : IOptions<AccountResource>
{
Expand Down
2 changes: 2 additions & 0 deletions examples/csharp/src/Twilio/Rest/Api/V2010/AccountResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ public static async System.Threading.Tasks.Task<AccountResource> CreateAsync(
return await CreateAsync(options, client);
}
#endif


/// <summary> delete </summary>
/// <param name="options"> Delete Account parameters </param>
Expand Down Expand Up @@ -484,6 +485,7 @@ public static async System.Threading.Tasks.Task<AccountResource> UpdateAsync(
return await UpdateAsync(options, client);
}
#endif


/// <summary>
/// Converts a JSON string into a AccountResource object
Expand Down
1 change: 1 addition & 0 deletions examples/csharp/src/Twilio/Rest/FlexApi/V1/CallResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public static async System.Threading.Tasks.Task<CallResource> UpdateAsync(
return await UpdateAsync(options, client);
}
#endif


/// <summary>
/// Converts a JSON string into a CallResource object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ public static async System.Threading.Tasks.Task<AwsResource> UpdateAsync(
return await UpdateAsync(options, client);
}
#endif


/// <summary>
/// Converts a JSON string into a AwsResource object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ public class CreateNewCredentialsOptions : IOptions<NewCredentialsResource>
public decimal? TestNumber { get; set; }


public float? TestNumberFloat { get; set; }
public float TestNumberFloat { get; set; }


public double? TestNumberDouble { get; set; }
public double TestNumberDouble { get; set; }


public decimal? TestNumberInt32 { get; set; }
Expand Down Expand Up @@ -170,5 +170,6 @@ public List<KeyValuePair<string, string>> GetParams()


}

}

Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ public static NewCredentialsResource Create(
string testString,
int? testInteger = null,
DateTime? testDate = null,
float? testNumberFloat = null,
float testNumberFloat = null,
object testObject = null,
bool? testBoolean = null,
decimal? testNumber = null,
double? testNumberDouble = null,
double testNumberDouble = null,
decimal? testNumberInt32 = null,
long? testNumberInt64 = null,
DateTime? testDateTime = null,
Expand Down Expand Up @@ -171,11 +171,11 @@ public static async System.Threading.Tasks.Task<NewCredentialsResource> CreateAs
string testString,
int? testInteger = null,
DateTime? testDate = null,
float? testNumberFloat = null,
float testNumberFloat = null,
object testObject = null,
bool? testBoolean = null,
decimal? testNumber = null,
double? testNumberDouble = null,
double testNumberDouble = null,
decimal? testNumberInt32 = null,
long? testNumberInt64 = null,
DateTime? testDateTime = null,
Expand All @@ -191,6 +191,7 @@ public static async System.Threading.Tasks.Task<NewCredentialsResource> CreateAs
return await CreateAsync(options, client);
}
#endif


/// <summary>
/// Converts a JSON string into a NewCredentialsResource object
Expand Down

This file was deleted.

Loading
Loading