419 Commits

Author SHA1 Message Date
devhl-labs
784c700d37
[csharp] Fix property names (#13681)
* build samples

* build samples

* commit java changes

* use var as prefix instead of _ for illegal names

* resolved conflict
2023-05-28 13:50:02 +08:00
devhl-labs
29223e0b81
[csharp-netore][generichost] Renamed ToModel to AsModel (#15662)
* renamed ToModel to AsModel

* build samples again
2023-05-28 11:54:21 +08:00
devhl-labs
9e8805d712
remove-more-null-warnings (#15664) 2023-05-28 11:52:44 +08:00
devhl-labs
0350d0e313
fixed example values (#15666) 2023-05-28 11:51:14 +08:00
devhl-labs
7fc23dd406
fixes a warning (#15661) 2023-05-28 11:20:45 +08:00
devhl-labs
4d52bf656e
[csharp-netcore][generichost] Reduce null warnings (#15656)
* reduced null warnings

* removed null warnings
2023-05-27 12:00:47 +08:00
William Cheng
910e463d50 update C# samples 2023-05-26 08:32:10 +08:00
devhl-labs
db795a2c1a
[csharp-netcore] Removed deprecated package (#15595)
* removed deprecated package

* include the library for older than .net6
2023-05-25 23:37:12 +08:00
William Cheng
1145197fad
Add workflow to tests C# projects with .net 6 (#15629)
* add workflow to tests C# projects with dotnet 6

* trigger build

* fix cmd
2023-05-25 21:06:51 +08:00
devhl-labs
63c26fc794
upgarded test project framework (#15634) 2023-05-25 11:00:38 +08:00
Oscar Rodríguez
2b9677a29e
Adds operation null check avoid null exception (#15599)
* Adds operation null check in the method GetOperationServerUrl to avoid null exception

* Adds operation null check to avoid null exception to the csharp net core mustache

* update C# samples

---------

Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-05-24 17:33:58 +08:00
devhl-labs
5299935c20
[csharp-netcore] Removed .netcore 3.1 (#15605)
* removed .netcore 3.1

* dont use .net standard for test package
2023-05-23 10:39:06 +08:00
devhl-labs
2af661d5b0
used default cancellation token (#15594) 2023-05-22 12:53:18 +08:00
devhl-labs
4a5437968f
added OrDefault method (#15551) 2023-05-18 11:22:44 +08:00
William Cheng
1210229e36 Merge branch 'version-bump' of https://github.com/devhl-labs/openapi-generator 2023-05-16 17:20:52 +08:00
William Cheng
1c56b07634 update c# samples 2023-05-16 14:17:42 +08:00
devhl-labs
25620e7df8
removed extra line break (#15507) 2023-05-16 14:05:53 +08:00
devhl-labs
cc1226c0db
[csharp-netcore] Zero based inner enum sample (#15506)
* added to the sample

* build samples again
2023-05-16 14:05:17 +08:00
devhl-labs
fd20632ba1
[csharp] Changed enums to start from 0 (#15503)
* zero based enums

* changed locale
2023-05-14 16:35:54 +08:00
devhl-labs
977de5b324
moved deserialization to template (#15474) 2023-05-11 16:44:37 +08:00
William Cheng
0c3460f95b Merge remote-tracking branch 'origin/master' into 7.0.x 2023-05-10 15:00:56 +08:00
Tiffany Marrel
f9937e77d6
[csharp C#] cleanup documentation (#15305)
* [C# csharp] fix documentation of API authorization in README files

fix hierarchy level + add internal links + align wording across generators

* [C# csharp] fix anchor links in documentation
2023-05-10 14:11:43 +08:00
William Cheng
3cf646cda8
[csharp-netcore] fix back slash in regex (#15441)
* fix back slash in regex (csharp-netcore)

* undo add pattern test

* update shasum
2023-05-09 13:52:46 +08:00
devhl-labs
7bc10b03d0
[csharp-netcore][generichost] Move deserialization to method (#15454)
* removed extra line break

* moved deserialization to method
2023-05-09 13:47:15 +08:00
devhl-labs
c6b31a3e08
removed extra line break (#15438) 2023-05-08 09:54:34 +08:00
William Cheng
cc620d8ba2
fix incorrect mustache tag (#15424) 2023-05-05 16:15:53 +08:00
William Cheng
7259d812bd
[csharp-netcore] Better handling of oneOf/anyOf with duplicated data type (#15377)
* better handling of oneOf/anyOf with duplicated data type

* update generichost template

* remove newline in eof

* bug fix (#15413)

---------

Co-authored-by: devhl-labs <shawnkanyer@gmail.com>
2023-05-05 14:25:45 +08:00
William Cheng
182240ea1d
[csharp-netcore] Better regular expression (#15378)
* do not escape regular expression in c#

* update samples

* better code format
2023-05-04 18:42:30 +08:00
William Cheng
935146d187 Merge remote-tracking branch 'origin/master' into 7.0.x 2023-04-12 17:51:47 +08:00
devhl-labs
1e2f16ed69
[csharp-netcore] Explicitly implement IValidatableObject (#15160)
* explicit interface implementation

* minor spacing change
2023-04-10 11:20:48 +08:00
devhl
b57d35b744 bumped package versions 2023-04-09 19:27:47 -04:00
devhl-labs
3b11187200
made escaped regex be not literal strings (#15107) 2023-04-04 15:15:14 +08:00
William Cheng
5d1e18306a
Prepare 6.6.0-SNAPSHOT (#15100)
* set 6.6.0 snapshot version

* update samples

* update readme
2023-04-01 18:48:01 +08:00
William Cheng
7417432a54
Prepare 6.5.0 release (#15099)
* 6.5.0 release

* update samples
2023-04-01 15:03:35 +08:00
devhl-labs
c838b1d1f9
made default strings use string literal (#15049) 2023-04-01 10:36:10 +08:00
devhl-labs
ca757b703e
better handling of form parameters (#15040) 2023-03-25 15:08:20 +08:00
William Cheng
88da3649b2
[csharp-netcore] Add option skip generating getter for sub-schemas (#15007)
* add option skip generating getter for sub-schemas

* fix openapi-yaml

* update samples

* update samples
2023-03-21 22:41:29 +08:00
devhl-labs
d24ae6b27a
fixed bug (#15006) 2023-03-21 15:44:10 +08:00
William Cheng
e780d59352
add auto-generated api spec file (#14994) 2023-03-20 16:58:13 +08:00
devhl-labs
02b6248510
moved null checks (#14980) 2023-03-17 15:12:27 +08:00
devhl-labs
9787388f77
removed TryGet from deserialization methods (#14974) 2023-03-16 16:49:21 +08:00
devhl-labs
b6ccf078ef
fixed nrt bug (#14973) 2023-03-16 08:59:12 +08:00
devhl-labs
388147f822
suffixed variables with LocalVar to avoid conflicts (#14958) 2023-03-15 10:58:09 +08:00
devhl-labs
dc1386c134
better deserialization (#14945) 2023-03-14 11:40:40 +08:00
Mathias Dierickx
e52a9fd961
Add missing ConfigureAwaits for csharp-netcore generator (#13664) 2023-03-14 00:29:03 +08:00
devhl-labs
e9fed506b3
used the date format (#14936) 2023-03-13 15:25:29 +08:00
devhl-labs
8785acea7c
added samples for unsigned (#14938) 2023-03-13 15:24:45 +08:00
devhl-labs
3a940c93cc
[csharp-netcore][aspnetcore] Added examples (#14927)
* added examples

* added examples to aspnet
2023-03-12 15:07:54 +08:00
devhl-labs
2b7007b653
[csharp-netcore] Moved formats to separate file (#14894)
* add unsigned integer/long support to c# netcore client

* moved formats to separate file

* moved formats to cli options

* moved formats to cli options

* reverted unintended changes

* reverted unintended changes

---------

Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-03-12 15:05:35 +08:00
Brahim Hadriche
f3960b2116
[v2] (RFC) Csharp netcore generator supports UnityWebRequest library (#14870)
* Base impl

* Improve Unity support

* update samples

* Sync bool property

* Update samples

* Set support file property

* Address comments

* Fix test asmdef

* Fixes for WebGL support

* Add note about Unity version

* Add Unity Sample

---------

Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-03-10 14:17:50 +08:00