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
William Cheng
5f547b821f
[Java][WebClient] better code format ( #5433 )
...
* better code format for java webclient
* prefix local varaible with localVar
2020-02-27 12:05:03 +08:00
William Cheng
8b64f4d03e
update java webclient sample
2020-02-25 18:22:29 +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
William Cheng
03a59046f4
Merge remote-tracking branch 'origin/4.3.x'
2020-01-31 19:00:28 +08:00
Slavek Kabrda
a42ff37a42
[java][client] oneOf support for jackson clients ( #5120 )
2020-01-27 08:23:20 -05:00
dependabot[bot]
fc4563baef
Bump spring-webflux from 5.0.8.RELEASE to 5.1.0.RELEASE in /samples/client/petstore/java/webclient ( #5071 )
...
* Bump spring-webflux in /samples/client/petstore/java/webclient
Bumps [spring-webflux](https://github.com/spring-projects/spring-framework ) from 5.0.8.RELEASE to 5.1.0.RELEASE.
- [Release notes](https://github.com/spring-projects/spring-framework/releases )
- [Commits](https://github.com/spring-projects/spring-framework/compare/v5.0.8.RELEASE...v5.1.0.RELEASE )
Signed-off-by: dependabot[bot] <support@github.com>
* Bump spring-webflux version from 5.0.8 to 5.0.16
ref https://pivotal.io/security/cve-2020-5398
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
2020-01-22 17:00:52 +08: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
Jorge Rodriguez
06ba8317f9
Error in the reactive client when the path variables are a list ( #4687 ) ( #4689 )
...
* Error in the reactive client when the path variables are a list (#4687 )
* Update samples (#4687 )
2019-12-04 10:06:42 +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
Jorge Rodriguez
60958b78d9
[BUG] [Java] Client resttemplate and webclient. Form Params are badly added when they are lists ( #4461 )
...
* 4383: Client resttemplate and webclient. Form Params are badly added when they are lists
* 4383: Force redeploy
* 4383: Fix test
* 4383: Fix map
* 4383: revert change
* 4383: Fix test resttemplate-withXml
2019-11-17 09:01:40 +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
atsharp
9ceabc760c
[Java] Refactor webClient generator to use URI templates to capture correct metrics ( #4314 )
...
* Fixing URI templating for webclients to support Spring metric collection
* Revert accidental change to test
2019-11-12 16:17:38 +08:00
Jorge Rodriguez
94b58634a7
[Java]: Client resttemplate and webclient: array parameters of type integer in path badly generated ( #4379 )
...
* 4375: Client resttemplate and webclient: array parameters of type integer in path badly generated
* 4375: Fix samples
* 4375: Fix samples
* 4375: Fix samples
2019-11-12 16:15:34 +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
931908c77c
fix security alerts reported by github ( #4344 )
2019-11-01 11:16:36 +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
atsharp
d75d089bc9
[Java] Support cookie-based security schemas in Java clients ( #4155 )
...
* Adding cookie support and cookie-based AuthKeys to Java clients
* Fix indentation
* Revert accidental change
* Updating samples
* Fixing tests and regenerating samples
2019-10-19 18:05:02 +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