Bruno Coelho
23de86a434
[kotlin][client] update dependencies ( #8673 )
...
* [kotlin] update pom.xml
* [kotlin] update pom.xml
* [kotlin][client] update dependencies
* [kotlin][client] restore gradle
* [kotlin][client] try to fix CI
* Revert "[kotlin][client] restore gradle"
This reverts commit 20a2947447f5646ca4850304a26bdf76e630a497.
* [kotlin][client] try to fix CI
* [kotlin][client] try to fix CI
* [kotlin][client] try to fix CI
* install gradle
* [kotlin][client] try to fix CI
* [kotlin][client] try to fix CI
* [kotlin][client] disable integration tests
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-02-11 22:32:29 +08:00
Bruno Coelho
7a435ac1bb
[Kotlin][Client] create request config method ( #8617 )
...
* [kotlin][client] create an api method to create the RequestConfig
* [kotlin][client] generate sample projects
* [kotlin] add docs to RequestConfig method
* [kotlin][client] generate sample projects
* [kotlin] improve docs on the RequestConfig method
* [kotlin][client] generate sample projects
2021-02-10 00:13:25 +08:00
William Cheng
71a8e0afda
Add sponsorship message in C generator ( #8649 )
...
* update c generator sponsorship message
* add powerofcreation
2021-02-09 21:49:49 +08:00
Kaijia Feng
df1df5c5df
Minor fix for typescript-nestjs ( #8654 )
2021-02-09 13:42:27 +01:00
Reinhard-PTV
6fdd8ea3da
Fixed serialization of date-time query parameters. ( #8616 )
2021-02-08 23:03:29 +08:00
basyskom-dege
578420cfa9
Finished paramter styling(query,path,header,cookie) ( #8587 )
2021-02-08 20:21:53 +08:00
Reinhard-PTV
df107e2244
Do not use context timezone. ( #8614 )
2021-02-08 19:25:58 +08:00
William Cheng
1bff357958
Fix HTTP Signing authentication in C# .net 5 client ( #8645 )
...
* fix issues with http signing in .net 5
* add new files
* remove comment from yaml
2021-02-08 19:22:09 +08:00
Jamie Gaskins
d4c76df79f
Fix syntax errors and method calls in code generated by Crystal client generator ( #8644 )
...
* Fix string interpolation
* Fix syntax error and s/include\?/includes\?/
* Fix more `.include?` and `.key?` calls
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-02-08 19:02:55 +08:00
Troy P
75b987104b
[JS] the replace statement in parseDate is too greedy ( #8632 ) ( #8633 )
...
* updated the regex used in the String.replace for parseDate() to more precisely target ISO-8601
* added the replace function call to the ES6 mustache file
2021-02-08 13:27:59 +08:00
William Cheng
64097ea139
remove release tag
2021-02-06 20:17:58 +08:00
William Cheng
07a4c7b5bf
fix meta-codegen pom.xml
2021-02-06 17:58:59 +08:00
William Cheng
3e81876e2c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-06 17:52:32 +08:00
William Cheng
c7fcb39a2d
Prepare v5.0.1 release ( #8627 )
...
* release 5.0.1
* update samples
2021-02-06 16:37:22 +08:00
William Cheng
21d7330aea
update samples
2021-02-06 14:55:43 +08:00
Žilvinas Urbonas
90e25f6f4c
[BUG][Python] init access token for python client configuration ( #7469 )
...
* fix: init access token for python client configuration
* fix: remove duplicate initializations for access_token
2021-02-05 13:09:53 -08:00
William Cheng
c33b5a66e7
minor fixes to ts nestjs generator ( #8622 )
2021-02-05 19:45:10 +08:00
William Cheng
e6cee8eb71
Mark java-vertx as deprecated ( #8609 )
...
* mark java-vert as deprecated
* update, clean up samples
* remove entrites related to java-vertx
2021-02-04 16:36:55 +08:00
William Cheng
b7ee885805
[C#][netcore] fix binary response ( #8593 )
...
* fix binary response
* update test file hash
2021-02-04 11:01:44 +08:00
William Cheng
a5ac2ee1a3
remove import as already stated in the installation instruction ( #8608 )
2021-02-04 10:50:43 +08:00
Aanisha Mishra
d869544ce1
[Go][Client] Secret key content string in http signing support ( #8570 )
...
* accept private key content string
* sample update
* Add comments to new methods
* update samples with comments
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>
* Update signing.mustache
* update sample comments
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
* Update modules/openapi-generator/src/main/resources/go/signing.mustache
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
* update empty checks for privateKey
Co-authored-by: Vikrant Balyan <vvb@users.noreply.github.com>
Co-authored-by: Jiri Kuncar <jiri.kuncar@gmail.com>
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2021-02-04 10:33:17 +08:00
William Cheng
d7bdd7f490
Fix TS tests in Travis CI ( #8607 )
...
* remove npm test
* remove npm test
* rearrange tests
* move ts axios tests to circleci
* Revert "move ts axios tests to circleci"
This reverts commit 356f795617d50125c15acc815e68899ff0bd35fa.
* add moduleResolution: node
* update tsconfig.json
* add axios installation
* install builds/with-npm-version
* update samples
2021-02-04 09:17:45 +08:00
Bruno Coelho
45fc02350b
[kotlin] fix Date types usages ( #8594 )
...
* [kotlin] fix Date types usages
2021-02-02 20:55:51 -05:00
Jens Oberender
b78d4fce6a
Upgraded dependency versions in okhttp generator. ( #8604 )
...
Co-authored-by: Jens Oberender <burberius@users.noreply.github.com>
2021-02-02 20:45:09 -05:00
William Cheng
0fdb003e57
update samples
2021-02-02 22:16:35 +08:00
William Cheng
2c457a458e
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-02-02 21:43:53 +08:00
William Cheng
ca225e4827
update samples
2021-02-02 21:15:02 +08:00
William Cheng
5b99d8724c
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-02-02 21:04:15 +08:00
Peter Leibiger
1b440e191c
[dart-dio] Improve API & API-Client field initialization ( #8589 )
2021-02-02 18:46:51 +08:00
Peter Leibiger
769b0e0e38
[feature][dart] Add support for uniqueItems/sets ( #8375 )
...
* [dart][dart-dio] Add support for set types
* copy `uniqueItems` usage from 2.0 fake spec to `3.0`
* add support for sets in parameters, responses and properties
* Regenerate all other samples
* Fix broken tests due to invalid cast
* Update documentation
* Regenerate samples
* update samples
Co-authored-by: William Cheng <wing328hk@gmail.com>
2021-02-02 18:42:45 +08:00
Peter Leibiger
26f21bb6a0
[dart-dio] Add missing isRedirect parameter to response ( #8588 )
2021-02-01 22:29:20 +08:00
William Cheng
19f21acd85
Fix handling of 1xx and 3xx in Rust Reqwest ( #8574 )
...
* Remove redundant Rust use statement
* Return errors only for 4xx and 5xx in Rust reqwest
Since 1xx and 3xx are perfectly valid status codes the client might
need to handle.
see: https://docs.rs/reqwest/0.11.0/reqwest/struct.StatusCode.html#method.is_informational
* Regenerate samples
Co-authored-by: Gabriel Féron <feron.gabriel@gmail.com>
2021-02-01 16:29:01 +08:00
William Cheng
6dee98784a
Fix auto-generated R doc ( #8584 )
...
* fix auto-generated R doc
* better example for enum value
2021-02-01 13:30:31 +08:00
William Cheng
370d0e82f8
update samples
2021-01-31 14:27:46 +08:00
Matthew Dowdell
b4154be8d0
[Rust Server] Add support for Bearer token authentication ( #7840 )
...
* [rust-server] Add support for Bearer auth
- Added bearer auth to the security features for rust server
- Supplemented the basic auth condition in the context template to handled basic auth and bearer auth separately.
- Repurpose an exising sample to confirm the code generation works as expected.
* Update docs
* Update readme for bearer tokens
2021-01-30 12:07:46 +00:00
Richard Whitehouse
4ea4ceb0ff
[Rust Server] Serializable responses ( #8516 )
...
* [Rust Server] Make responses serializable
* Update samples
2021-01-30 11:49:42 +00:00
Richard Whitehouse
c15a4375e2
[Rust Server] Cargo Metadata Configuration ( #8519 )
...
* [Rust Server] Support Cargo Metadata Configuration
This adds support for publish, repository, documentation and homepage metadata.
* [Rust Server] Test Cargo Metadata configuration
2021-01-30 11:49:18 +00:00
Igor Sirotin
328cadb070
[Qt5][C++] Fixed QByteArray::toUtf8 with FILE as request body. Included <stdexcept>. ( #8550 )
...
* Multiple cpp-qt5-client bugfixes.
* Added '#include <stdexcept>' where std::runtime_error is used
* Fixed request with FILE body: QByteArray doesn't have ::toUtf8()
* Updated related samples
* Fixed isByteArray section
* updated docs
* Docs changes reverted
2021-01-30 11:35:52 +08:00
Peter Leibiger
5135967c91
[dart] Fix typo added in 57126a19 ( #8581 )
2021-01-30 11:32:33 +08:00
adpoliak
a4312412fc
[PYTHON] use customized default Configuration() objects if configured by the programmer ( #8500 )
2021-01-29 16:24:10 -08:00
William Cheng
1f8ceb9a1e
update samples
2021-01-29 22:08:32 +08:00
Oleh Kurpiak
f0b9e21b6b
[Java] fix generation for JavaTimeFormatter ( #8348 )
...
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
* [Java] fix generation for JavaTimeFormatter
2021-01-29 11:22:37 +08:00
NANASHI0X74
57126a1900
Add getters for private default Headers and authentications ( #8509 )
...
* add getters for default headermap and auths
* regenerate samples, make shebangs portable
* Revert making shebangs portable
This reverts commit ec60f603598abf0f57dfdb6ca55b4d5c1ee25edf.
Co-authored-by: nanashi0x74 <rian.lindenberger@mpq.se>
2021-01-29 10:58:07 +08:00
Petr Tůma
061552f5d4
[feature][python-flask] Add CORS support to python-flask server ( #8472 )
...
* Add CORS support to python-flask server generator
* Documentation update and CORS support for other generators using the same base class
* Trivial sample changes
2021-01-29 10:54:02 +08:00
Frank Lehmann
64f5dc8077
[swift5] URLSession: Fix memory leak of SessionDelegate ( #8558 )
...
* Remove unused stored reference of delegate. URLSession keeps a strong reference anyway.
* Fix cleanup
* Update samples
2021-01-29 10:52:39 +08:00
Justin Black
2553d056dc
Removes nulltype from python, updates samples ( #8555 )
...
* Removes nulltype from python, updates samples
* Removes nulltype from the python requirements
* Removes nulltype import in models, moves requiredVars to optionalVars when approprieate
2021-01-28 09:30:36 -08:00
William Cheng
a96febaba8
update samples
2021-01-28 17:41:48 +08:00
William Cheng
694b10e41c
Merge remote-tracking branch 'origin/5.1.x' into 6.0.x
2021-01-28 16:47:55 +08:00
William Cheng
f887441591
update samples
2021-01-28 16:47:09 +08:00
William Cheng
d97717ee24
Merge remote-tracking branch 'origin/master' into 5.1.x
2021-01-28 15:52:44 +08:00