Christophe Bornet
d405158d3f
Add javadoc to spring API, controller and delegate ( #4693 )
...
* Add javadoc to spring API, controller and delegate
* Add response description and code in javadoc
2019-12-09 11:15:57 +08:00
William Cheng
11c7007429
Prepare v4.2.3 ( #4663 )
...
* update version
* update doc
* update samples
2019-12-02 15:26:01 +08:00
William Cheng
4ed742b6bc
update samples
2019-11-21 15:24:13 +08:00
William Cheng
facabd4472
Merge branch '4.3.x' into 5.0.x
2019-11-21 15:19:31 +08:00
William Cheng
60f4de0f22
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-11-20 18:15:22 +08:00
Jim Schubert
47ac49ff99
Regenerate samples
2019-11-17 20:20:34 -05:00
William Cheng
bf6db1c2d1
update samples
2019-11-17 14:28:41 +08:00
Jan
5181ddcbb0
fix: prevent ClassCastException when handling options of (issue #4468 ) ( #4495 )
...
* issue 4468 fix: prevent ClassCastException when handling options of type boolean
* #4468 fix: remove duplicate code
2019-11-17 08:59:25 +08:00
William Cheng
f07b3e0521
Prepare 4.2.2-SNAPSHOT ( #4497 )
...
* update to 4.2.2-SNAPSHOT
* update doc
* update samples
* skip ocaml test
* update version
* fix version
2019-11-15 21:34:25 +08:00
Sébastien Masset
99204ecd66
Avoid generating uncompilable response body in Spring's API template ( #2903 )
...
* Moved example string to a dedicated variable in Spring's methodBody template
* Created a new exampleString template for JavaSpring
* Added a new mustache lambda to trim whitespace in fragments
* Added a new lambda to split long fragments into compilable strings
* Use newly introduced lambdas in Spring's API template to avoid generating uncompilable example code
2019-11-12 17:49:05 +08:00
William Cheng
4824bb7711
sync master, update samples
2019-11-04 09:28:19 +08:00
William Cheng
47e2c0d027
update samples ( #4334 )
2019-10-31 13:31:49 +08:00
William Cheng
8f86f0f04a
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-10-08 21:21:04 +08:00
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
a8fe5d355c
Merge remote-tracking branch 'origin/4.2.x' into 5.0.x
2019-08-29 14:48:00 +08:00
William Cheng
9182784955
Merge remote-tracking branch 'origin/master' into 4.2.x
2019-08-28 14:01:20 +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
Slavek Kabrda
5182955cca
[Java][client] make it possible to send explicit nulls for nullable fields ( #3474 )
...
* [Java][client] make it possible to send explicit nulls for nullable fields
* Regenerate samples
2019-08-16 16:26:06 +08:00
William Cheng
c3535cf9ca
Add test cases to cover different collection formats ( #3640 )
...
* add test cases to cover different collection format
* add space params to retrofit 1.x
* add space params to retrofit 2.x
* rename url to localVarUrl
* fix exception in haskell servant
2019-08-15 11:09: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
wing328
a48d7f77fb
Merge remote-tracking branch 'origin/4.1.x' into sync_41x_50x
2019-06-27 18:27:20 +08:00
wing328
7534df4520
Merge remote-tracking branch 'origin/master' into 4.1.x
2019-06-26 16:01:23 +08:00
Mathieu Debove
06cfdbbdc6
Add missing javax dependencies for Java > 8 ( #3188 )
...
* Add missing javax dependencies for Java > 8
* update spring petstore samples
2019-06-24 21:42:49 +08:00
William Cheng
8e11fd9fe4
Prepare 4.0.3-SNAPSHOT ( #3185 )
...
* update version to 4.0.3-SNAPSHOT
* update readme
* update gradle, maven plugin
* update release schedule
* update samples
2019-06-20 18:50:49 +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
Vincent Devos
0ae43fcb7a
[Elixir] update to 1.6 version ( #2741 )
...
* [Elixir] update version / add test
* update samples (add missing 200 responses in petstore-with-fake-endpoints-models-for-testing.yaml)
* [Elixir] update to 1.6 version
* [Elixir] fix test petapi
2019-04-26 22:38:11 +08:00
Paul Brabban
b5ae21b090
[Spring] Spotbugs static class and default encoding ( #2609 )
...
* add static modifier - mvn verify passes
* specify charset, mvn verify works, compiles and clean on spotbugs in my project
* update samples as per contribution guide; mvn integration-test passes
* commit rest of samples
* fix missing newline at EOF
* lots of new newlines
* needed to run mvn clean beforehand...
2019-04-10 18:03:35 +08:00
Lukáš Vasek
a079f70fb2
[JAVA] Use specified data type in enum's fromValue instead of string ( #2347 )
...
* Use specified data type in enum's fromValue instead of string
* updated samples
* update samples
* remoe String.valueOf
2019-03-27 22:10:02 +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
f2002b25da
[Python] remove default value from being fallback to example ( #2213 )
...
* remove example fallback
* reset test case
2019-02-22 20:44:27 +08:00
john lilley
f76dca84f5
Fix Bug 1433 decimal literal in C# maybe other languages ( #1436 )
...
* Trivial change to kick PR again
* Fix issue 1433 (default decimal literal broken for C#)
* Replace tab with space
* update samples
2019-02-10 15:28:40 +08:00
Jérémie Bresson
c871e3bc81
[core] Handle referenced enum case correctly ( #2001 )
...
* [core] Handle referenced enum case correctly
* Update all samples
* Fix compile error after merge
2019-01-30 11:07:58 +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
William Cheng
b87a507a13
update samples
2019-01-09 15:57:31 +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
Christophe Bornet
0fca90133c
Use JsonNullable wrapper on nullable/x-nullable fields ( #1762 )
...
* Use JsonNullable wrapper on nullable/x-nullable fields
Fix #1250
* update samples
2018-12-31 10:04:26 +08:00
William Cheng
e821a58fd1
skip default value for contaier in spring ( #1725 )
2018-12-29 18:50:10 +08:00