William Cheng
d4500b307f
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-10-04 15:02:58 +08:00
William Cheng
7dbda049f0
Better tests for string (number) ( #3953 )
...
* beter test for string (number)
* fix mapping
* fix mapping in csharp generators
2019-09-30 15:22:44 +08:00
William Cheng
5eb67d471b
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-09-22 21:00:38 +08:00
William Cheng
3019b5a5e1
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-09-22 14:18:07 +08:00
William Cheng
ea029b4029
update doc, samples ( #3875 )
2019-09-11 21:17:11 +08:00
William Cheng
3ebefccfa9
Prepare v4.1.2 release ( #3873 )
...
* update samples
* update date
2019-09-11 18:33:27 +08:00
Benjamin Simpson
239d68df36
[Java][okhttp-gson] fix failure to deserialize floats ( #3846 )
...
* fixed bug where nullApi.java would be generated. Instead, generated DefaultApi.java to match the default path /{pathParam}
* fix to bug #3157
* update samples
2019-09-07 12:36:19 +08:00
William Cheng
d0d545bbdd
Prepare 4.1.2 snapshot ( #3758 )
...
* update pom
* update samples
* update ts axios samples
2019-08-26 22:13:12 +08:00
William Cheng
01222268e8
update samples
2019-08-11 18:56:47 +08:00
William Cheng
5956569e7a
Prepare 4.1.1-SNAPSHOT ( #3603 )
...
* update pom
* update samples
* update pom
2019-08-10 09:41:08 +08:00
William Cheng
7e457f7e41
sync master
2019-06-03 00:32:13 +08:00
William Cheng
8d3a1a5add
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-03 00:06:43 +08:00
Jérémie Bresson
dc81574f2b
Update version to 4.0.2-SNAPSHOT ( #3047 )
...
* Update version to 4.0.2-SNAPSHOT
* Update samples
* Change AppVeyor script (test of gradle sample)
* Fix release version bump script (gradle plugin, sample poms)
* Include sonatype snapshots in maven examples which reference 4.0.2-SNAPSHOT
2019-06-01 21:32:44 -04:00
William Cheng
94fc0474b9
update version 5.0.0-snapshot and samples
2019-05-15 01:54:29 +08:00
William Cheng
24187b8186
update petstore samples
2019-05-15 00:10:03 +08:00
William Cheng
cbe39ba881
Set version to 4.0.1-SNAPSHOT ( #2882 )
2019-05-14 10:28:32 +02:00
Matthieu Berthomé
ee43cc1520
handle composed schemas in InlineModelResolver ( #2112 )
...
* handle composed schemas in InlineModelResolver
* fix unit test -> TestUtils.parseSpec
* update samples
* fix samples
* update samples
* update samples
* add new files
2019-05-08 10:19:15 +08:00
Justin Black
b67318ef21
Adds spec additionalProperties + nullable examples ( #2405 )
...
* Adds v2 spec additionalproperties examples, adds v3 spec nulllable model example, updates samples
* Remaining samples updates
* Adds csharp generator update to handle models with multilevel parent types, which works for the AdditionalPropertiesObject model, samples updated
2019-03-20 15:31:28 +08:00
William Cheng
ed30e85d1e
Remove security tests from the master branch ( #2433 )
...
* remove security tests as these will be test in branch instead
* remove openapi3 security script
2019-03-18 17:21:47 +08:00
Justin Black
9ec594eec5
[Spec] adds XmlItem model and route for xml testing ( #1883 )
...
* Adds xmlitem model and route, rest-assured Api suffix fix, updates pytest and pytest-cov versions
* Adds python client sample files
* Adds samples update
* Adds rest-assured sample client update
* Adds sample updates in ensure-up-to-date
* Changes rest-assured files back to master version, removes fix for issue #13
* Updates samples
2019-01-26 17:26:38 +08:00
Justin Black
539ec23298
[python-client] Add model default values ( #1776 )
...
* Adds two models to the v2.0 spec, uses examples as defaults in python client
* Adds array default and type_holder_default and type_holder_example tests
* Re-generated python security client with ./bin/security/python-petstore.sh
* Changes comment text, rebased master
* Updates client + server samples
* Adds missing samples updates
* Changes python client to look for true or false with booleans in toDefaultValue
* Changes boolean casting to use Boolean.valueOf
* Adds deserialization fix for python tests
* Changes Mock to namedtuple in python deserialization tests
* Actually remove unittest.mock
2019-01-09 11:18:35 +08:00
William Cheng
8c599ebf12
Add support for multiple inheritance ( #1664 )
...
* add all parent names
* clean up supportsInheritance
* fix npe
* fix allVars, fix test cases
* add more tests, remove comments
* update docker m2 cache dir, add more tests, fix mandatory
* update samples
* regenerate js spec files
* add logic to detect self reference
* add isSelfReference flag to codegen property
* add ruby tests for cat model
* remove debugging info
* fix JS allvars not have x-js-doctype
* update samples
* update js samples
2018-12-15 00:24:36 +08:00
William Cheng
774013c7e1
Better OpenAPI spec v3 support: allOf, anyOf, oneOf ( #1360 )
...
* add oneOf support to Ruby
* add anyOf support to ruby client
* add discriminator support to ruby client
* fix typo
* update samples, fix NPE
* better format in ruby generator
* fix test cases, disable mapping test
* fix update script, update samples
* add test, fix mapping
* update exit code
* reenabled discriminator test
* remove duplicated properties
* add test for duplicated properties
* update samples, add new spec
* fix ruby test cases
* fix hasMore after removing duplicates
* refactor method, comment out haskell client test
* fix hasMore and update samples
* fix parent detection
* fix discriminator check
* [haskell-http-client] need to use {{vars}}{{required}} instead of {{requiredVars}}
* remove deprecated methods in default codegen (#1031 )
* regenerate samples
* remove commented code
2018-12-07 00:30:20 +08:00
William Cheng
a023a0d0ca
update petstore samples
2018-11-08 18:32:48 +08:00
William Cheng
a186efed35
Merge remote-tracking branch 'origin/master' into 3.4.x
2018-11-08 18:17:29 +08:00
William Cheng
36991a4e14
Improve ensure-up-to-date script ( #1362 )
...
* improve ensure-up-to-date script
* trigger build failure
* use exit 1 instead
* fix build failure
* update samples
2018-11-02 15:38:34 +08:00
Yuriy Belenko
e4b5f50515
MySQL Schema Generator #955 ( #1055 )
...
* [Mysql Schema] Add new generator
* [Mysql Schema] Fix default definition
* [Mysql Schema] Add defaultDatabaseName option
* [Mysql Schema] Add jsonDataTypeEnabled option
* [Mysql Schema] Add samples
2018-10-01 15:59:18 +08:00