Jérémie Bresson
79b993e6d5
Prepare version 3.2.2-SNAPSHOT ( #810 )
2018-08-14 13:38:18 +02:00
William Cheng
90a8b81728
Prepare 3.2.1-SNAPSHOT release ( #748 )
...
* prepare 3.2.1 SNAPSHOT release
* update doc to use 3.2.0 stable version
2018-08-07 01:31:37 +08:00
William Cheng
be2a0170b7
Merge remote-tracking branch 'origin/master' into 4.0.x
2018-08-03 00:10:34 +08:00
William Cheng
ab08dd1d26
Better handling of operationID starting with numbers ( #691 )
...
* add numeric operationid to test spec
* better handling of operationId in more generators
* fix go toOperationId
* update samples
* update java samples
* update java samples (vertx, webclient)
* update java google api client sample
* fix typo, update OAS3 test spec, update php petstore (oas3)
* defer camelize in operationid
* remove duplicated sanitizeName
2018-08-01 22:31:58 +08:00
Rubén Martínez
68d80ab67d
[Java][Client][RestTemplate] Fixed invalid URL-encoding of query parameters ( #646 )
...
Fix for the #644
2018-07-30 08:38:10 +02:00
William Cheng
75e5ed2f68
Merge remote-tracking branch 'origin/master' into 4.0.x
2018-07-26 22:51:23 +08:00
Jérémie Bresson
a8e8acead7
[java] add useNullForUnknownEnumValue option ( #633 )
2018-07-26 11:00:45 +02:00
William Cheng
024dde11d7
Merge remote-tracking branch 'origin/3.2.x' into 4.0.x
2018-07-23 23:05:25 +08:00
William Cheng
667e3130fe
Merge remote-tracking branch 'origin/master' into 3.2.x
2018-07-23 23:04:28 +08:00
Rubén Martínez
0da55081c9
[Java][Client][RestTemplate] Do not create new Object for empty body ( #605 )
...
#513 Fixed error that causes exception when trying to perform HTTP requests without a body and an empty Object is used as body instead. In these cases an exception is thrown indicating that it is not possible to find a message converter for java.lang.Object and application/json.
2018-07-20 17:49:12 +02:00
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