Beppe Catanese
58345a9a80
[POSTMAN] Add Samples GitHub workflow ( #17412 )
...
* Add Python tests
* Add workflow to verify Postman samples
* Correct path
2023-12-18 10:52:59 +08:00
William Cheng
809d7151c6
remove auto-generated ruby tests ( #17402 )
2023-12-15 14:47:15 +08:00
dabdirb
e63563a8fc
fix #16889 replace deprecated response code function ( #17405 )
2023-12-15 13:41:14 +08:00
William Cheng
367301de22
deref parameter in normalizer for 3.1 spec ( #17406 )
2023-12-15 12:18:07 +08:00
renaud-twd
a9179e95dd
fix: java apache httpclient should support UTF-8 by default ( #17395 )
...
* fix(java): apache-httpclient serialization error
fixes following related issue:
https://github.com/OpenAPITools/openapi-generator/issues/12797
* docs(java): update samples and docs
2023-12-15 09:01:10 +08:00
Beppe Catanese
0062d1c8da
Do not escape request name ( #17394 )
2023-12-15 09:00:32 +08:00
dependabot[bot]
bc2443ecb0
Bump actions/download-artifact from 3 to 4 ( #17400 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 08:59:24 +08:00
dependabot[bot]
c49701b804
Bump actions/upload-artifact from 3 to 4 ( #17401 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-15 08:59:09 +08:00
Ween Jiann
b7f31ddda4
Regenerate ( #17389 )
2023-12-13 22:17:15 +08:00
William Cheng
56e2c49e07
update doc
2023-12-13 16:13:31 +08:00
William Cheng
734b922381
[scala-akka-client] Scala Akka client does not support arbitrary query string parameters ( #17386 )
...
* Add check for input if is Map type
* Update Pet samples
* Add PetApi support for filter by Pet property
* Clean up
* update samples
* remove manual test
---------
Co-authored-by: ameenhaq <ameenhaq79@gmail.com>
2023-12-13 16:03:48 +08:00
Tiffany Marrel
42f72192ca
add security feature AWSV4Signature to documentation ( #15603 )
2023-12-13 15:07:18 +08:00
hhomar
28b2c75ac8
Fix issue with URI type in the enum ( #17126 )
...
* fix(java): fix URI inner enum for gson
* fix(java): fix URI enum for gson
* fix(java): fix URI enum for microprofile
* fix(java): fix URI import for native enum
* fix(java): add tests for URI enum
2023-12-13 14:19:51 +08:00
rubiniselvaraj
4c4388e3c8
Fix for handling error in resttemplate ( #17381 )
...
* Fix with handling error
* Fix with handling error
2023-12-13 12:56:02 +08:00
William Cheng
64c85a8fee
Fix NPE in codegen security ( #17378 )
...
* fix npe in codegen security
* add new test file
2023-12-12 22:33:20 +08:00
Hui Yu
2a27fd51a7
[C][Client] Use int* as int or bool type function parameter ( #17179 )
2023-12-12 22:11:13 +08:00
rubiniselvaraj
a792a79059
Implementing retry logic to restTemplate ( #17375 )
...
* Implementing retry logic to restTemplate
* Fixing the issue
* Adding import
* Fix
* Fix
* minor update, add tests
* fix
* Adding the maxRetryAttempt, threadWaitTime as additionalProperty
* Updating the apiClient
* Removing reduntant variable
* Generating samples
* Fixing format
---------
Co-authored-by: Rubini <rubini@Rubinis-MacBook-Air.local>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-12 22:01:36 +08:00
Aliaksei
809b3331a9
[4947][java]: adds support for validation of primitives in arrays ( #17165 )
...
* [4947][java]: adds support for validation of primitives in arrays
* [4947][java]: prevents generation '@Valid' for Object
* [4947][java]: test against different codegens and stick to primitive
* [4947][java]: code review
* [4947][java]: enhance getBeanValidation
* [4947][java]: adds email
* [4947][java]: removes unnecessary override
* [4947][java]: adds postProcessResponseWithProperty
* [4947][java]: adds missing import {{javaxPackage}}.validation.Valid
* [4947][java]: adds missing useBeanValidation
* [4947][java]: fix use rootJavaEEPackage for helidon
2023-12-11 20:55:38 +08:00
William Cheng
d4d5196907
Better handling of any type in v3.1 spec ( #17370 )
...
* fix NPE in the example generator
* fix any type in 3.1 spec
* use log error instead
2023-12-11 17:13:55 +08:00
William Cheng
62399b1897
add a test for SecretStr in the python client ( #17364 )
2023-12-11 13:18:36 +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
Stefan Koppier
7f05c1f41d
[kotlin-client] New generator: kotlin-jvm-spring-restclient ( #17366 )
...
* Created kotlin jvm spring restclient
* Fixed kotlin jvm-spring-restclient
* Fixed earlier problems
* Fixed earlier problems
* Updated kotlin.md
2023-12-11 12:49:36 +08:00
Beppe Catanese
9eb5882f94
OpenAPI 3.1.0 Add webhooks support ( #17174 )
...
* Add support for webhooks
* Test webhook generation with Go Gin server
* Generate samples
* Removing \t
* Remove tabs
2023-12-11 11:21:23 +08:00
Csaba Kozák
8bb9a10b9f
[kotlin-client][multiplatform] use shortcut to access jsMain as well ( #17358 )
2023-12-10 15:15:40 +08:00
TAKAHiRO TOMiNAGA
004c7e8c8d
[Style][Go] standardize the format of mustache (tiny change) ( #17363 )
...
* fix: change indent style to tab in the mustache to generate Go code
* docs: standardize the language names for code blocks
* docs: change indent style to tab in the code blocks
* update: regenerate samples
* `./bin/generate-samples.sh ./bin/configs/*.yaml`
2023-12-10 10:13:49 +08:00
William Cheng
10da7a3c5a
[Ruby] add file download tests ( #17362 )
...
* add new ruby echo api clients
* add tests for ruby faraday file download
* add file download test to ruby Typhoeus
* add ruby workflow, add tests for ruby httpx
* update
* fix
2023-12-09 22:05:27 +08:00
William Cheng
dd36fa09f8
update logbak core to newer version ( #17360 )
2023-12-09 21:59:50 +08:00
William Cheng
5daa145d25
check boolean value returned by createFile ( #17359 )
2023-12-09 21:58:53 +08:00
Tomohiko Ozawa
a21e68182a
enable scopes for all security scheme types ( #17083 )
2023-12-09 21:58:01 +08:00
Daniel
583184888f
Ruby Client for Faraday: fix file downloading ( #17333 )
...
* Ruby Client for Faraday: fix file downloading
In MR #16876 , a bug was introduced that causes file downloading to fail
for the Faraday adapter.
This commit fixes the obvious missing parameter for the method
call to download_file() and the missing variable `request` for saving the
response value of the call to build_request().
Signed-off-by: Daniel Schnell <dschnell@grammatek.com>
* Add automatically generated changes.
---------
Signed-off-by: Daniel Schnell <dschnell@grammatek.com>
2023-12-09 10:49:00 +08:00
Omar Osman
351f764746
Fix broken link to csharp-netcore generator ( #17322 )
...
* Fix broken link to csharp-netcore generator
The example source URL of the csharp-netcore generator pointed to the master version of the repo, but the generator has been renamed or removed and the URL is broken. I updated the link to the latest pre 5.0.0 version, since the text talks about pre 5.0.0 version of the openapi generator.
* Update link to point to csharp generator
2023-12-08 22:16:44 +08:00
Erik Booij
95af601586
fix: go-server unresolved function NewstringFromValue for enums ( #17316 )
...
* fix: go-server unresolved function NewstringFromValue for enums
* fix: go-server change isRef to isEnumRef in controller-api template
2023-12-08 22:07:59 +08:00
Dennis Melzer
e37decff7b
Add Java Optional for POJOs in JavaSpring templates ( #17202 )
...
* Add optional parameter for request body
* Adapt Test
* Add test
* Format code
* Remove extra method
* Add optional for pojos
* Add optional for pojos
* Add bean validation for Optional
* Add default values + test
* Rename test
2023-12-08 21:46:13 +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
Gintautas Miselis
c159abfdad
[typescript-axios] Allow enum attribute to be nullable ( #17265 )
...
Fixes #17264
2023-12-08 13:27:33 +01:00
mymx2
e37cf901a8
fix(typescript-axios): use baseURL of (custom) axios instance ( #17296 )
...
Co-authored-by: ddd <ddd>
2023-12-08 13:27:08 +01:00
Leonid Olevskii
3762277206
Use .Content of for accessing response body in powershell ( #17342 )
2023-12-07 22:50:33 +08:00
dependabot[bot]
1b2917d69f
Bump actions/setup-python from 4 to 5 ( #17338 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 11:28:14 +08:00
dependabot[bot]
f593adff18
Bump actions/setup-go from 4 to 5 ( #17337 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-07 11:28:01 +08:00
William Cheng
2c9fbf81a7
add enum name mapping to ada codegen ( #17299 )
2023-12-06 17:50:03 +08:00
Robert Schweizer
6a43a371f1
fix: Configure python urllib3 connection pool size ( #17323 )
...
This was removed in #16802 , but using a higher value than 1,
or at least making this configurable makes complete sense.
Without this, we get a lot of these log messages:
[ WARNING] Connection pool is full, discarding connection:
2023-12-06 15:49:10 +08:00
William Cheng
6230248716
update php samples
2023-12-06 14:56:53 +08:00
Viktor Szépe
33149569a3
Fix PHP constructor docblock ( #17324 )
2023-12-06 14:51:52 +08:00
devhl-labs
0ab9f74cfb
use keyParamName ( #17328 )
2023-12-06 14:49:55 +08:00
Viktor Szépe
39d5b4ebf9
Replace stray TAB characters with spaces ( #17311 )
...
* Replace stray TAB characters with spaces
* update samples
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-12-05 18:01:25 +08:00
William Cheng
391df3b81c
update samples
2023-12-05 15:36:33 +08:00
Viktor Szépe
889c6fe7a1
Fix non-four indents in PHP templates ( #17309 )
2023-12-05 15:27:43 +08:00
Viktor Szépe
0ee662b515
Fix parameter names in Configuration ( #17305 )
2023-12-05 15:26:52 +08:00
dependabot[bot]
d9b795171a
Bump actions/setup-dotnet from 3.2.0 to 4.0.0 ( #17312 )
...
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet ) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/actions/setup-dotnet/releases )
- [Commits](https://github.com/actions/setup-dotnet/compare/v3.2.0...v4.0.0 )
---
updated-dependencies:
- dependency-name: actions/setup-dotnet
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 15:25:54 +08:00
Beppe Catanese
e8e7a210c3
Skip escaping path parameter description ( #17304 )
2023-12-05 15:21:18 +08:00