Jeremie Bresson
eb09731a65
Merge remote-tracking branch 'origin/3.2.x' into 4.0.x
2018-07-18 12:32:55 +02:00
Jérémie Bresson
1e596496a5
Prepare 3.1.2-SNAPSHOT ( #589 )
2018-07-18 11:44:23 +02:00
Daonomic
0a52f56ba4
Support for discriminator.mapping ( #536 )
2018-07-18 06:14:42 +02:00
William Cheng
deb5dcaad1
Merge remote-tracking branch 'origin/3.2.x' into 4.0.x
2018-07-14 01:42:02 +08:00
Jeremie Bresson
0cc60d39d2
Merge remote-tracking branch 'origin/master' into 3.2.x
2018-07-13 07:25:49 +02:00
John Wang
19fd48e33b
[Golang][client] fix formData
file
parameter name use ( #506 )
...
* support form-data file MIME `name` parameter
* update test spec and Go client for form-data file name
* update samples for ensure-up-to-date
* update mustache template
* update samples for Go client
* improve assignment location
* update samples
2018-07-13 00:53:38 +08:00
Jeremie Bresson
7f4fc4de93
Merge remote-tracking branch 'origin/3.2.x' into 4.0.x
2018-07-07 15:29:36 +02:00
Jeremie Bresson
23c04e2e66
Prepare version 3.2.0-SNAPSHOT
2018-07-07 06:14:58 +02:00
Jérémie Bresson
4b6fb504a2
Prepare version 3.1.1-SNAPSHOT ( #487 )
2018-07-07 06:05:19 +02:00
John Wang
0bffdf2463
[Golang][client] fix for schema definition name file
( #433 )
...
* fix schema/definition name as 'file'
* update samples
* Trigger CI due to previous Shippable race condition
* add fix with toModelName(openAPIType)
* update tests for file schema/definition name
* Update 3.0 test spec
* update samples
* update samples for jaxrs-cxf
* Trigger CI due to previous Shippable race condition
* add back explode
2018-07-05 20:32:24 +08:00
Jérémie Bresson
7a7e221210
[Java] option for the prefix of boolean getters ( #432 )
...
* Add "booleanGetterPrefix" option
* Create `docs/migration-guide.adoc`
2018-07-03 17:00:15 +02:00
William Cheng
862fe79f32
Minor improvement to Go client generator, move test case ( #430 )
...
* move test cases to under fake endpoint
* remove trailing spaces in the template
* update samples
* add new file
* minor fix to OAS3 spec
2018-07-02 10:23:12 +08:00
John Wang
e960fe9512
[Golang][client] fix undefined: localVarFile ( #382 )
...
* fix undefined: localVarFile
* add required formData file endpoints to 2.0 and 3.0 specs
* streamline api.mustache update
* update sampels
* update samples
* update samples
* update samples bin/jaxrs-cxf-client-petstore.sh
* update samples
* update samples
* update samples run-all-petstore
* update samples
* update samples
* Trigger CI due to race condition
* update samples
* update samples
* Trigger CI due to previous timeout
* Trigger CI due to previous Shippable timeout
* Trigger CI due to previous Shippable race condition
2018-07-01 16:58:45 +08:00
Jeremie Bresson
b0c02d8ea6
Merge remote-tracking branch 'origin/3.1.x' into 4.0.x
...
# Conflicts:
# samples/server/petstore/kotlin-server/ktor/.openapi-generator/VERSION
# samples/server/petstore/kotlin-server/ktor/README.md
# samples/server/petstore/php-silex/.openapi-generator/VERSION
2018-06-25 19:09:41 +02:00
William Cheng
a897feef50
Fix alias to map in the model's properties ( #360 )
...
* add test case for ref to map (boolean) in fake petstore spec
* fix alias to map in model properties
* remove logging from new method
* update samples for the new map test case
* fix javadoc string
* skip testSanitizeNestedInvalidValue in php test
* skip test in php oas3 client
* add logic to handle outer enum
* update samples
* fix alias in model's allOf
* generate models for map def
* update petstore samples
* update petstore samples
2018-06-21 22:59:02 +08:00
Jeremie Bresson
b887efdc1c
Initial commit for 4.0.0-SNAPSHOT
2018-06-12 06:40:07 +02:00
Jeremie Bresson
c223f28171
Initial commit for 3.1.0-SNAPSHOT
2018-06-12 06:27:26 +02:00
Jérémie Bresson
8ae1c814d5
Prepare 3.0.2-SNAPSHOT ( #285 )
...
Set version `3.0.2-SNAPSHOT`.
Follow up from #280
2018-06-11 13:22:03 -04:00
SiMing Weng
43b60e667e
[Java][RestTemplate] Fix query parameter URL encoding ( #260 )
...
* add URL encoding to the query parameters in case they have unsafe characters
* add comment
* update generated samples
2018-06-10 17:48:26 +08:00
Ben Mordue
0fb1ffa88b
[JAVA][Client] New object instead of null for empty POST request ( #98 )
...
new Object() for empty request body
2018-06-07 06:37:37 +02:00
Jérémie Bresson
1e5e1d4458
Prepare 3.0.1-SNAPSHOT ( #195 )
...
* Restore version to 3.0.0-SNAPSHOT
* Set version to 3.0.1-SNAPSHOT
* Run ensure-up-to-date
* Remove duplicated version declaration
2018-06-02 10:57:33 +08:00
Jérémie Bresson
673f2bc469
Add CodegenProperty.nameInSnakeCase ( #42 )
2018-05-15 13:17:04 +02:00
Jérémie Bresson
150d414b7e
Regenerate java clients ( #385 )
2018-05-09 07:45:53 +02:00
Jérémie Bresson
059a3efe46
Regenerate samples ( #367 )
2018-05-08 16:44:51 +08:00
Jérémie Bresson
e0b0248c38
Rename default package in java clients ( #218 )
2018-04-24 16:26:20 +02:00
Jérémie Bresson
c8c316e41e
Update java client samples OAS2 ( #140 )
...
* Update java client examples
* Rename artifactId in json config files
* Add imports in api.mustache for play24 and play25
2018-04-24 09:51:50 +02:00
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
Jérémie Bresson
2e50780e1d
Remove "swagger-" prefix from artifactId ( #170 )
...
* Remove "swagger-" prefix in the samples artifactId
* Rename some artifactIds to make them unique
2018-04-21 12:31:21 +02:00
Jeremie Bresson
53597764c3
Add OpenAPI spec 3.0 support (beta)
...
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com>
Co-authored-by: Jeremie Bresson <dev@jmini.fr>
Co-authored-by: Jim Schubert <james.schubert@gmail.com>
Co-authored-by: Martin Delille <martin@phonations.com>
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2018-04-17 09:19:10 +02:00
wing328
e5001a0c8d
java update petstore clients
2018-02-22 21:51:14 +08:00
William Cheng
2394fac677
update swagger annoatation version to 1.5.17 ( #7500 )
2018-01-25 23:29:20 +08:00
Ben Mordue
429b96ae7e
[JAVA] equals and hashCode for models with byte[] and binary strings ( #7341 )
...
* equals and hashCode methods for POJOs with byte array vars
* Also fix equals and hashCode for binary vars
* Ran script to update samples
2018-01-14 17:39:32 +08:00
wing328
73c338be58
Merge remote-tracking branch 'origin/master' into 2.4.0
2018-01-13 15:54:41 +08:00
William Cheng
8aef689d1b
[Java] allow setting boolean getter (is, has, get) in templates ( #7344 )
...
* allow setting java boolean getter (is, has, get) in templates
* update msf4j boolean getter
* update jaxrs-spec boolean handler
* update jaxrs boolean getter
* update reasteasy, spring, cxf boolean getter
* update inflector boolean getter
* update java play boolean getter
* update java boolean getter
* update spring samples
2018-01-13 15:19:02 +08:00
craffael
9a284776d8
[Java] Fix serialization of the discriminator field when using GSON ( #7075 )
...
* set discriminator on object construction...
* regenerate all java samples
* run bin/java-msf4j-petstore-server.sh
* remove extra newline
2018-01-07 23:10:32 +08:00
ryandavis84
6d2d4298df
Gatling generator2 issue #6927 ( #6934 )
...
* Initial commit, Generates everything necessary to run a performnace test against a swagger api. Just have to fill out the CSV feeder files with your data.
* adding samples and gatling-petstore.sh file
* Extending the AbstractScalaCodeGen
* Checking in the CodegenConfig file as it is needed to generate
* removing escaped reserved words
* Changed model to be able to make all variables utilize an underscore while json fields are still just the variable name
* Changing underscore to var as interpolation can not start with a _ in scala
* Fixing path params
* allow you to pass in a system property to define which config to use as a workload profile, use rate and instance multipliers to scale up and down your test, added ramp down after the test is completed, added global assertions.
* Addressing PR feedback
* missed semi-colon
* Bringing everything up to date with the renames that were suggested
2018-01-07 17:18:36 +08:00
William Cheng
c774e98464
update swagger parser, core version the latest ( #7163 )
2017-12-13 18:08:26 +08:00
wing328
088eef5927
update petstore samples
2017-11-27 17:16:44 +08:00
wing328
404b526dbe
update resttempalte java petstore samples
2017-11-21 00:48:39 +08:00
wing328
d04d280d1b
update java petstore samples
2017-11-16 17:09:59 +08:00
wing328
cf5eba87bd
update circleci to cover java google-api client, update Java petstore
...
samples
2017-11-03 18:49:32 +08:00
Brian Kim
044bfdac39
Fix #6166 by adding @Deprecated annotations in Java jersey2, okhttp-gson, resteasy libraries ( #6801 )
2017-10-25 11:10:03 +08:00
wing328
2f98ade693
fix inconsistent java naming ( #6624 )
2017-10-06 11:03:15 +08:00
Gökberk Karaca
b0333af8bd
Fix unexpected text error in javadoc by replacing url with html tag ( #6279 )
2017-08-11 08:50:36 +08:00
wing328
7aee5b6ee7
update java petstore sample, reenable test for resttemplate-withxml
2017-08-03 17:09:38 +08:00
Chandan Singh
1c4e77585f
Issue 6172 ( #6173 )
...
* Changes to allow field names as examples for string properties and multiple items in array during example generation
* Reverting the version to 2.3.0-SNAPSHOT and autogenerated petstore files
2017-08-02 17:59:54 +08:00
wing328
927055a681
[Java] MIME type "*/*" default to JSON ( #6188 )
...
* update java petstore
* minor fix to docstring
* roll back resttemplate with xml petstore due to errors
* minor fix to resttemplate isjson check
2017-07-27 11:36:29 +08:00
Andrea Rossi
66f2f70634
Add execute permissions to gradlew ( #6168 )
...
Some of the gradlew files don't have execution permission, so this adds it.
2017-07-26 15:30:09 +08:00
wing328
c1825b417c
use html-escaped description for C# (client, server), Java server ( #6061 )
2017-07-14 23:36:24 +08:00
wing328
42b77a303b
[Java][resttemplate] fixed build.gradle ( #6020 )
...
* fix build.gradle for resttemplate
* rename pom.xml id to avoid dup
2017-07-11 18:33:53 +08:00