Tal Kirshboim
39b8f83e6d
Add Airthings to list of generator users ( #10936 )
2021-11-23 21:01:17 +08:00
Tomáš Čermák
e5159ef8d5
[Protobuf-Schema] Add numbered field number list switch ( #10893 )
...
* [Protobuf-Schema] Add numbered field number list switch
* [Protobuf-Schema] Add numbered field number list switch
* [Protobuf-Schema] Added switch
* [Docs][Protobuf-Schema] Generated docs
Co-authored-by: Tomáš Čermák <cermak@merica.cz>
2021-11-23 10:43:34 +08:00
Jens L
49e9911b3f
[typescript-fetch] fix circular imports being generated ( #10798 )
...
templates based off of #6140 and @ajaska
closes #6140
2021-11-22 13:17:15 -08:00
Tomasz Prus
e9f2ccde67
[Python] Add option to select content-type using body or force it for… ( #10686 )
...
* [Python] Add option to select content-type using body or force it for API call
* Add support for application/json-patch+json
* Add unittests.
2021-11-22 08:41:04 -08:00
Tomáš Čermák
c13067d100
[Protobuf-Schema] Add unknown to enum switch ( #10892 )
...
* [Protobuf-Schema] Add unknown to enum switch
* [Protobuf-Schema] Bugfix: unique unknown by prefix
* [Protobuf-Schema] Add unknown to enum switch
* [Protobuf-Schema] Bugfix: unique unknown by prefix
* [Protobuf-Schema] Bugfix after merge, format file
* [Docs][Protobuf-Schema] Generated docs
Co-authored-by: Tomáš Čermák <cermak@merica.cz>
2021-11-22 21:57:33 +08:00
Felix Winterhalter
c7bd3aa294
fix: Support Netcore 6.0 ( #10634 )
2021-11-22 16:56:57 +08:00
Tomáš Čermák
fdea71b26e
[Protobuf-Schema] Add enum as model support ( #10868 )
...
* [Protobuf-Schema] Add enum as model support
* [Protobuf-Schema] Bugfix: Reverted classname modification
* [Protobuf-Scheme] Mustache newlines update
* [Protobuf-Schema] Renamed addModelEnumIndexes to addEnumIndexes
* [Protobuf-Schema] Add enum as model support
* [Protobuf-Schema] Bugfix: Reverted classname modification
* [Protobuf-Scheme] Mustache newlines update
* [Protobuf-Schema] Renamed addModelEnumIndexes to addEnumIndexes
Co-authored-by: Tomáš Čermák <cermak@merica.cz>
2021-11-22 16:29:09 +08:00
Ian Cubbon
6779c33b9d
[GO][Client] Multipart/form-data Request Support More Than One File ( #10843 )
...
* Instead of limiting a request to a single file when
performing an upload, use a slice of files so an
arbitrary number of files can be used in the form.
* Remove commented out line of code
* Update examples for multi-form file fix for multiple files
* Convert spaces to tabs for indentation
* Updated examples to have tabs instead of spaces
* Add an example of a multipart/form-data OA3 schema
that contains two files to be uploaded
2021-11-22 16:27:43 +08:00
William Cheng
c244c23053
better null comparison ( #10915 )
2021-11-21 23:03:25 +08:00
William Cheng
37a4429024
various enhancements to PSRSAEncryptionProvider ( #10914 )
2021-11-21 14:28:37 +08:00
WILLIAM CHENG
f6001c2768
update samples
2021-11-21 09:50:10 +08:00
WILLIAM CHENG
78fe5dc427
Merge remote-tracking branch 'origin/master' into 5.4.x
2021-11-21 09:43:21 +08:00
Hong Zhuang
606db36c77
Better handling of NPE in parser when referencing invalid schema ( #10882 )
...
* try to catch NullPointerException and print error message
* handles invalid specifications when the spec file is invalid
* added comment
* added null pointer exception test
2021-11-21 09:31:11 +08:00
William Cheng
c69bff2871
update meta codegen junit to latest version ( #10911 )
2021-11-21 09:04:57 +08:00
S2021Git
6848c229f7
[JAVA]Add additional check for openapiDocketConfig in SpringCodegan.java ( #10853 )
...
* updated SpringCodegan
* added test case for SpringCodegen change
* update samples
* updated test Javadoc
2021-11-21 01:35:32 +08:00
Kevin Chen
637fa430d5
[kotlin-spring] add comment to api method ( #10857 )
...
* fix: add api comment
* update sample
* update sample
2021-11-21 01:25:45 +08:00
dependabot[bot]
18d8843cf9
Bump dns-packet from 1.3.1 to 1.3.4 in /website ( #10908 )
...
Bumps [dns-packet](https://github.com/mafintosh/dns-packet ) from 1.3.1 to 1.3.4.
- [Release notes](https://github.com/mafintosh/dns-packet/releases )
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.4 )
---
updated-dependencies:
- dependency-name: dns-packet
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-21 01:15:29 +08:00
dependabot[bot]
6702785cae
Bump ssri from 6.0.1 to 6.0.2 in /website ( #10909 )
...
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
---
updated-dependencies:
- dependency-name: ssri
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-21 01:03:17 +08:00
Tal Kirshboim
eeb00e27d1
[Kotlin][Multiplatform] Fix Kotlin Multiplatform Test ( #10900 )
...
* Fix Kotlin Multiplatform Test
- Remove obsolete 'GRADLE_METADATA' Gradle preview flag from
Kotlin Multiplatform settings.gradle template file.
- Update Kotlin Version to 1.5.31
- Update coroutines, serialization and Ktor versions to the versions
recommended for usage with Kotlin 1.5.31
see https://kotlinlang.org/docs/releases.html#release-details .
Fixes https://github.com/OpenAPITools/openapi-generator/issues/10898
* Add 'clean' task to pom.mustache and reformat sample pom.xml
* Use stable 1.3.0 version of Kotlin serialization
2021-11-20 09:30:26 +08:00
David Horvath
126e406193
[swift5] Cancellable requests ( #10855 )
...
* Implement cancellation of URLSession requests for Combine & RxSwift
resolve #8658
* Add generated sample code
* Add request cancellation for alamofire library and Result configuration
* Add generated sample code
* Add request cancellation for async await configuration
* Add generated sample code
2021-11-18 21:05:18 +08:00
William Cheng
e44c69dab1
fix outdated link, improve docstring ( #10870 )
2021-11-17 11:17:48 +08:00
WILLIAM CHENG
fcb28453e3
update samples
2021-11-16 22:42:47 +08:00
Simon Wegendt
af2ca38ab7
[Kotlin] [OkHttp4] detailed requests ( #10201 )
...
* #10199 : Extract from generated function per operation one that returns headers and other info
* add autogenerated output
* fix suspend generation
* fix return statement generation for coroutine variant
2021-11-16 22:34:26 +08:00
WILLIAM CHENG
3c503dae2a
comment out cpp qt5 tests
2021-11-15 18:13:26 +08:00
William Cheng
3c26f9f2b4
[Okhttp] fix warnings and better docstrings for constructors ( #10859 )
...
* surpress serial warning
* better docstrings in api client java class
2021-11-15 17:49:27 +08:00
William Cheng
c06a21e638
update authentication to include more parameters ( #10858 )
2021-11-15 16:34:27 +08:00
basyskom-dege
f596b32316
[Qt][C++] Oauth2 Authorization Code Flow and Implicit Flow Support. ( #10183 )
...
* Oauth class with reply server for authorization flow
* multiple scopes. Joined with space seperator
* some refactoring, using urls from the spec
* added implicit flow. Refactored oauth classes.
* added missing {{prefix}} to Oauth class
* added client credentials flow
* added password flow. setVariables for each class
* Refactored variables to fit style. Updated Samples
2021-11-14 23:16:29 +08:00
Oleh Kurpiak
e7c3bdacc2
[Java] fix deserialization of readonly properties ( #10113 )
...
* [Java] fix deserialization of readonly properties
* [Java] fix deserialization of readonly properties
* [Java] fix deserialization of readonly properties
* [Java] fix deserialization of readonly properties
2021-11-14 22:05:25 +08:00
Oleh Kurpiak
3bdbf0339a
[Java] deserialize to LinkedHashSet when unique items ( #10241 )
...
* [Java] deserialize to LinkedHashSet when unique items
* [Java] fix deserialization of readonly properties
* [Java] deserialize to LinkedHashSet when unique items
2021-11-14 22:03:02 +08:00
Andrew
d91ff3a150
[GO] dont canonize headers ( #10779 )
...
* [GO]: dont canonize headers
* [GO]: update unit tests
2021-11-14 10:36:49 +08:00
David Horvath
552a31d85c
[swift5] Reuse URLSessions ( #10790 )
...
* Reuse URLSession with same configuration
resolve #8562
* Add typealias for taskDidReceiveChallenge closure type
* Add generated sample code
2021-11-14 10:33:18 +08:00
agilob
65f3845c17
Use parallel classes test over reusing forks ( #10824 )
2021-11-14 10:17:03 +08:00
sheabot
f2fcff2945
[cpp-pistache-server]: Fix build with pistache master branch ( #10829 )
...
* fix(cpp-pistache-server): meson/cmake build
* fix(cpp-pistache-server): Upgrade to C++17 and use std::optional
* feat(cpp-pistache-server): Disable running tests during build of nlohmann/json
* feat(samples): Update server/petstore/cpp-pistache
2021-11-14 10:15:42 +08:00
WILLIAM CHENG
70737fb1e6
update rust samples
2021-11-11 14:30:32 +08:00
Foorack / Max Faxälv
30e1ba7c87
fix(rust, client): fix breaking regression introduced by #10432 ( #10720 )
...
* Fix breaking regression introduced by #10432
This change forgot enum structures, which causes the compiler to throw errors for "the trait `Default` is not implemented for MyEnum".
This change implements the Default trait to the enum template.
* fix: add Default for type enums
2021-11-11 14:26:21 +08:00
WILLIAM CHENG
c9495dc251
update samples
2021-11-11 13:44:15 +08:00
malesh
b0b09b030f
Fix #10802 csharp client multifile compile error ( #10803 )
...
* [csharp] add multifile upload sample
* [csharp] fix #10802 : compile error with multi-file upload
2021-11-11 13:33:35 +08:00
yongmingl
b0fc824d43
Add Qavar to the user list ( #10835 )
2021-11-11 13:15:30 +08:00
Jan Ruhländer
ee011c563e
fix typo (--supporting-files > --feature-set) ( #10801 )
2021-11-09 14:48:18 +08:00
Kevin Chen
7d092e76a1
[Bash] Support post form data ( #10795 )
...
* curl with form data
* fix type
* update bash readme
* typo
* update sample
* add test for form data
* update
2021-11-09 14:43:48 +08:00
Vincent Galloy
955aadc284
10788: ApiClient for resttemplate should not produce warning ( #10789 )
...
Motivation:
Remove useless warnings for webclient and resttemplate
2021-11-09 14:38:57 +08:00
agilob
4d947a1c45
Non functional Java styling changes ( #10808 )
...
* Replace explicit <Type> with <>
* Remove redundant toString() calls on String
* Use StandardCharsets.UTF_8 instead "UTF-8" string
* Simpler annotation format and redundant this
* Dont concat on empty String, use String.valueOf()
* Dont run equals on empty String
* Use string.anyMatch instead counting
* Collection add all instead iterating and adding
* Replace string contact with append chain in stringBuilders
2021-11-09 14:36:01 +08:00
agilob
53d3c9fc70
Fix tpyo prefered -> preferred ( #10807 )
2021-11-09 14:31:01 +08:00
Code1x1
0bb4f186ec
#10056 Fix relative url as basePath ( #10057 )
...
* #10056 Fix relative url as basePath
* Add tests handle relative urls in servers
* PR Task:
* replace tabs with spaces
* can `servers` be null or empty?
* PR Task: fix empty line tab
* Update DefaultGenerator.java
Fix lines change tabs to spaces
* Fix tabs spaces
Co-authored-by: Denis Behrends <d.behrends@hosting.de>
2021-11-06 18:27:26 +01:00
William Cheng
3284fc2f7e
skip spotless as part of the check task ( #10797 )
2021-11-06 18:50:38 +08:00
William Cheng
bd1a6471b6
[java][Jersey2] add spotless maven, gradle plugins ( #10796 )
...
* add bunker-holding logo
* add spotless plugin to jersey2 java client
* add spotless plugin to java jersey2 client
* use jdk11 in gradle tests
* fix gradle test local spec
* setup java 11
* skip spotless in check task
2021-11-06 18:11:58 +08:00
BunkerTsto
84c2b04f24
Added Bunker Holding Group to companies list ( #10794 )
2021-11-06 09:49:42 +08:00
William Cheng
a73363fd53
[java][okhttp] Add spotless maven, gradle plugin ( #10785 )
...
* add spotless maven plugin
* add spotless gradle plug-in
* add spotless version
2021-11-05 17:48:14 +08:00
Hui Yu
369133a03e
[C][Client] Define and initialize non-primitive variables at the beginning of function ( #10756 )
2021-11-05 10:51:57 +08:00
Johannes Becker
40018c333d
Fixed broken form params in typescript-angular client ( #10776 ) ( #10777 )
...
* Fixed broken form params in typescript-angular client (#10776 )
* Added regenerated samples.
2021-11-04 11:31:46 +01:00