* Add modification to petstore yaml to support testing enum string resolve. Move csharp-netcore-net50 to point to new yaml schema.
* [csharp-netcore] - For enum's with an EnumMember Attribute use this value instead of enum.ToString().
-Regenerate csharp samples to accomodate change.
* fix: rebase on master. Update samples.
* task (Samples): update csharp-netcore samples. (via generate-samples.sh)
* delete and build samples
* how did this not get committed?
* how did this not get committed?
* how did this not get committed?
* fixed csharp netcore functions
* reverted two files
* restored manually created tests
* reverted some unintentional changes
* restored unintended changes
* Ensure CancellationTokenSource disposal in CSharp clients
* Fixed broken BaseValidate in CSharp models
* Ensure final CancellationToken is used in CSharp API clients
* Ensure EmitDefaultValue true for required properties in CSharp clients
* Regenerated samples
* Fixed broken C# ApiClient.ExecAsync disposable resources
* Update RestSharp to v108
* Add OAuth2 Application (client_credentials) authentication
* Run generators and fix typos
* Undo accidental python and rust changes
* Add documentation, fix authenticator bug, and fix user agent bug
* Fix tests
Missed some changes in the mustache templates.
Also had to update the `netcoreapp2.0` test project to `netcoreapp3.1` for compatibility with RestSharp
* Switch HttpUtility to WebUtility for compatibility
* skip oauth file generation for httpclient
* fix templates
* remove files, regenerate samples
* add reference to system.web
Co-authored-by: Jared Bates <Jared.Bates@sight-sound.com>
* Update RestSharp to v108
* Add OAuth2 Application (client_credentials) authentication
* Run generators and fix typos
* Undo accidental python and rust changes
* Add documentation, fix authenticator bug, and fix user agent bug
* Fix tests
Missed some changes in the mustache templates.
Also had to update the `netcoreapp2.0` test project to `netcoreapp3.1` for compatibility with RestSharp
* Switch HttpUtility to WebUtility for compatibility
* [csharp-netcore] DX-2532 - Add support for `byte[]` response deserialization
Add support for `byte[]` response type deserialization
* Update Samples and Docs
* Add the operation associated with each request path
* Populate the request operation with a combination of classname and operation id
* Initialize operation servers dictionary with default values
* Allow passing in the operation index with requests
* Check that the server contains a variables key before iterating
* Generated samples
* Generated samples with latest changes
* Include operations when at least one server exists
* Generate samples with the latest changes
Co-authored-by: Mike Hamer <mhamer@bandwidth.com>
Co-authored-by: Mike Hamer <hamer.mike@gmail.com>
* Generate @RequestParam when parameter is not a File
* Fix tests to use @RequestParam
* Enhance testMultipartBoot test case
* Update the Petstore sample
* Add MultipartMixedStatus files
* Use @RequestPart for spring-cloud when param is File
* Generate samples
* Delete spring-cloud formParams.mustache file
* Regenerate samples
* added generichost library
* added templates
* added an event, improved docs, added logging
* adding event args file
* fixed hard coded package name
* added an AddTokens overload for a single token
* changed api clients to singletons to support the event registration
* build samples
* log exceptions while executing api responded event
* nrt bug fixes, dangling comma fix
* resolving comments
* removed debugging lines
* refactored token provider
* rate limit provider now default
* updated readme, added ConfigureAwait(false)
* DI fixes
* removed a hard coded project name
* fixed nrt bugs
* improved NRT and .net 3.1 support
* renamed projectName to apiName, added cli option
* trying to avoid conflict
* set GenerateAssemlbyInfo to true
* created docs/scripts folder
* moved ApiTestsBase.cs to not get overwritten
* test fixes and improvements
* fixed licenseId bug, updated readme
* build samples
* export docs
* removed new language features
* added support for .net standard 2.0
* added git_push.ps1
* fixed bug in git_push.sh due to the new directory, prompting user for commit message
* moved documentation folders
* fixed bug when apiKey in query
* bug fix