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
martin-mfg
64f2cad9e8
fix #17258 - use model class only if it is generated ( #17490 )
...
* fix #16797 and #15796 spring child constructor missing parent params
* root cause and update the DefaultCodegen.java to add missing property when with multi inheritance
* rollback SpringCodegen.java
* update samples
* rollback with master cause #16992 fixed this issue too
* still using orignal design
* catchup master
* catchup master
* catchup master
* fix
* add tests
---------
Co-authored-by: dabdirb <dabdirb@gmail.com>
2024-01-05 10:30:28 +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
Maciej Lewiński
51c8be3f8c
[csharp][generichost] Handle obsolete params and methods ( #17344 )
...
* [csharp][generichost] Handle obsolete params and methods
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-11 13:17:26 +08:00
Vladislav Bauer
62462354ca
[csharp] Support 420 HTTP code ( #17207 )
...
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
* [csharp] Support 420 HTTP code
2023-12-08 21:35:03 +08:00
devhl-labs
0ab9f74cfb
use keyParamName ( #17328 )
2023-12-06 14:49:55 +08:00
devhl-labs
2967b33ab6
[csharp][generichost] Added enum for api key names ( #17295 )
...
* added enum
* added enum
2023-12-04 10:44:12 +08:00
devhl-labs
fb429f7e94
[csharp][generichost] Do not assume api keys are interchangeable ( #17185 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
* allow multiple headers to have api keys
* removed commneted code
* fixed all but standard
* fixed standard
2023-11-28 10:54:34 +08:00
devhl-labs
4f82071502
[csharp][generichost] Honor the Set-Cookie header ( #17186 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
* allow multiple headers to have api keys
* remove changes for another pr
* resolved conflicts, build samples
* fixed a casing issue
* fixed casing issue
2023-11-27 11:01:05 +08:00
devhl-labs
3fa21b5603
do not inherit additional properties ( #17140 )
2023-11-26 21:49:00 +08:00
devhl-labs
ad95d551ed
[csharp][generichost] Allow multiple auth methods of same type ( #17129 )
...
* allow multiple auth methods of same type
* allow multiple auth methods of same type
2023-11-26 21:46:48 +08:00
devhl-labs
8bea7f7377
handled nullable inner enums better ( #17128 )
2023-11-26 21:45:25 +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
devhl-labs
7e529926a6
[csharp][generichost] Implement not required nullable properties ( #16810 )
...
* init
* fixed read and write
* completed changes using latest-nrt sample
* fixed all samples
* add null check on write, change on exception
* resolved conflicts
* build samples
* added backing property for not required properties
* more not required and nullable hanlding improvements
* revert sample updates for a merge master
* revert sample updates for a merge master
* sample build is working, need to remove warnings
* fixed warnings in .net 7 with nrt
* fixed manual tests
* fixed all samples
* fix npe
* removed debugging lines
* revert changes to unused file
* removed unused lambdas
* fix a serialization bug
* make option a hidden property
* updated documentation
* improved parameter ordering
2023-11-13 10:16:35 +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
3422ef1e64
update C# samples
2023-10-30 12:13:15 +08:00
Kasper Rune Søgaard
1fc0cec75f
[CSHARP] Added support for nullable Enums in the ToJsonValue method ( #16801 )
...
* Fixed C# nullabled enums and attribute reusage for generichost
* Samples
2023-10-15 09:59:22 +08:00
devhl-labs
2cfce7cd2d
version bump ( #16657 )
2023-10-11 16:16:06 +08:00
devhl-labs
bd1caf69cb
[csharp][generichost] Handle all responses ( #16635 )
...
* handle all responses
* update the readme
* build samples
2023-10-01 23:28:14 +08:00
martin-mfg
2ca99bdf8e
use model class for request body with additionalProperties ( #16613 )
...
* try out simple fix
* add test case
* generate samples
2023-09-23 13:07:53 +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
devhl-labs
b59719a6ea
[csharp][generichost] Minor formatting changes ( #16482 )
...
* started source generator
* copy the options
* fixed visibility
* added new sample
* discarded changes to existing samples
* discarded changes to existing samples
* build new sample
* changed package name due to file path length limit
* reverted changes to manual tests
* fixed all new manual tests
* inject contexts into api
* only one JsonConstructor
* fixed spacing
* revert samples for easier merge master
* revert unnecessary change
* fixed formatting
* build samples
* reverting unintended commit
* fixing default value
* reverting unintended commit
* move minor formatting changes to different pr
2023-09-03 16:20:12 +08:00
devhl-labs
dad677f63d
[csharp][generichost] Remove unnecessary json options ( #16483 )
...
* started source generator
* copy the options
* fixed visibility
* added new sample
* discarded changes to existing samples
* discarded changes to existing samples
* build new sample
* changed package name due to file path length limit
* reverted changes to manual tests
* fixed all new manual tests
* inject contexts into api
* only one JsonConstructor
* fixed spacing
* revert samples for easier merge master
* revert unnecessary change
* fixed formatting
* build samples
* reverting unintended commit
* fixing default value
* reverting unintended commit
* removed unnecessary json option
2023-09-03 16:19:23 +08:00
devhl-labs
c0abeceb85
[csharp] Fixed enum values with whitespace ( #16316 )
...
* fixed enum values
* build samples
* build samples
* revert samples for easier merge master
* fixed while not changing other generators
* changed logging
* minor change
2023-09-01 10:11:11 +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
Kevin B
646ec8ba41
Fixing spelling of circiut => circuit ( #16381 )
2023-08-23 10:41:05 +08:00
devhl-labs
a600ef0ded
only one JsonConstructor ( #16361 )
2023-08-20 22:49:40 +08:00
William Cheng
e1b1b7d0c7
[csharp] JsonConverter.mustache - fix propertyName variable conflict ( #16356 )
...
* JsonConverter.mustache - Obfuscate "propertyName" variable to rare name "__jsonPropertyName__" to avoid conflict with generated variables
obfuscate "propertyName" variable, fixes issue if #allVars contains a variable named "propertyName" conflicting with the declared variable
* prefix local variable with localVar
* remove eol
* minor fix
* update
---------
Co-authored-by: SDP190 <sprizant1@gmail.com>
2023-08-19 23:33:05 +08:00
devhl-labs
76bb8a40d8
[csharp] Fixed model property data type ( #16315 )
...
* fixed model property data type
* build samples
2023-08-15 09:57:00 +08:00
devhl-labs
ef9520f989
[csharp] Fixed operation nested return type ( #16314 )
...
* fixed operation nested return type
* more robust fix
2023-08-14 13:07:36 +08:00
devhl-labs
de8f846666
[csharp] Improved regex support ( #16269 )
...
* improved regex support
* better parsing of options
* better handling of options
* spacing change
* typo
* rename the x-modifier- extension
* trivial change
* added to the sample
2023-08-08 11:40:20 +08:00
William Cheng
f6fb83878b
[Default] update isAdditionalPropertiesTrue tag to cover more types ( #16227 )
...
* enhance additional properties support
* update samples
* update tests
* add more tests
* update samples
* fix samples
2023-08-05 13:32:43 +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
William Cheng
b7e7314d8e
[C#] minor refactoring ( #16084 )
...
* escape keyword in toParamName (abstract C#)
* remove x-is-json (not used)
2023-07-14 00:36:57 +08:00
devhl-labs
16c149a91e
fixed bug in http signing config ( #16040 )
2023-07-13 08:27:55 +08:00
devhl-labs
3678085017
removed warnings ( #16039 )
2023-07-13 08:27:21 +08:00
devhl-labs
ceb48d3af4
removed IApi namespace ( #16058 )
2023-07-11 14:01:45 +08:00
devhl-labs
9362b49173
added event for errors ( #16057 )
2023-07-11 10:54:29 +08:00
devhl-labs
fe78be405e
[csharp][generichost] Added event on http response to facilitate server health tracking ( #16046 )
...
* added event on http response to facility server health tracking
* renamed a file
* handled the renamed file
2023-07-10 16:10:04 +08:00
William Cheng
f0084b39ac
update samples
2023-07-09 22:39:00 +08:00
Emanuele Saccomandi
9baf4988f3
Zapier generator ( #15997 )
...
* First version of Zapier Generator
* fixed zapier codegen
* added zapier templates
* added zapier sample
* added zapier doc
* added zapier generator form data management
* added samples generation
* updated docs
* fixed zapier api template
* fixed zapier samples export
* added zapier readme template
* fixed zapier readme template
* added petstore readme
* cleaned zapier generator
* updated samples
* fixed zapier enum label
* cleaned code
* updated samples
* improved zapier search actions
* updated samples
---------
Co-authored-by: Mauro Valota <maurovalota@fattureincloud.it>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-07-09 21:52:04 +08:00
devhl-labs
f63ef71432
version bump ( #16038 )
2023-07-09 10:27:34 +08:00
devhl-labs
1d470c3866
fixed nre ( #16036 )
2023-07-09 10:25:31 +08:00
William Cheng
a5f1c01548
update samples
2023-07-07 11:28:20 +08:00
Beppe Catanese
315fbff680
[BUG] Change default value for header parameter ( #15990 )
...
* Override toDefaultValue method
* Regenerate sample
2023-07-07 10:58:24 +08:00
devhl-labs
8d625986c6
used list instead of set ( #16015 )
2023-07-06 11:33:01 +08:00
William Cheng
b465d88880
update samples
2023-07-04 00:29:06 +08:00
devhl-labs
00fcaa15c0
[csharp][generichost] Add Option struct to enable better validation ( #15977 )
...
* add Option struct to enable better validation
* use kebab case
2023-07-03 14:40:24 +08:00
devhl-labs
179d0bcb9c
added value converter class ( #15970 )
2023-07-02 10:07:27 +08:00