* 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
* Added port definition to uriBuilder, since it was ignored before and couldn't be set even by supplying a custom client
* generated samples
* update samples
Co-authored-by: Matthias Lewen-Rieger | PROSPER X GmbH <matthias.lewen-rieger@prosper-x.de>
Co-authored-by: William Cheng <wing328hk@gmail.com>
* [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>
* fix: [csharp-netcore]: oneOf fixes for Primitive types
- Escape type in XML comment to avoid issue with types<T> rendering.
- Conditionals for string and Object to still throw ArgumentException.
* fix: Adjust whitespace in csharp-netcore template. Regenerate Petstore clients due to different order of items in composedSchemas.
* Add cycle detection (#7532)
* Review feedback
* Including ContextAwareNodes to detect cycles more accurately.
* Add test
* Add forest to test.
* No longer need ContextAwareNode
* Review feedback
* Update 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