William Cheng
46216cd796
Merge remote-tracking branch 'origin/master' into 5.0.x
2020-04-28 20:35:28 +08:00
Justin Black
8e8471c1fd
[CORE] Fixes composed schema discriminator map ( #4906 )
...
* Adds addComposedMappedModels and testComposedSchemaOneOfDiscriminatorMap
* Requires that discriminators be required properties
* Strengthens discriminaotr validation, adds better error messages, adds schema oneof samples
* Adds oneOf and anyOf invalidDiscriminator tests
* Updates incorrect addOneOfInterfaceModel invocation
* Runs ensure-up-to-date
* Adds updates from Sebastien Rosset
* Removes newlines
* Uses df.isString
* Fixes tests be correctly setting df.isString
* Updates discriminatorExplicitMappingVerbose description per PR feedback
* Adds description of how mappedModels is populated
* Adds the suggestion exception raising when a MappedModel mappingName is null
* Actually resolves merge conflicts
* Switches two methods to package private because they are needed for testing
* Allow nulls in MappedModel.getMappingName
* Updates CLI flag name to legacyDiscriminatorBehavior, default=true
Co-authored-by: William Cheng <wing328hk@gmail.com>
2020-04-25 00:01:02 +08:00
William Cheng
5a9b0fcf9e
update samples
2020-04-21 02:22:55 +08:00
William Cheng
faf6f197be
Merge remote-tracking branch 'origin/master' into 5.0-sync-master
2020-04-17 15:51:00 +08:00
Nicholas Muesch
7efa65164a
Add openapi.yaml file to Java clients ( #5765 )
...
* Add openapi.yaml file to Java client
* Move supporting template file to Java root
* Update petstore clients
2020-04-07 16:07:08 +08:00
William Cheng
a0ca253218
update samples ( #5722 )
2020-03-27 13:55:55 +08:00
William Cheng
0ffcbfe75e
update jackson dependency to newer version ( #5527 )
2020-03-06 14:49:58 +08:00
Igor Savin
734a35a45a
Update maven-javadoc-plugin for Java 11 support ( #5361 )
...
* Resolves `An error has occurred in Javadoc report generation: [ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module` error that happens when using Java 11
* Resolves `An error has occurred in Javadoc report generation: [ERROR] Exit code: 1 - javadoc: error - The code being documented uses modules but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module` error that happens when using Java 11
* Fix duplicate configuration entries
* Fix okhttp poms
* Remove letter that shouldn't be there
2020-02-20 00:28:21 +08:00
Jiri Kuncar
a09271e76d
[java] Support templated servers ( #4998 )
...
* [java] Support templated servers
* Deprecate old signature of invokeAPI method
* throw ArrayIndexOutOfBoundsException
* Update modules/openapi-generator/src/main/resources/Java/ServerConfiguration.mustache
* [java] Regenerate samples
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
2020-02-19 09:27:45 -05:00
William Cheng
100b01844a
Merge remote-tracking branch 'origin/master' into 5.0.x
2020-02-04 15:31:10 +08:00
Slavek Kabrda
a42ff37a42
[java][client] oneOf support for jackson clients ( #5120 )
2020-01-27 08:23:20 -05:00
William Cheng
82e2448bf2
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2020-01-20 15:46:13 +08:00
William Cheng
04af5e0445
Merge remote-tracking branch 'origin/master' into 4.3.x
2020-01-20 15:04:34 +08:00
Sebastien Rosset
d61dcc17e0
[gradle] consistent use of maven url in gradle files ( #5045 )
...
* wrap maven url with uri function
* consistent use of maven url in gradle files
2020-01-19 14:57:38 -05:00
Jim Schubert
ea55968737
Evaluating https issues in CircleCI (on top of CiscoM31-maven-h… ( #5034 )
...
* replace http with https. Replace http://central.maven.org with https://repo1.maven.org
* replace http://www.apache.org/licenses/LICENSE-2.0 with https://www.apache.org/licenses/LICENSE-2.0
* Force HTTPS for mavenCentral gradle DSL
Co-authored-by: Sebastien Rosset <serosset@cisco.com>
2020-01-18 18:53:05 -05:00
Jim Schubert
78bf3adc4a
[core] Initial FeatureSet structures and definitions ( #3614 )
...
[core] Initial FeatureSet structures and definitions
Add default feature set to DefaultCodegen
Initial FeatureSet definitions for:
* ada
* android
* apache2
* asciidoc
* aspnetcore
* avro
* bash
* c
* clojure
* cpp-pistache-server
* cpp-qt5-client
* cpp-qt5-qhttpengine-server
* cpp-restbed-server
* cpp-restsdk
* cpp-tizen
* csharp
* csharp-nancyfx
* csharp-netcore
* cwiki
* dart
* eiffel
* elixir
* elm
* erlang
* flash
* fsharp-functions
* go Client/Server
* graphql-nodejs-express-server
* graphql-schema
* groovy
* haskell
* haskell-http-client
* java
* jmeter
* kotlin
* kotlin vertx
* kotlin-server
* kotlin-spring
* lua
* mysql
* nim
* nodejs
* nodejs-express
* objc
* ocaml
* openapi
* openapi-yaml
* perl
* php
* php-laravel
* php-lumen
* php-silex
* php-slim
* php-symfony
* php-ze-ph
* powershell
* protobuf
* protobuf-schema
* python
* python-aiohttp
* python-blueplanet
* python-experimental
* r
* ror
* ruby
* ruby
* ruby-sinatra
* rust
* scala-akka
* scala-finch
* scala-gatling
* scala-http-client
* scala-lagom
* scala-play
* scalatra
* scalaz
* spring
* static docs
* swift
* typescript
2020-01-11 16:20:47 -05:00
Jérémie Bresson
e675360b9e
[java][client] jackson update ( #4907 )
...
* [java][client] update jackson-databind-version to 2.10.1
* [java][client] update jackson-version to 2.10.1
* Update samples
* [google-api-client] add missing generic parameter to fix compile error
* Update samples
2020-01-03 11:03:12 +08:00
sullis
178a3e24bd
upgrade to JUnit 4.13 ( #4899 )
2020-01-02 13:20:29 +08:00
William Cheng
b450ce8a5a
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2019-12-28 12:34:30 +08:00
William Cheng
81e15ed0bf
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-28 12:00:09 +08:00
Jim Schubert
376e419d0b
Support models with multi-level hierarchy (via roxspring) ( #4503 )
...
* Example of broken multi-level hierarchy
* Support for multiple levels of hierarchy in model objects
* Support for multiple levels of hierarchy in generators
* Regenerated samples
* Temporarily skip scalaz sample verification, which is having issue with Java version in CI container
* Re-enable scalaz in verify samples
Co-authored-by: Rob Oxspring <roxspring@imapmail.org>
2019-12-27 15:42:32 +08:00
William Cheng
bad78a30c8
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2019-12-20 23:26:19 +08:00
William Cheng
4fb503bcac
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-20 23:21:21 +08:00
Jérémie Bresson
ad6c832162
[java] Update jackson_databind_nullable_version to 0.2.1 ( #4839 )
...
* [java] Update jackson_databind_nullable_version to 0.2.1
* Update samples
* FIx typo
2019-12-20 23:18:47 +08:00
William Cheng
466a67c9bc
Merge remote-tracking branch 'origin/4.3.x' into 5.0.x
2019-12-12 17:27:49 +08:00
William Cheng
3e34903042
Merge remote-tracking branch 'origin/master' into 4.3.x
2019-12-11 15:44:50 +08:00
William Cheng
11c7007429
Prepare v4.2.3 ( #4663 )
...
* update version
* update doc
* update samples
2019-12-02 15:26:01 +08:00
Toby Murray
006ec182ef
[JAVA] Update Gradle in generated Java projects from 2.14.1 to 6.0.1 ( #4536 )
...
* Update Gradle in generated Java projects from 2.14.1 to 6.0.1
* Upgrade Java 11 native Gradle from 5.5 to 6.0.1
When Java 11 native client library was introduced it was introduced with an overridden version of the Gradle wrapper (5.5 instead of 2.14.1). From looking at that PR, there doesn't appear to be any specific reason for the versions to differ. This removes the only override of the Gradle wrapper so all the Java projects are up to date and shares the same version.
2019-11-25 22:34:31 +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
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
William Cheng
c4f0b09459
Fix Jackson databind security issue ( #4370 )
...
* fix jackson databind security issue
* update groovy sample
* fix groovy dep version
2019-11-06 10:27:08 +08:00
William Cheng
4ca9430474
sync master, update doc
2019-11-04 09:38:22 +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
33f63d6163
Do not HTML escaped the description in the doc ( #4321 )
...
* html escaped the description in the doc
* update python oas3 sample
2019-10-31 09:10:05 +08:00
Sai Giridhar P
284c9dc6c5
feat(documentation): Adding model documentation ( #4308 )
2019-10-30 17:09:25 +08:00
Slavek Kabrda
cf58a427b6
[java][client] Don't include nullable attributes twice in serialized JSON ( #3923 )
...
* [java][client] Don't include nullable attributes twice in serialized JSON
* Get rid of the extra added whitespace
* Regenerate samples
2019-10-22 16:17:27 +08:00
Jochen Schalanda
ab0b3d9795
Update to jackson-datatype-threetenbp 2.9.10 ( #4176 )
...
* Update to jackson-datatype-threetenbp 2.9.10
* Update to ThreeTen BP 1.4.0
* Fix import and usage of org.threeten.bp.DateTimeUtils
* Refresh samples
2019-10-19 15:08:56 +08:00
wing328
54151891cc
Merge branch 'master' into 5.0.x
2019-10-17 11:18:57 +08:00
gurumeditator
dee6de7778
Replaced dashes with underscores in build.gradle files. ( #4092 )
2019-10-13 18:37:50 +08:00
William Cheng
cf38c56aa6
Fix readonly with isReadOnly ( #4102 )
...
* fix readonly
* update samples
2019-10-09 15:16:22 +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
81fdc2abbd
Fix jackson-databind security issue ( #3945 )
...
* fix jackson security issue
* update groovy petstore sample
2019-09-24 13:56:59 +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
Benjamin Simpson
f27ff79e93
updated google-api-client version from 1.23.0 to 1.30.2. Bugfix #3625 ( #3882 )
2019-09-13 15:52:28 +08:00