devhl-labs
c23560afb9
removed unecessary extension from generichost ( #15870 )
2023-06-25 11:43:16 +08:00
William Cheng
7c67f731bc
Rename csharp-netcore to csharp ( #15903 )
...
* rename csharp-netcore to csharp
* rename file
* renmae modules/openapi-generator/src/main/resources/csharp-netcore
* update samples
* mv dir
* update samples
* rename csharp-netcore to csharp in appveyor.yml
* update doc
2023-06-25 11:08:59 +08:00
William Cheng
af048ec62f
update samples
2023-06-24 08:10:14 +08:00
GregDThomas
5d6b769b5b
Fix issue #907 by ensuring the parameters is properly "exploded" ( #14825 )
2023-06-23 20:11:39 +08:00
devhl-labs
b4eb9a40c6
fixed .net6 packages ( #15902 )
2023-06-23 10:54:29 +08:00
Anton Davydov
9f3d9a5e8f
[swift] New 'swift-combine' client generator for swift ( #15823 )
...
* swift-alt-gen init
* swift-alt-gen in progress
* swift-alt added runtime
* swift-alt added transport
* swift-alt added example
* swift-alt v0.1.0
* swift-alt implemented form encoded body
* swift-alt fixed array of enums to string
* swift-alt v0.2.0
* swift-alt v0.3.0
* swift-alt v0.4.0
* swift-alt v0.5.0
* swift-alt v0.6.0
* swift-alt v0.7.0
* swift-alt v0.8.0
* swift-alt v0.9.0
* swift-alt v0.12.0
* swift-alt v0.13.0
* swift-alt v0.14.0
* swift-alt v0.15.0
* swift-alt v0.16.0
* swift-alt v0.17.0
* swift-alt v0.18.0
* swift-alt v0.19.0 Support for raw value in header
* swift-alt v0.20.0
* swift-alt v0.21.0
* swift-alt v0.22.0
* swift-combine v0.23.0
* swift-combine PR rules adoption
* swift-combine: updated transport
* Updated bitrise.yml file
* Fixed bitrise pipeline for swift-combine
* Fixed code review comment
2023-06-22 09:25:32 +08:00
martin-mfg
7e89e1ea81
fix import mapping for return types ( #14525 ) ( #15719 )
...
* importContainerType = true
* add unit test
* disable MyImportTest
* build all samples, add import exceptions
* simplify code
* delete myImportTest
* generate docs
* extend comment
* remove inline comment
2023-06-21 15:55:29 +08:00
William Cheng
14fc61a293
[java] fix default value - empty list []
( #15862 )
...
* fix empty default value in java okhttp-gson
* add files
2023-06-20 11:27:56 +08:00
devhl-labs
5555137b79
[csharp][generichost] Modernizes handling of composed schemas ( #15865 )
...
* removed hotfixes, improved composed schema handling
* fix copy paste bug
2023-06-17 15:05:08 +08:00
Erik Wegner
389270334a
Rust validation handling ( #15288 )
...
* Prevent JavaScript regex delimiter
* Validation
* validator dependency
* validation with range
* Switch to garde crate for validation
* Update uuid crate
* Examples
* All rust-server samples
* Added rule handling
* Exchange garde for validator crate (rust)
* Version update in samples
---------
Co-authored-by: Erik Wegner <erik.wegner@regiocom.com>
2023-06-16 15:25:27 +08:00
Camille TJHOA
504744a390
[typescript-fetch] fix snakecase discriminator ( #15838 )
...
* [typescript-fetch] fix snakecase discriminator (#7080 )
* [typescript-fetch] add snakecase discriminator test case
2023-06-16 07:26:30 +02:00
Max Strübing
730b946537
[Bug] fix: use length to check for default return media type ( #15833 )
...
* fix: use length to check for default return media type
as `mediaTypes` is an array of strings and an required argument
it will never be undefined when we can rely on the typesystem.
However, it can be zero length(`[]`) and in this case we would
throw.
* Closes #15011
* chore: update examples
2023-06-16 07:23:58 +02:00
devhl-labs
03cef639e4
Added option to opt out of default logging for individual methods ( #15850 )
...
* added option
* moved the xml annotation
* build samples
2023-06-16 11:06:23 +08:00
Tiffany Marrel
0e212f53f2
[Java] [Kotlin] ignore unsupported schemes instead of throwing exception ( #15817 )
2023-06-15 16:50:49 +08:00
devhl-labs
882b9a8c50
[abstract-csharp] Process all operation parameter collections ( #15841 )
...
* added new vendor extenion
* moved code to methods to enable overriding
* fixed tests
* renamed method to setTypeMapping
* removed commented code
* moved code to make diff easier to understand
* removed commented code
* process all operation parameter collections
* fixed bugs
* fixed bugs
2023-06-15 15:54:04 +08:00
Ghufran Zahidi
9fe5cc0b01
[csharp-netcore] Configure the API key in string format for HttpSigningConfiguration ( #15818 )
...
* added property in HttpSIgningConfiguration to accept API key in string format.
* remove trailing space, update samples
* updated the sample code.
* Revert "updated the sample code."
This reverts commit 5b945c7a59ef03782dc5f48d97784894d6b41614.
* fix the sample code compilation error for split function.
* updated the sample code after the split function fix.
* Removed the either or check for filePath or KeyString.
---------
Co-authored-by: Aanisha Mishra <aanisha.mishra05@gmail.com>
Co-authored-by: Vikrant Balyan (vvb) <vvb@cisco.com>
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com>
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-06-13 21:49:33 +08:00
William Cheng
37d8a0d3ff
Add java-webclient gradle test ( #15837 )
...
* add gradle test for webclient swagger2 annotation
* trigger build
2023-06-13 21:32:40 +08:00
Frederic Jones
43b1ce2c89
Fix typo on swagger2 dependency ( #15826 )
2023-06-13 21:02:58 +08:00
William Cheng
d2e10a7229
install urllib3 < 2.1.0 ( #15810 )
2023-06-12 15:58:51 +08:00
Bruno Medeiros
ca80fcd03e
fix(ktor-client): do not add jsonBlock if using kotlinx-serialization ( #15793 )
...
* fix(ktor-client): do not add jsonBlock if using kotlinx-serialization
* update existing templates
* add new kotlin-jvm-ktor-kotlinx_serialization
* add new kotlin-jvm-ktor-kotlinx_serialization to samples-kotlin-client.yaml pipeline
actually, kotlin-jvm-ktor-gson was duplicated, so I'm replacing the second one by kotlin-jvm-ktor-kotlinx_serialization
* extra FILES entry in the template
* enumUnknownDefaultCase=false for now since it's currently broken for ktor + kotlinx_serialization
* use openapi 3 petstore
2023-06-11 20:45:20 +08:00
devhl-labs
9b305318b4
[abstract-csharp] Begin removing netcore references ( #15805 )
...
* find and replace CSharpNetCoreClientCodegen
* find and replace CsharpNetcoreFunctionsServerCodegen
* find and replace CSharpNetCoreReducedClientCodegen
* find and replace AspNetCoreServerCodegen
* renamed generators
* find and replace CSharpNetCoreClientCodegenTest
* find and replace CSharpNetCoreClientDeepObjectTest
* find and replace CsharpNetcoreFunctionsServerCodegenTest
* git mv files
* find and replace CsharpFunctionsServerCodegenTest
* find and replace CsharpModelEnumTest
* git mv CsharpModelEnumTest.java
2023-06-11 17:06:12 +08:00
William Cheng
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
William Cheng
21748e024a
add py.typed ( #15804 )
2023-06-10 21:48:54 +08:00
Beppe Catanese
f240ed4e4e
[Go] Serialize readonly fields ( #15765 )
...
* Do not skip readOnly fields in ToMap()
* Regenerate sample
* Add test
* Correct test
2023-06-10 19:23:52 +08:00
William Cheng
1fb0ab997f
[Python] fix access_token set to None when constructing Configuration object ( #15802 )
...
* clean up files
* add tests for access_token
* fix bug with access_token
* update test method name
2023-06-10 19:22:02 +08:00
gyoganathan
fc474eab5f
Added BadRequestException as a subclass in python ( #15722 )
...
Co-authored-by: Gomathi Yoganathan <gyoganathan@C02G45FPMD6R.corp.proofpoint.com>
2023-06-10 15:27:18 +08:00
devhl-labs
acc8274528
minor spacing change ( #15801 )
2023-06-10 13:53:46 +08:00
William Cheng
5a7be59967
Update bitrise.io config ( #15789 )
...
* update bitrise.io
* fix build
* avoid using mvn
* remove mvn
* update
* skip
* [swift5][client] fix CI issue cyclic dependency
* trigger build
* comment out vapour
* alarmfire
---------
Co-authored-by: Bruno Coelho <4brunu@gmail.com>
2023-06-09 20:38:27 +08:00
martin-mfg
02790f987e
always use @JacksonXmlElementWrapper and read xml data from referenced schema, updated ( #15115 )
...
* always use @JacksonXmlElementWrapper and read xml data from referenced schema
based on https://github.com/OpenAPITools/openapi-generator/pull/5371
* run generate-samples.sh
* suggestion: remove comment with empty name
2023-06-09 09:19:42 +08:00
James Wynn
d27fa00cf5
fix : #1466 additionalProperties works now in spring generator ( #11572 ) ( fix #1466 )
...
* fix : #1466 additionalProperties works now in spring generator
* chore: chore: #1466 solved rebase conflicts
* 1466; updated samples
* [Spring] update additionalProperties MR
* [Spring] additionalProperties unit test
---------
Co-authored-by: Your Name <benfonty@gmail.com>
Co-authored-by: Oleh Kurpiak <oleh.kurpiak@gmail.com>
2023-06-08 16:38:53 +03:00
martin-mfg
b7f2b723aa
[JAVA] fix toUrlQueryString for BigDecimal ( #15764 )
...
* add MyImportTest.java
* fix original issue
* fix same issue for native library
* remove MyImportTest
* add test configs
* generate samples (again?)
* generate samples again
* generate samples again, undo pom.xml mistake [amended to retrigger circliCi]
2023-06-08 09:34:06 +08:00
Frederic Jones
59ba00e1f3
Add support for swagger2 in [java] client generators ( #15456 )
...
* Add support for swagger2 in java client generator
* Target 7.x.x
* Upstream changes
2023-06-06 15:41:12 +08:00
devhl-labs
e439476e16
removed inheritence ( #15767 )
2023-06-06 10:36:59 +08:00
karzang
bc7bdca87f
support nullable check for OAS 3.1 ( #15698 )
2023-06-05 19:34:51 +08:00
devhl-labs
db3ef134b8
used partial methods for logging ( #15749 )
2023-06-05 14:08:56 +08:00
devhl-labs
4604bf016f
fixed casing ( #15748 )
2023-06-05 14:06:54 +08:00
devhl-labs
e06e2cce69
fixed more warnings and spacing issues ( #15743 )
2023-06-04 16:13:52 +08:00
devhl-labs
e5531c1135
improved spacing ( #15741 )
2023-06-04 16:12:37 +08:00
devhl-labs
0943e5063a
[csharp-netcore][generichost] Improved spacing ( #15740 )
...
* improved spacing
* addressed comment
2023-06-03 20:05:08 +08:00
devhl-labs
2db7b0b177
removed more more warnings ( #15737 )
2023-06-03 10:51:13 +08:00
William Cheng
421bcd1787
Decommission csharp
client generator ( #15708 )
...
* remove csharp client generator
* update samples/docs
2023-06-02 20:42:29 +08:00
stephanpelikan
0d4e399718
Do JSON serialization only if requested by mime-type ( #13456 ) ( #15676 )
...
* Do JSON serialization only if requested by mime-type (#13456 )
* Refactoring based on feedback to PR (#13456 )
2023-06-01 19:53:24 +02:00
stephanpelikan
3943e97e14
Introduce option 'importFileExtension' to typescript-fetch ( #15439 ) ( #15440 )
2023-06-01 08:49:07 +02:00
Tiffany Marrel
c2f635a330
fix use of isBasic and isBasicBasic and isBasicBearer and isHttpSignature in documentation ( #15443 )
...
* [ada] fix use of isBasic condition
* [apex] fix use of isBasic condition
* [asciidoc] fix use of isBasic condition
* [python] fix use of isBasic condition
* [csharp C#] fix use of isBasic condition
* [htmlDocs] fix use of isBasic condition
* [Ruby] fix use of isBasic condition
* [scala] fix use of isBasic condition
* [julia] fix use of isBasic condition
* [Objective-C objc] fix use of isBasic condition
* [GraphQL] fix use of isBasic condition
* [MarkDown] fix use of isBasic condition
2023-06-01 09:47:00 +08:00
devhl-labs
f769070fa3
removed warnings ( #15706 )
2023-06-01 09:32:21 +08:00
William Cheng
63a311a2e6
update go samples
2023-06-01 09:09:00 +08:00
devhl-labs
1e1e786a72
created partial method to format arguments ( #15677 )
2023-05-31 00:35:50 +08:00
devhl-labs
d7d57e2ea3
fixed null reference exception ( #15680 )
2023-05-31 00:10:39 +08:00
William Cheng
10c270fda6
fix date isinstance check ( #15675 )
2023-05-31 00:03:14 +08:00
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