William Cheng
a5d463d90f
made the HttpSigning method public to get the signed header. ( #18496 )
...
Co-authored-by: Ghufran Zahidi <18732053+Ghufz@users.noreply.github.com >
2024-04-25 16:08:57 +08:00
William Cheng
1bb4d42216
update readme, format code (php flight) ( #18492 )
...
* update readme, format code (php flight)
* add flight to the list
* update samples
2024-04-25 10:58:11 +08:00
Elric Milon
d7b808e2e9
[Rust] Add support for base64-encoded byte arrays ( #18469 )
...
Co-authored-by: Elric Milon <whirm@gmx.com >
2024-04-25 10:26:34 +08:00
Aaron Pritzlaff
efb7e5624d
Cask version fix ( #18486 )
...
* using artefact version in build
* using artefact version in build
* cask knows how to honour artifact versions
2024-04-24 23:50:14 +08:00
Aaron Pritzlaff
4dc8531a67
fix for the artefact names in scala cask ( #18480 )
...
* fix for the artefact names in scala cask
* updated the sample
2024-04-24 18:50:00 +08:00
William Cheng
59ba346306
update samples
2024-04-24 15:34:02 +08:00
Amin Yahyaabadi
7036b99e91
[cpp-restsdk] add support for AnyType ( #18463 )
...
* [cpp-restsdk] add support for AnyType
* [cpp-restsdk] fix the AnyType header generation path
2024-04-24 13:44:21 +08:00
William Cheng
1d67d0632d
update samples
2024-04-23 21:32:52 +08:00
Even André Fiskvik
99b5fe9f9c
[typescript-angular] Add support for marking model properties with @deprecated ( #18417 )
...
* [typescript-angular] Add support for marking model properties with @deprecated
* Add generated samples
* Only add comment if description or deprecated is set. And split description/deprecated on two lines if both are set.
* Update samples with generated output
* Fix indention
* Update samples
* Remove whitespace
* Update samples
2024-04-22 15:24:24 +02:00
Mike Welsh
a724c754bc
Add ResumableTask to URLSessionImplementations.mustache ( #18438 )
...
* Add `ResumableTask` to `URLSessionImplementations.mustache`
- Makes it testable
- Implementations can return something _other_ than a URLSessionDataTask if they want to implement another request format (sockets maybe?)
- Default implementation for `URLSession` provided
* Regenerate examples
* Add more properties and rename to `CancelableResumableTask`
* Regen samples
* Rename missed reference
* Missed some generated classes somehow
* Rename from `CancellableResumableTask` to `URLSessionDataTaskProtocol`
Rename from `resumableTask` to `dataTaskFromProtocol`
---------
Co-authored-by: welshm-ideogram <welsh@Mikes-MacBook-Pro.local >
2024-04-22 13:51:12 +01:00
William Cheng
cbf52aefe4
update samples
2024-04-22 19:44:21 +08:00
Esteban Gehring
36911c773e
Revert "Fix: Incorrect serialisation of maps and sets in typescript-axios (#1…" ( #18452 )
...
This reverts commit 815205250a .
2024-04-22 08:47:10 +02:00
Archit Mathur
c64d569a7d
[typescript-nestjs] Accept async function for fetching access token ( #18190 )
...
* feat: starts accepting async function for fetching access token in typescript-nestjs
* fix: adds Provider in the import to fix build error
* chore: deletes package lock
* chore: deletes package lock for v6
* fix: switches to switchMap for map
2024-04-22 08:34:02 +02:00
martin-mfg
73bca68fea
add example for UserDefinedTemplates ( #18423 )
2024-04-22 10:46:15 +08:00
Daniel Schreiber
2217a7b0f2
feat: simple/experimental generator for flight-php server framework ( #18406 )
...
* feat: simple/experimental generator for flight-php server framework
* fix: update php-flight samples and add php-flight to integration tests
* feat: adding path to method doc
2024-04-21 23:56:59 +08:00
devhl-labs
6568bc54a5
[csharp] Fixed nullability of composed schemas ( #18408 )
...
* fixed nullability
* minor refactor to address a comment
2024-04-21 23:47:43 +08:00
William Cheng
c8e835cac7
update x/net to newer version in go generators ( #18447 )
2024-04-21 22:01:20 +08:00
Aaron Pritzlaff
93f4323364
Taught Scala-cask to publish JS model files ( #18413 )
...
* Taught Scala-cask to publish JS model files
* cask fix for generated FILES
2024-04-20 18:23:09 +08:00
William Cheng
807250a430
Prepare 7.6.0 ( #18412 )
...
* Revert "v7.5.0 release"
This reverts commit 1eafe2aebf .
* update master to v7.6.0 snapshot
* update readme
* update samples
2024-04-17 19:05:37 +08:00
William Cheng
dd97def5fa
update undertow to newer version ( #18409 )
2024-04-17 11:29:06 +08:00
lizzyTheLizard
213564a5aa
#18388 : Add Mutiny support to JaxRS ( #18389 )
...
* #18388 : Add Mutiny support to JaxRS
* Updated samples
* Updated doccs
* Updated example to 3_0
* Updated sample
2024-04-17 11:20:39 +08:00
devhl-labs
7b0f963c74
[csharp][generichost] Delete samples ( #18323 )
...
* delete samples
* rebuild samples
* test to see if the pr gate fails
* make the samples generate twice
* pr gate successfully failed
* minor cleanup
* minor cleanup
2024-04-16 15:10:19 +08:00
devhl-labs
c109399f3f
fixed property naming convention for composed types ( #18312 )
2024-04-16 15:09:15 +08:00
William Cheng
81f576c9da
update dnspython to a newer version ( #18376 )
2024-04-13 10:52:43 +08:00
Daniel Metzner
8155d03c38
Allow Symfony 7 / Remove EOL PHP / Bearer Fix ( #18357 )
...
Bump requirements
- add Symfony 7 support
- remove support php < 8.2 (EOL)
- remove symfony < 6.4 support
Bug Fix
- add missing $security{{name}} variable when using Bearer Auth
Misc
- getContentType method is deprecated; use getContentTypeFormat
- use match instead of switch for simple assignments
- remove default depth param from json_encode call
- make data provider static (phpunit)
2024-04-13 10:46:47 +08:00
William Cheng
4cde53c3d7
update idna to newer version (fastapi) ( #18372 )
2024-04-13 09:37:08 +08:00
Aaron Pritzlaff
24c1968002
cask fix for response encoding ( #18375 )
2024-04-13 09:34:08 +08:00
William Cheng
359ff9e457
update html2 sample
2024-04-13 01:07:27 +08:00
Kathryn DiPippo
0b3e6edb98
[python] Update docs/ Markdown files for Classes to fix _form_ typo and correct casing for class name when calling from_dict() ( #18359 )
...
* Update Python mustache templates to fix _form_ typo and correct casing for class name when calling from_dict()
* Results of 'build the project' checklist step
2024-04-12 12:29:20 +08:00
Linh Tran Tuan
65e74a354d
[Rust] [Axum] Revert PR #18061 ( #18354 )
2024-04-11 21:58:21 +08:00
Viktor Szépe
172c4d11b4
Remove param tag for non-existent parameter in ObjectSerializer ( #18347 )
...
* Remove param tag for non-existent parameter in ObjectSerializer
* Remove all discriminator parameters
2024-04-11 13:17:15 +08:00
Mike Friesen
97c1dc8a1a
#18252 - [REQ] add sessionToken support to AWS4Auth ( #18253 )
2024-04-11 11:56:40 +08:00
Bijan Chokoufe Nejad
44ae981830
Update versions for typescript-node and remove vulnerable test package ( #18334 )
...
* Update versions for typescript-node
Use latest versions for `bluebird` and `request` and remove `rewire`. `rewire` has high security alerts and shouldn't have been added to the generated clients as its used in tests. It was introduced here 960412a9b4 (diff-1df884eca4890fc2cff7eec6f61ac2157b1b9e72fe4cc13c782e300125fb0da3R20) although the same commit shows that it used to work without it 960412a9b4 (diff-d2785da28187b6d6ef1e0bdab42139309e443906fb5d9d365fce5e2a01673ef5R52-R56)
* Update Typescript sample
2024-04-11 10:45:41 +08:00
Beppe Catanese
a887f6d4bf
Add test for CI suite ( #18350 )
2024-04-10 23:49:34 +08:00
BaptisteSaves
6bcc28d06e
Python: Correctly serialize enum with its value ( #18327 ) ( #18328 )
2024-04-10 21:12:37 +08:00
William Cheng
2bfc5a3958
[Scala] added new scala-cask generator for the cask framework ( #18344 )
...
* Ran `./new.sh -n scala-cask -s` to generate a new Scala Cask impl
* removed scala-cask-petstore
* Added Scala-cask param parser for BigDecimals
* added scala cask to samples
* splitting out validation and json
* Added GitHub workflow support
* regenerated cask samples
* cask build fix for local builds
* regenerated samples
* trying to reproduce failed cask build. checking in compiles sources, which have been reformatted
* reverted whaitespace change
* cask fix - adding gitignored files
* scala cask toLowreCase fix
* scala cask toUpperCase fix
* cask regenerated samples
* improved exception handling for scala cask
* File separator fix for windows
* Noob fix for cask
* regenerated api package
* Removed environment variable settings, debug code
* Updated samples
* moved scala-cask output
* Regenerated samples
* scala cask fix
* Updated scala cask settings for more typical package structure
Removed cask client samples
* cask - reran generate samples
* Removed duplicate ScalaCaskServer entry
* minor enhancements
* update samples
* update templates
---------
Co-authored-by: aaron.pritzlaff <aaron@kindservices.co.uk >
2024-04-10 18:49:59 +08:00
William Cheng
ef36ea410e
Fix method naming for openapi normalzier, openapi ignore list option ( #18348 )
...
* fix openapi normalizer naming issue in config
* update openapi generator ignore list setting
* update
* fix
* update sample config
* update doc
2024-04-10 17:09:48 +08:00
William Cheng
eb506ee776
[java][native] use type reference instead to fix compilation issue in JDK11 ( #18346 )
...
* use type reference instead to fix compilation issue in jdk11
* fix
2024-04-10 11:29:51 +08:00
William Cheng
a651376b18
fix java native compilation errors
2024-04-10 02:57:41 +08:00
William Cheng
abfeb6e035
Merge branch 'master' of https://github.com/openapitools/openapi-generator
2024-04-10 02:33:15 +08:00
William Cheng
edd91063b4
hide generation timestamp in java microprofile samples
2024-04-10 02:33:01 +08:00
Ege Sucu
1a06e3e0fb
[swift] Added solution for deprecated "UTTypeCopyPreferredTagWithClass" ( #18330 )
...
* Added solution for deprecated "UTTypeCopyPreferredTagWithClass"
UTTypeCopyPreferredTagWithClass is deprecated with iOS 15, so apps targeting iOS 15+ were getting this warning on any auto-generated code. This solution will solve that warning and works both iOS 15 and below.
* Project built
* macOS Related fixes applied
2024-04-09 18:20:48 +01:00
William Cheng
d6749f8a0e
update samples
2024-04-09 20:49:23 +08:00
Joakim Holm
3cb3fc2898
Add Generated annotations to more classes ( #17736 )
2024-04-09 16:39:53 +08:00
William Cheng
83b45fd1e8
[java][okhttp-gson] Fix oneof, anyof for array type ( #18324 )
...
* fix oneof, anyof for array type in java okhttp-gson
* fix oneof
* fix add tests
* clean up comments
* update
* add new files
2024-04-08 22:20:23 +08:00
Zishun (Zack) Wei
453facc81c
Fix 18271: Circular imports on AllOf generation with REFACTOR_ALLOF_WITH_PROPERTIES_ONLY=True ( #18272 )
...
* fix issue 18271
* the same update for python-pydantic-v1
* add test
* update samples
* update samples
* put properties under allOf for python client tests
* update samples
* add a test in test model
2024-04-08 19:01:01 +08:00
devhl-labs
79fe176ef2
fixed operation parameter handling ( #18322 )
2024-04-08 10:15:31 +08:00
William Cheng
494d74ab82
remove duplicated ( #18320 )
2024-04-07 22:25:03 +08:00
condorcorde
fbc8616a06
Fix #17740 (multipart/form-data request) and proxy behaviour ( #18315 )
...
* Support multipart requests
* Further code optimization
* Update ApiClient.ps1
* Set $Multipart
* Corrections after petstore tests
* Update api_client.mustache
* Update api_client.nustache
* Update api_client.mustache
* Tabs removed
2024-04-07 21:42:19 +08:00
Viswajith Venugopal
650e119f22
Update go-server template to include the conventional generated code line ( #18304 )
...
* Update go-server template to include the conventional generated code line
Follow the convention from https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source .
The generated go client code already follows this: f357be480e/modules/openapi-generator/src/main/resources/go/partial_header.mustache (L18)
* gen files
* Move to top
2024-04-07 21:23:24 +08:00