martin-mfg
64f2cad9e8
fix #17258 - use model class only if it is generated ( #17490 )
...
* fix #16797 and #15796 spring child constructor missing parent params
* root cause and update the DefaultCodegen.java to add missing property when with multi inheritance
* rollback SpringCodegen.java
* update samples
* rollback with master cause #16992 fixed this issue too
* still using orignal design
* catchup master
* catchup master
* catchup master
* fix
* add tests
---------
Co-authored-by: dabdirb <dabdirb@gmail.com>
2024-01-05 10:30:28 +08:00
William Cheng
5eab3cef19
Prepare 7.3.0-SNAPSHOT ( #17456 )
...
* Revert "v7.2.0 release (#17455 )"
This reverts commit fe638d009363c142c246ff089032f243e0b4ee01.
* set version to 7.3.0-SNAPSHOT
* update doc
2023-12-22 16:55:58 +08:00
Petar Karadzhov
dc4c72c85c
[BUG] [dart-dio] Support for Analyzer configuration options changes in Dart 3 ( #17099 )
2023-11-18 12:46:03 +08:00
William Cheng
53289263d9
Prepare v7.2.0 ( #17050 )
...
* update version to 7.2.0-SNAPSHOT
* update samples
* update doc
2023-11-13 18:53:20 +08:00
Akira Aratani
6425fbe3ed
[dart-dio] Add toString in Enum on json_serializer ( #15387 )
...
* Bump up the dart version.
* Add toString on enum.
* [dart-dio/json_serializable] Fix enum converter for non-string.
* [dart-dio/json_serializable] Bump up the dart version only json_serializable.
* [dart-dio/json_serializable] Rename enum value.
2023-11-02 11:15:23 +08:00
William Cheng
11771a8ccf
update samples
2023-10-04 15:11:06 +08:00
AvivLevitski
9fd4cc1e63
[Feature] add the ability to generate apis and models in the specified folder from config.yaml ( #15561 )
...
* support the ability to create apis and models templates in specify folders using the config settings (folder)
* support the ability to create apis and models templates in specify folders using the config settings (folder)
2023-10-02 17:49:07 +08:00
martin-mfg
2ca99bdf8e
use model class for request body with additionalProperties ( #16613 )
...
* try out simple fix
* add test case
* generate samples
2023-09-23 13:07:53 +08:00
William Cheng
5e8e2d7f6d
Prepare v7.1.0 in master ( #16608 )
...
* prepare v7.1.0 in master
* update
2023-09-18 17:37:36 +08:00
martin-mfg
d6695056fe
add test case for nullable parent property ( #16552 )
...
* add nullable case to spring test spec
* generate samples for changed spring input
* add nullable case to general test spec
* generate samples for changed general input
* generate samples again
* generates samples again
* re-build from new sources, generates samples again
2023-09-12 15:59:58 +08:00
William Cheng
80121aa88f
Prepare v7.0.1 ( #16409 )
...
* prepare 7.0.1 in master
* update doc
2023-08-25 16:11: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
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
Rexios
95cefaeecd
[Dart] Convert DioError
to DioException
( #15783 )
...
* Convert `DioError` to `DioException`
* Update samples
* Update dio version in example
* Use proper dio version
* Regenerate dart samples
* Regenerate
* Regenerate samples
* update samples
* remove outdated test files
* update test
* remove outdated test files
---------
Co-authored-by: William Cheng <wing328hk@gmail.com>
2023-06-16 00:16:39 +08:00
Szabolcs Székelyi
bca80c0d3d
[dart-dio] Correctly serialize path parameters ( #14666 )
2023-06-15 13:45:19 +08:00
William Cheng
6788f43af0
Better handling of Inline schema ( #15682 )
...
* skip allOf inline subschema created as $ref
* add option for fallback
* add back atleastonemodel
* add log
* update java, kotlin, js samples
* update tests
* fix native client test
* fix java client errors by regenerating test files
* clean up python
* clean up powershell
* clean up php
* clean up ruby
* update erlang, elixir
* update dart samples
* update ts samples
* update r, go samples
* update perl
* update swift
* add back files
* add back files
* remove outdated test files
* fix test
2023-06-11 15:35:58 +08:00
martin-mfg
b7f2b723aa
[JAVA] fix toUrlQueryString for BigDecimal ( #15764 )
...
* add MyImportTest.java
* fix original issue
* fix same issue for native library
* remove MyImportTest
* add test configs
* generate samples (again?)
* generate samples again
* generate samples again, undo pom.xml mistake [amended to retrigger circliCi]
2023-06-08 09:34:06 +08:00
William Cheng
f793d62744
Update dart workflow java version to 11 ( #15660 )
...
* update dart workflow java version
* add clean
* trigger build
2023-05-28 11:21:33 +08:00
Tiffany Marrel
216e2c45ff
[dart] fix use of isBasic condition ( #15523 )
2023-05-22 16:07:37 +08:00
William Cheng
0c3460f95b
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-05-10 15:00:56 +08:00
Tiffany Marrel
3685c0c1d6
[dart] cleanup documentation ( #15344 )
...
* [dart] fix documentation of API authorization in README files
fix hierarchy level + add internal links + align wording across generators
* [dart] fix anchor links in documentation
* [dart] address review comments
This reverts commit cff17aca and part of commit eecf1dd4
2023-05-09 01:27:51 +08:00
Ahmed Fwela
3d722c1083
[dart-dio] fix endpoints returning null ( #15433 )
...
* fix endpoints returning null
* add const back
2023-05-09 01:27:29 +08:00
Peter Leibiger
e356b770d2
[dart][dart-dio] Fix property deprecation and add parameter deprecation ( #15374 )
...
Addresses problems in #13818
2023-05-02 19:42:06 +08:00
William Cheng
935146d187
Merge remote-tracking branch 'origin/master' into 7.0.x
2023-04-12 17:51:47 +08:00
William Cheng
5d1e18306a
Prepare 6.6.0-SNAPSHOT ( #15100 )
...
* set 6.6.0 snapshot version
* update samples
* update readme
2023-04-01 18:48:01 +08:00
William Cheng
7417432a54
Prepare 6.5.0 release ( #15099 )
...
* 6.5.0 release
* update samples
2023-04-01 15:03:35 +08:00
William Cheng
a4dd90c01d
Better allOf handling in fromProperty ( #15035 )
...
* fix allOf handling in fromProperty
* add null check, update samples
* update dart generator to handle allof with a single ref
2023-03-26 15:06:27 +08:00
William Cheng
f5e427ad52
Do not add schema / class name mapping where custom mapping exists ( #14984 )
...
* fix #13150 Do not add schema / class name mapping where custom mapping exists
* update test spec
* improve import
* fix import for mapped models
* fix python
* code clean up
* fix dart client import
* fix dart:core import
* better import
* add tests
---------
Co-authored-by: Bernie Schelberg <bernard.schelberg@mywave.ai>
2023-03-24 22:20:04 +08:00
William Cheng
1beec7ef87
Merge remote-tracking branch 'origin' into 7.0.x
2023-03-03 21:52:50 +08:00
William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
Peter Leibiger
8b0b4b5d04
[dart][dart-dio] Add deprecations on models and fields ( #14676 )
2023-02-16 01:09:34 +08:00
Peter Leibiger
1814a04c20
[dart][dart-dio] Bump Dio to 5.0.0 ( #14675 )
...
* [dart] Cleanup unused/redundant stuff
* [dart] Bump Dio to 5.0.0
* Fix description
* Get tests to run based with git dependency
* Fix test generation
* Update docs
* Update test dependencies
* Use released version of http_mock_adapter
2023-02-16 01:09:08 +08:00
Beppe Catanese
68b944e6e6
Preserve order of securitySchemes ( #14536 )
...
* Remove alphabetical sort
* Update integration testing expectations
* Regenerate files
2023-02-10 22:20:19 +08:00
William Cheng
31a89e35cb
Prepare 6.4.0 ( #14582 )
...
* update to 6.4.0 snapshot
* update samples
* update doc
2023-02-01 22:44:40 +08:00
William Cheng
8f2676c5c2
Prepare v6.3.0 release ( #14580 )
...
* 6.3.0 release
* fix maven plugin test
* update samples
* update doc
* fix tests in windows
2023-02-01 20:52:29 +08:00
Ahmed Fwela
da8d984ea4
[dart-dio] Fix non legacy discriminator behavior ( #14291 )
...
* override createDiscriminator
* assign discriminator = null to remove duplicates
* added discriminatorValue extension
* added _defaults
* formatting
* samples
* use gitter instead
* remove comment
* updated samples
* revert formatting changes
* update samples
* change file permissions
* remove discriminator check for anyOf
* add comment to createDiscriminator
2023-01-02 18:59:33 +08:00
Ahmed Fwela
4e387cad53
[dart-dio] Add r
before '{{MappingName}}' to handle special characters in discriminators ( #14167 )
...
* Add `r` before '{{MappingName}}' to handle special characters
* Update samples
* use propertyBaseName instead of propertyName
* update samples
2022-12-05 15:00:44 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
William Cheng
2bac0a8d99
Merge remote-tracking branch 'origin/6.3.x' into 7.0.x
2022-10-16 21:27:53 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
Ahmed Fwela
2a8ea162d7
[dart-dio] handle polymorphism + discriminator serialization ( #12295 )
...
* return structured serializer
* generate samples
* implmented postProcessAllModels to fix assignment of inherited models
* Templates now respect inheritance
* regen dart samples
* only built value support for now
* ignore unused elements
* fixed tests
* new configs to test oneOf
* add some helper vendorextensions for oneOf support
* update templates
* regen samples
* resolve conflicts
* fix missing serializers
* Updated samples and fixed merge conflict
* updated samples
* Follow java conventions
* Follow java conventions
* updated samples
* update sampels 2
* update samples 3 ...
* fix underscores
* fixed missing imports from java code
* update config names
* updated samples
* updated built_value deps
* regen samples
* workaround built_value abstract builders google/built_value.dart#1180
* regen samples
* updated test pubspec
* temp fix rewriteImports for Lists and maps
* Add new samples to CI
* Improve white spaces & formatting
* fix enums not getting assigned correctly
* update samples
* fixed typo
* regen samples
* remove repeating imports
* regen samples
* ignore unused_element warning
* updated tests
* regen samples
Co-authored-by: Peter Leibiger <kuhnroyal@gmail.com>
2022-09-05 16:44:04 +08:00
devhl-labs
7e4fa70067
Update allOf to not always be nullable ( #12861 )
...
* added nonNullableVars
* added return property to operation
* added return property to operation
* build samples
* added inner enum
* build samples
* allOf no longer always nullable
* added a comment
2022-08-16 00:47:51 +08:00
William Cheng
6bfef6c191
Merge remote-tracking branch 'origin/master' into 7.0.x
2022-07-19 11:54:20 +08:00
William Cheng
f242b5e1dd
Skip import of allOf composition schema ( #12798 )
...
* skip import of allOf composition schema
* update samples
* allow python generator to keep old behaviour
* update js import
2022-07-10 14:58:22 +08:00
William Cheng
c54b0623b8
prepare 7.0.x
2022-05-26 13:17:52 +08:00