9829 Commits

Author SHA1 Message Date
William Cheng
852eb956db
[kotlin][spring] Remove EOL from template (#16045)
* remove EOL from template

* better code format
2023-07-10 11:44:29 +08:00
Peter Leibiger
75067b2581
[Dart] Update CI (#15981)
* [dart] Update CI

* cache maven dependencies
* use newest exec plugin
* execute pub via dart subcommand

* Use run command directly
2023-07-10 11:27:01 +08:00
Ben Kolera
f34e42b249
[BUGFIX][kotlin-spring] Fix generatedAnnotation to use the javaxPackage variable instead of jakarta to fix spring boot 2 codegen (#15944)
* Update generatedAnnotation.mustache

Without this, it generates a jakarta annotation in the controllers of a spring boot 2 project.

* Updated examples
2023-07-10 11:13:22 +08:00
William Cheng
f0084b39ac update samples 2023-07-09 22:39:00 +08:00
Emanuele Saccomandi
9baf4988f3
Zapier generator (#15997)
* First version of Zapier Generator

* fixed zapier codegen

* added zapier templates

* added zapier sample

* added zapier doc

* added zapier generator form data management

* added samples generation

* updated docs

* fixed zapier api template

* fixed zapier samples export

* added zapier readme template

* fixed zapier readme template

* added petstore readme

* cleaned zapier generator

* updated samples

* fixed zapier enum label

* cleaned code

* updated samples

* improved zapier search actions

* updated samples

---------

Co-authored-by: Mauro Valota <maurovalota@fattureincloud.it>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-07-09 21:52:04 +08:00
devhl-labs
f63ef71432
version bump (#16038) 2023-07-09 10:27:34 +08:00
devhl-labs
c6877947ac
removed a warning (#16037) 2023-07-09 10:26:59 +08:00
devhl-labs
1d470c3866
fixed nre (#16036) 2023-07-09 10:25:31 +08:00
Jon Schoning
2c5f8b30b4
[haskell-http-client] - update deps (#16041) 2023-07-08 19:34:37 -05:00
William Cheng
08c3f8973e
[python] Fix array of array of model's to_dict, from_dict (#16032)
* fix array of array of model's to_dict, from_dict

* update samples
2023-07-08 14:12:42 +08:00
William Cheng
f7edbbc572 update samples 2023-07-08 08:42:18 +08:00
Beppe Catanese
2aa75802dc
[POSTMAN] Mark request header as disabled (#16028)
* Disable headers without a value

* Update samples
2023-07-08 01:06:32 +08:00
Beppe Catanese
30d6a2ff80
[POSTMAN] Use parameter default value (#16027)
* Refactor to use defaultValue

* Test parameter with defaultValue

* Update samples
2023-07-08 01:05:53 +08:00
William Cheng
a5f1c01548 update samples 2023-07-07 11:28:20 +08:00
Beppe Catanese
315fbff680
[BUG] Change default value for header parameter (#15990)
* Override toDefaultValue method

* Regenerate sample
2023-07-07 10:58:24 +08:00
William Cheng
9170306ffa
Fix Spring CI sample folder (#16005)
* fix spring CI sample folder

* fix path

* trigger build

* test push

* add spring jdk17 workflow

* trigger build
2023-07-07 10:23:34 +08:00
Bodo Graumann
ba1c600830
[typescript] Fix support for relative URLs (#15482)
* Add test for different url types

* Fix tests for typescript inversify framework

* Add workaround for relative URLs

* Regenerate samples
2023-07-06 17:30:19 +02:00
Daniel Lange
6b62f2b05a
[csharp-netcore] Enable setting of RemoteCertificateValidationCallback through IReadableConfiguration (#15979)
* Fix for [BUG][C#][csharp] Use RestClient.RemoteCertificateValidationCallback for SSL validation #11497

* Fixed modification of wrong files through merging to master and applied the changes to the correct files

* Updated examples

* Forget some examples

* Updates branch to reflect master changes and published changed example files yet again to solve conflicts

* Fixed examples
2023-07-06 11:48:10 +08:00
devhl-labs
8d625986c6
used list instead of set (#16015) 2023-07-06 11:33:01 +08:00
AntoineDuComptoirDesPharmacies
85df55b20e
Bugfix #15982 : (#15984)
- Use 'orElse' instead of 'get' to avoid Exception for non required headers
- Update samples
2023-07-04 23:30:21 +08:00
bernie-schelberg-mywave
a42f90b0e8
Fix #12412 Use enum type for discriminator (#13846)
* Fix #12412 Use enum type for discriminator

* Rename variable

* Fix required property in test resource

* Add example of enum mapping to samples

* Generate samples

* Generate samples after merging master

* Regenerate samples

* Fix raw use of parameterized class

* Add test showing serialization and deserialization of classes with enum discriminator

* Remove old generated files

* Generate samples

* Generate samples
2023-07-04 23:25:39 +08:00
William Cheng
b465d88880 update samples 2023-07-04 00:29:06 +08:00
Aswin Francis
ba0c73e164
[csharp] [Req#15932] Added support for windows authentication by exposing UseDefaultCredentials property (#15935)
* Added support for windows authentication by exposing UseDefaultCredentials property

* Updated samples and docs

* update doc, samples

---------

Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-07-03 15:53:47 +08:00
Richard Lavoie
117e5118b1
[GO] Fix value formatting in url with slices (#15581)
* fix reflect value for Slice

* Add test
2023-07-03 15:45:14 +08:00
devhl-labs
00fcaa15c0
[csharp][generichost] Add Option struct to enable better validation (#15977)
* add Option struct to enable better validation

* use kebab case
2023-07-03 14:40:24 +08:00
Beppe Catanese
3224e86377
[Postman Collections] Keep original header name (#15907)
* Define baseName for Postman headers

* Use header original name

* Commit regenerated files
2023-07-02 23:36:23 +08:00
Guillaume Turri
22e1e4e450
[PHP-Symfony] fix name mismatch in generated README (#15961) (#15963)
This fixes the generated README so it  suggests to implement the `class DefaultApi`
in a file named DefaultApi.php (instead of DefaultApiInterface.php)
2023-07-02 23:34:04 +08:00
Guillaume Turri
7572e73b8e
[PHP-Symfony] Fix Symfony warning on OpenAPIServerBundle (#15960)
This fixes this Symfony warning:

    User Deprecated: Method "Symfony\Component\HttpKernel\Bundle\Bundle::build()"
    might add "void" as a native return type declaration in the future. Do the
    same in child class "OpenAPI\Server\OpenAPIServerBundle" now to avoid errors
    or add an explicit @return annotation to suppress this message

This fixes #15959
2023-07-02 23:33:37 +08:00
Dennis Melzer
50d8e7820b
Fix cli options use tags and api name suffix (#15936)
* Fix cli options use tags and api name suffix

* Add sample code generator for api suffix and tags

* Fix FILES

* trigger build

* Add sample to github workflow
2023-07-02 23:18:17 +08:00
devhl-labs
179d0bcb9c
added value converter class (#15970) 2023-07-02 10:07:27 +08:00
devhl-labs
ebcd1d7a32
[csharp][generichost] Exposed internals to test project (#15920)
* exposed internals to test project

* exposed internals to test project
2023-07-02 00:28:59 +08:00
devhl-labs
4dc7ffd2f3
[csharp][generichost] Fix model accessor (#15918)
* removed redundant properties

* removed commneted code

* fixed oneof anyof serialization

* restored discriminator as a model property

* added manual sample, removed need for new discriminator property

* minor pipeline change

* renamed manual test solution

* fixed model accessor

* used visibility option

* resolved conflicts

* build samples

* resolved conflicts

* resolved conflicts

* resolved conflicts

* resolved conflicts

* added a comment
2023-07-02 00:06:42 +08:00
devhl-labs
4eaa358476
[csharp][generichost] Fix oneof anyof serialization (#15873)
* removed redundant properties

* removed commneted code

* fixed oneof anyof serialization

* restored discriminator as a model property

* added manual sample, removed need for new discriminator property

* minor pipeline change

* renamed manual test solution

* resolved conflicts

* build samples

* bug fix

* fixed pipeline

* added a comment
2023-07-01 22:37:58 +08:00
Tatsuro Shibamura
42b496c003
Fixed typescript-axios not setting enum ref correctly for multipart/form-data (#15885) 2023-07-01 13:27:20 +02:00
Vladimir Svoboda
71528f69e8
Add support for Angular 16 (#15925)
* Add support for Angular 16

* Fix dependencies specifications

* Fix minimum angular supported version in readme

* Update integration tests

Even if they are currently not run.

* Update sample due to rebase
2023-07-01 13:13:58 +02:00
Dennis Melzer
d6538e3327
Fix import for spring boot 3 (#15949)
* Fix import for spring boot 3 and add a test for optional generation

* Remove timestamp

* Add sample to github workflow
2023-07-01 14:31:44 +08:00
Søren Hansen
9ee5fcc5c6
feat(rust,client): remove Default derives for structs as per #10845 (#15856)
* feat(rust,client): remove Default derives as per #10845

* update samples

---------

Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-06-30 14:09:21 +08:00
William Cheng
8add9119df
Add containerTypeMapped (#15881)
* add containerTypeMapped

* update samples

* update java inflector sample
2023-06-30 09:38:39 +08:00
Noor Dawod
d5c53b9812
Fix epoch deserialization and parsing numbers (#15948)
* Fix 2 bugs with epoch deserialization and parsing numbers.

* Generate samples.
2023-06-30 00:06:12 +08:00
karzang
e9d98666a1
[Java][Client] Fix #12556 Support primitives and arrays in oneOf (#13897)
* [Java][Client] Fix #12556 Support primitives and arrays in oneOf

* Regenerate petstore samples

* Regenerate petstore test samples

* Treat 'BigDecimal' as primtive datatype

* Fix integration tests
2023-06-29 16:46:55 +08:00
Corné
b2280e23f7
[Kotlin][Spring]ctbarnev_bugfix-13488-remove-request-mapping-from-for-Kotlin-spring-c… (#15898)
* ctbarnev_bugfix-13488-remove-request-mapping-from-for-Kotlin-spring-cloud

* ctbarnev_bugfix-13488-remove-request-mapping-from-for-Kotlin-spring-cloud

* Undo formatting code

* Undo formatting code

* Undo formatting code

* ctbarnev_bugfix-13488-remove-request-mapping-from-for-Kotlin-spring-cloud

* Undo formatting code

* Undo formatting code

* Cleanup

---------

Co-authored-by: c.t.vanbarneveld <corne.van.barneveld@rws.nl>
2023-06-29 16:25:18 +08:00
Per-Olov Jernberg
8fe4d780ed
Use substring instead of substr (#15937) 2023-06-29 14:41:42 +08:00
William Cheng
fac04cfa9d
Various improvements to scala-sttp4 generator (#15931)
* various improvements to scala-sttp4 generator

* test scala with jdk11

* test sttp4 in circleci

* add pom.xml

* update

* update tc
2023-06-27 23:27:38 +08:00
bcalvez
7a73f75f70
[java][okhttp-gson] Remove JAX-RS dependency from generated okhttp-gson java client (#15896)
* Remove JAX-RS dependency from generated okhttp-gson java client

* update samples

---------

Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-06-27 16:53:10 +08:00
martin-mfg
dcc53c0d53
[Typescript][Scala][Postman][Java] fix errors with missing models, missing description, BigDecimal (#15809)
* various fixes

* generate samples
2023-06-27 16:20:21 +08:00
Frederic Jones
3627e57a4c
Add validation.constraints package import to delegates when using bean validation (#15921) 2023-06-26 23:52:38 -07:00
Adam Rybicki
faa5da51e5
Sttp4 generator (#15834)
* implementation of sttp4 generator

* rebased with master

* running scripts

---------

Co-authored-by: Adam Fish Rybicki <adamrybicki@adams-macbook-pro.home>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-06-27 10:50:52 +08:00
Noah Overcash
e8fc4d159e
Remove unused import in Java resttemplate auth templates (#15899)
* Remove unused import in Java resttemplate HttpBasicAuth

* Remove unused import in Java resttemplate HttpBearerAuth

* Update samples
2023-06-27 10:24:03 +08:00
martin-mfg
4bec09f7b9
[PHP] fix error on circular references (#15900)
* fix php generators

* generate samples and docs

* fix samples
2023-06-27 10:23:10 +08:00
martin-mfg
33e120a14d
[Eiffel] fix Eiffel schema lookup, clean up outdated samples (#15901)
* make all unmaintained samples executable

* remove samples not generated by any config (not even unmaintained configs)

* remove deleted samples from github workflows
2023-06-27 10:21:28 +08:00