Filipe Silva
8bac93e23b
[csharp] Improved apiclient.mustache ( #18915 )
...
* improved apiclient.mustache to keep it dry, sharing a single exec with Action<> delegate.
* updated samples and test
* Removed async from ApiClient.mustache
Updated samples
* Revert change to CSharpClientDeepObjectTest.java
* Fix async await (it was not waiting creating a null exception)
Updated samples
* Fix File IO namespace with using directive
* Improved comments on new methods
Added new DRY method DeserializeRestResponseFromPolicy
* Fix comments and parameters for new method DeserializeRestResponseFromPolicy
Updated samples
2024-06-15 17:54:14 +08:00
Filipe Silva
e8bbfe23b4
[csharp] fix system.web warning and removed unneeded fqn ( #18902 )
...
* Refactor validatable.mustache moved fqn types to using directive for cleaner code
Fix netcore_project.mustache conditional "System.Web", more details:
https://learn.microsoft.com/en-us/aspnet/core/migration/inc/adapters?view=aspnetcore-7.0
* updated csharp samples
2024-06-11 19:53:39 +08:00
William Cheng
63d1564637
update C# samples
2024-05-23 14:41:44 +08:00
William Cheng
741bf0c035
Prepare 7.7.0-SNAPSHOT ( #18709 )
...
* Revert "7.6.0 release"
This reverts commit d76f9d32d11a03be2b40ebff728ef0ff86332fcb.
* prepare 7.7.0 snapshot in master
* update samples
2024-05-20 17:27:17 +08:00
William Cheng
807250a430
Prepare 7.6.0 ( #18412 )
...
* Revert "v7.5.0 release"
This reverts commit 1eafe2aebf33b13bee0ead66d62a6436e7db059d.
* update master to v7.6.0 snapshot
* update readme
* update samples
2024-04-17 19:05:37 +08:00
devhl-labs
370eca2889
[csharp] Update dependencies ( #18263 )
...
* version bump
* updated a workflow
2024-03-31 11:27:57 +08:00
ふぁ
5e9546451c
[Python] Add echo_api test object serialization for multipart requests ( #18176 )
...
* [python] echo add test object serialization for multipart requests
* [echo api] update samples
* [echo api] update samples
2024-03-23 21:40:10 +08:00
devhl-labs
da1187fc8d
[csharp] Fixes incorrect property name ( #18136 )
...
* moved camel case lambda
* renamed camel case lambda
* reverted unintended change
* fixed wrong property names
* restored accidental file deletion
* build samples
2024-03-18 13:02:26 +08:00
devhl-labs
96fad5eb2c
[csharp] Fix getModelFromParameter ( #18137 )
...
* fix getModelFromParameter
* minor fix
2024-03-18 12:54:49 +08:00
William Cheng
4ff7e0ec3f
Prepare 7.5.0 snapshot ( #18068 )
...
* Revert "7.4.0 release"
This reverts commit eda049348425171df772a7b9087cc97db718cfda.
* prepare 7.5.0 snapshot version
* update samples
* update doc
2024-03-11 11:10:52 +08:00
Ross Bender
cf2435f335
Add support for controlling output of OpenAPI Generator version in generated files ( #17952 )
...
* add initial openapi config and java generated files
* add java implementation for adding generator version
* regenerate sample client files
* remove tabs
* only show generated version if build info exists
* set build info for batch generation
* update generator doc for new global flag
* use existing property for generator version
* update templates to include generator version
* update templates for better generator version syntax
* revert undesired changes
* regenerate samples for openapi client
* update templates to correct formatting/newlines
* correct description text and add to usage doc
* add generator cli option for all codegen types
* use more concise version info; update existing codegens to support new prop
* correct wrong prop reference
* add initial test coverage for new prop
* update last (scala) templates with new prop
* update samples after upstream merge
* use consistent version output
* use better sample project id/name
* revert using option for generator version in templates
2024-03-09 15:52:08 +08:00
Simon Podlipsky
1e9bccca16
feat: generate EOL in VERSION file ( #17829 )
...
The EOL is missing so let's add it in order to comply with POSIX standard:
Line
> A sequence of zero or more non- <newline> characters plus a terminating <newline> character.
2024-02-12 15:40:55 +08:00
William Cheng
783e68c7ac
7.4.0 snapshot ( #17818 )
...
* Revert "7.3.0-release (#17817 )"
This reverts commit d617b46c86b9075c5e0d63fe3798e2982f5259ac.
* update samples, docs, readme
2024-02-08 16:07:22 +08:00
Jonathan
f323a3e788
[Python] deserialize enum json response ( fix #17789 ) ( #17791 )
...
* deserialize enum json response (python)
* adapt python samples: adding enum deserialization
* add echo test for enum json response deserialization (python)
* update samples
2024-02-08 10:52:43 +08:00
William Cheng
d0187ab359
Add tests for query parameters (array of integer/string) ( #17686 )
...
* add tests for query parameters in python client
* update other samples
* update samples
2024-01-24 10:20:18 +08:00
Anakael
11caad92df
[CSharp] feat!: add useDateOnly flag ( #17471 )
...
* feat: DateOnly for client
* fix: generated doc for csharp
* doc: fix generators README for csharp
* add DateOnly option for aspnet
* refactor: update csharp docs
* refactor: fix typo
* finish
* finish
* finish
* regenerate
* rebuild and regenerate
* fix build error
* finish
* revert path
* regenerate
* remove exceed samples
* regenerate
* add DateOnly to nullable
* remove obsolete file from list
* update test files list
* remove obsolete sample build
* revert manual tests
* revert samples to master and regenerate
* remove new samples
* remove eol
* remove eol
* add new specs
* try fix test
* update tests
* update files
* remove eol
* revert
* remove eol
* regenerate
* add net6+ support to aspnetcore
* add jobs
2024-01-10 11:34:14 +08:00
Milad
8c014372aa
[Java RESTEasy client] updating test to use the Java RESTEasy echo api client ( #17367 ) ( #17470 )
...
* updating test to use the Java RESTEasy echo api client (#17367 )
* regenerated samples
* set source and target to 1.8 to fix workflow failure, adapted parser
2023-12-26 09:32:51 +08:00
William Cheng
5eab3cef19
Prepare 7.3.0-SNAPSHOT ( #17456 )
...
* Revert "v7.2.0 release (#17455 )"
This reverts commit fe638d009363c142c246ff089032f243e0b4ee01.
* set version to 7.3.0-SNAPSHOT
* update doc
2023-12-22 16:55:58 +08:00
Tomohiko Ozawa
37451fa569
[Java][resttemplate] Add test for bearer auth ( #17081 )
...
* add bearer auth API to echo-api
* run generate-samples.sh
* add resttemplate echo-api sample
* add bearer auth test
* remove @Ignore
2023-11-16 00:38:49 +08:00
devhl-labs
dd4143b75e
[csharp] Added .net8 ( #17075 )
...
* added .net8
* change .net version in the github action
* upgrade manual sample
2023-11-15 15:35:02 +08:00
William Cheng
53289263d9
Prepare v7.2.0 ( #17050 )
...
* update version to 7.2.0-SNAPSHOT
* update samples
* update doc
2023-11-13 18:53:20 +08:00
William Cheng
849cf88ba7
Update C# dependencies to newer versions, update reserved word list ( #16996 )
...
* update c# dep to newer versions, update reserved word list
* update doc, list
2023-11-07 12:32:23 +08:00
William Cheng
49208144e1
Better handling of allOf in request body ( #16991 )
...
* better handling of allOf in request body, add tests
* additional checks
* fix description
2023-11-05 22:43:45 +08:00
Torgil Folger
58f058f3e9
[csharp] RemoteCertificateValidationCallback was not called on async methods; resolves #14608 ( #16886 )
...
* Update ApiClient.mustache
added missing line in config mapping
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-10-28 20:29:38 +08:00
William Cheng
34265e52b1
add rule to skip xUnit1031 ( #16804 )
2023-10-12 15:56:27 +08:00
devhl-labs
2cfce7cd2d
version bump ( #16657 )
2023-10-11 16:16:06 +08:00
Robert Schweizer
9e07f85eb5
[python] Add tests and fix enum path parameters ( #16769 )
...
* test: Tests for enum params in path, query and header
* fix: Get enum ref values correctly in path parameters
Closes #16688
* fix java tests failure
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-10-10 17:10:30 +08:00
William Cheng
25b67dd6bf
Run tests for C# Echo API client in CI ( #16626 )
...
* run tests for C# echo api client in ci
* trigger build failure
* Revert "trigger build failure"
This reverts commit 844ec9a3d2d00a989e3bb961d84587ecba0e9589.
2023-09-20 15:21:44 +08:00
MachineUserPTV
f530496f21
[dotnetcore] Implement QueryParameter deepObject style is missing for… ( #15945 )
...
* [dotnetcore] Implement QueryParameter deepObject style is missing for async function
* Add some csharp-restsharp tests
* add and fix tests
* restore missing files
* remove test with datetime problem
---------
Co-authored-by: Oliver Krug <Oliver.Krug@ptvgroup.com>
2023-09-20 14:57:33 +08:00
William Cheng
5e8e2d7f6d
Prepare v7.1.0 in master ( #16608 )
...
* prepare v7.1.0 in master
* update
2023-09-18 17:37:36 +08:00
William Cheng
47a85e880b
Add tests for http basic authentication in python client ( #16488 )
...
* add tests for http basic auth in python client
* add new files
2023-09-03 19:11:53 +08:00
William Cheng
ebc9bcda44
[java][native] Add tests for oneOf form parameters ( #16487 )
...
* add tests for oneOf form parameters
* update samples
2023-09-03 16:15:54 +08:00
William Cheng
80121aa88f
Prepare v7.0.1 ( #16409 )
...
* prepare 7.0.1 in master
* update doc
2023-08-25 16:11:29 +08:00
clement-brodu
1a458d3e0b
fix: memory leak with restclient ( #13961 ) ( #16365 )
2023-08-21 20:26:37 +08:00
William Cheng
66155d622c
update c# samples
2023-07-24 16:04:11 +08:00
Renny S
bd76c1b102
[csharp] Update RestSharp to 110.2.0 ( #16122 )
...
* [csharp] Update RestSharp to 110.2.0
* Post './bin/generate-samples.sh bin/configs/csharp*' and './bin/utils/export_docs_generators.sh' scripts
* OAuthAuthenticator: use configureSerialization
* ContentType prop = RestSharp.ContentType.Json
* `req` -> `request` in `Exec()` and `ExecAsync()`
* Regenerate samples
2023-07-21 17:19:38 +08:00
William Cheng
598c27ddb0
[C#] fix validate ( #16097 )
...
* fix validation with discriminator using parent instead
* add new files
* add new workflow
* fix
2023-07-16 10:24:47 +08:00