William Cheng
7252d1a698
[Ruby] add anyOf support ( #16147 )
...
* add anyOf support
* remove valid? from oneOf template
2023-07-21 11:38:07 +08:00
Tanmay Mohapatra
f6fefd9268
[Julia] correct handling of POST data encodings ( #16149 )
...
- detect multipart and urlencoded post data formats correctly on the server side
- generate data types correctly for binary file uploads
- re-generated samples
2023-07-21 11:37:43 +08:00
Cameron Koegel
de0bffb99d
[Ruby] Update Model Creation and Attribute Validation ( #16114 )
...
* update attribute validation and model creation
* generate samples
* update tests
* update other tests
* fix custom pet_spec tests
* fix autoload tests
2023-07-21 08:58:55 +08:00
Bart ten Brinke
4ece8e992a
Elixir: Switch Poison to Jason ( #16061 )
...
* Switch Poison to Jason
* generate-samples.sh
* Finalize Poison -> Jason switch
* parse date-time values to Elixir DateTime
* improve formatting in various places, so there's less changes by `mix
format` later
* fix Java version in flake.nix
* Use List.delete/2 instead of Enum.reject/2 for performance reasons
* mix format test/*
* Install dialyxir and fix reported issues
* Fix RequestBuilder.decode/2 hardcoded module name
* Update docs
* Revert changes to API spec (HTTP -> HTTPS)
* Revert uneeded change to Elixir code generator
* Use HTTP in Elixir tests
HTTPS doesn't work for folks who setup petstore.swagger.io as described
in docs/faq-contributing.md.
---------
Co-authored-by: Wojciech Piekutowski <wojciech@piekutowski.net>
2023-07-20 18:36:50 +02:00
William Cheng
ddc2b3e560
Add tests for oneOf models in ruby client ( #16137 )
...
* add test for oneOf model in ruby
* add new files
* add tests for oneOf model without discriminator
2023-07-20 17:35:40 +08:00
William Cheng
35ca486e1c
Fixed bug in http signing config for C# restsharp ( #16129 )
2023-07-20 17:04:02 +08:00
William Cheng
0d002d381e
[C#][restsharp] Removed warnings in HTTP signing config ( #16128 )
...
* Removed warnings in HTTP signing config for restsharp C#
* fix
2023-07-20 17:03:41 +08:00
Emanuele Saccomandi
bfcd646356
Updated zapier version ( #16131 )
...
* minor zapier api template fixes
* updated samples
* added zapier validation action
* readded zapier beta tags
* fixed zapier validation action
* updated samples
* updated zapier-platform-core version
2023-07-19 18:59:51 +08:00
Emanuele Saccomandi
178b8a7737
Zapier generator api template improvement ( #16121 )
...
* minor zapier api template fixes
* updated samples
* added zapier validation action
* readded zapier beta tags
* fixed zapier validation action
* updated samples
* improved zapier api names
* updated samples
* fixed zapier noun and label
2023-07-19 00:36:43 +08:00
Martin Delille
067b17252e
[cpp-qt-client] Fix warning ( #16083 )
...
* [cpp-qt-client] Fix warning
* Handle warnings for MSVC
* Add warning flags only for non-MSVC compilers
* Fix warnings for MSVC compiler too
2023-07-17 16:30:44 +08:00
devhl-labs
f8e19b4ebc
added equatable option ( #16106 )
2023-07-17 11:56:04 +08:00
William Cheng
6983a3acf3
Add nameMapping option to Java client, server generators ( #16103 )
...
* add nameMapping to java codegen
* update doc
* update samples
* fix typo
* update toParamName
2023-07-17 11:37:49 +08:00
Stephane Carrez
b107ff96ac
[Ada] Fix and improvement of client and server code generator ( #16100 ) ( #16101 )
...
* Improvement of Ada client and server generator
- recognize several mime types and configure the client/server API
- fix support to handle binary and ByteArray
- add support for client and server with multiple mime type responses
- update model templates
* Fix and improvement of Ada code generator
- fix order of model types to emit the types that depend on other
types after; also sort the model types on their name
- fix model Serialize to avoid serializing a field which is Null
when it is not "Nullable"
* Add support to avoid some Ada Vectors package instantiation
- recognized the x-ada-no-vector specific attribute on model types
and when present and TRUE, don't emit the Ada Vector package instantiation
nor the Serialize and Deserialize associated procedures.
* Fix float and double support
- fix mapping for float and double
- add x-ada-serialize-op custom attribute to allow overriding the serialize procedure
- setup a default x-ada-serialize-op value for the template
* Fix wrong import and serialize method
* Regenerate the Ada client sample petstore
* Rebuild with export_docs_generators.sh
* Fix calls to toLowerCase() to use the Locale.ROOT
2023-07-17 11:26:32 +08:00
William Cheng
598c27ddb0
[C#] fix validate ( #16097 )
...
* fix validation with discriminator using parent instead
* add new files
* add new workflow
* fix
2023-07-16 10:24:47 +08:00
William Cheng
7258b3c171
Fix allOf with a single $ref ( #16096 )
...
* new test
* fix allOf with a single ref in inline model resolver
2023-07-14 19:54:58 +08:00
William Cheng
b7e7314d8e
[C#] minor refactoring ( #16084 )
...
* escape keyword in toParamName (abstract C#)
* remove x-is-json (not used)
2023-07-14 00:36:57 +08:00
Tanmay Mohapatra
6a263565e7
[Julia] add Julia tests to GitHub workflow ( #16089 )
...
* [Julia] add Julia tests to GitHub workflow
Added Julia client and server tests to GitHub workflow
* fix paths
2023-07-14 00:19:56 +08:00
Dennis Melzer
e77f9ea783
Add new OAuth2RequestInterceptor to remove deprecated open feign classes ( #16011 )
...
* Add new OAuth2RequestInterceptor to remove deprecated open feign classes
* Add override
* Add version
* Add older version
* Update docs
* Fix issue with multiple security schemes
* Move cli option to spring code gen
* Fix documentation options
* Remove resource folder
* Fix duplicate annotation
* Add an enable flag
* Remove generator setting
* Revert codgen changes
* Revert config generator changes
2023-07-13 08:35:39 +08:00
devhl-labs
16c149a91e
fixed bug in http signing config ( #16040 )
2023-07-13 08:27:55 +08:00
devhl-labs
3678085017
removed warnings ( #16039 )
2023-07-13 08:27:21 +08:00
William Cheng
ec6381295a
Update php options for better customization of composer.json ( #16078 )
...
* update php options
* update tests
2023-07-12 13:22:05 +08:00
Jens Wetterich
3325edc5c5
[kotlin][spring-webclient] Add parseDateToQueryString ( #16069 )
2023-07-12 10:17:53 +08:00
Bruno Coelho
f31c2a4b17
[kotlin][client] Add new line at the end of all files ( #16062 )
...
* [kotlin][client] add new line at end of files
* [kotlin][client] add new line at end of files
2023-07-11 17:07:06 +08:00
devhl-labs
ceb48d3af4
removed IApi namespace ( #16058 )
2023-07-11 14:01:45 +08:00
devhl-labs
9362b49173
added event for errors ( #16057 )
2023-07-11 10:54:29 +08:00
Emanuele Saccomandi
cc47f45eac
Added zapier ci validation ( #16052 )
...
* minor zapier api template fixes
* updated samples
* added zapier validation action
* readded zapier beta tags
* fixed zapier validation action
* updated samples
2023-07-11 00:19:15 +08:00
devhl-labs
fe78be405e
[csharp][generichost] Added event on http response to facilitate server health tracking ( #16046 )
...
* added event on http response to facility server health tracking
* renamed a file
* handled the renamed file
2023-07-10 16:10:04 +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
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
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
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
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
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
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