William Cheng
aced89ff8b
Add group parameter support to PHP client ( #1337 )
...
* add group parameter support to php template
* more update for group parameter
* fix call to protect function
* fix missing $
* update based on feedback
* create fake endpoint to test group parameters
* sync fake petstore spec v2, v3
* fix php doc for group parameters
* update petstore samples
* update fake petstore spec v2
* update petstore samples
* fix spec and update samples
2018-10-29 15:42:32 +08:00
William Cheng
3482a0a993
Merge remote-tracking branch 'origin/master' into 3.4.x
2018-10-26 21:04:25 +08:00
William Cheng
4a47acce19
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2018-10-26 18:41:58 +08:00
William Cheng
9422dea149
Merge remote-tracking branch 'origin/master' into 3.4.x
2018-10-26 18:40:37 +08:00
Dec12 | Fujigon
bb056ccf3d
[General] fix InlineModelResolver's logic and use openapi-generator's InlineModelResolver, so that nested "required" works correctly ( #1200 )
...
* fix InlineModelResolver's logis and use openapi-generator's InlineModelResolver, so that nested "required" works correctly
* add "required" to nested model schema
* update ensure-up-to-date to include openapi v3's jaxrs
* change test required field
* fix sample shell script, hide timestamp
* fix NPE
* move test case to petstore-with-fake-endpoints-models-for-testing.yaml
* fix jaxrs-jersey (oas3) example generate shell script to use petstore-with-fake-endpoints-models-for-testing.yaml
* add default value
* re-generate samples
2018-10-23 16:51:55 +08:00
William Cheng
9e3c7781bb
Merge remote-tracking branch 'origin/3.4.x' into 4.0.x
2018-10-16 16:08:11 +08:00
William Cheng
257a97b6cd
update petstore samples
2018-10-16 13:19:40 +08:00
William Cheng
ffd72767af
Prepare 3.3.2 snapshot version ( #1249 )
...
* release_version_update
* update readme
* restore felix version
* update petstore samples
2018-10-16 10:53:12 +08:00
William Cheng
999f472e4b
Refactor default and example values in Java generators ( #1045 )
...
* fix default, example for java okhttp
* update java feign samples
* update samples, doc
* add new doc for dart-jaguar
* update model template
* update jaxrs spec model
* update resteasy sample
* update java samples
2018-10-07 03:56:16 +08:00
William Cheng
5490bb8e9c
update petstore
2018-10-03 18:36:12 +08:00
William Cheng
4e8844273b
Prepare 3.3.1-SNAPSHOT ( #1154 )
...
* update version
* update petstore samples
2018-10-02 09:40:27 +08:00
William Cheng
1b2f3fbfb6
Fix alias to map response ( #1067 )
...
* fix response reference to map
* update samples
* add null check for openapi
2018-09-20 19:29:33 +08:00
William Cheng
39c734fc25
Better code format for Java (okhttp-gson) client ( #971 )
...
* better code format for java okhttp client
* update java petstore samples
2018-09-06 14:24:14 +08:00
William Cheng
3b2951b305
Merge remote-tracking branch 'origin/master' into 3.3.x
2018-08-30 19:39:09 +08:00
William Cheng
b8db2af4bb
Update swagger annotation version in Java clients ( #915 )
...
* update swagger annotation version in java client
* add java retrofit2 play 2.6 to java petstore all bin script
* remove empty line in pom.xml
2018-08-29 16:43:41 +08:00
William Cheng
704c1b8893
update petstore samples
2018-08-23 18:52:34 +08:00
William Cheng
780ba49da1
Merge remote-tracking branch 'origin/3.3.x' into 4.0.x
2018-08-23 18:39:54 +08:00
William Cheng
3d06900e68
Prepare 3.2.3-SNAPSHOT version ( #870 )
2018-08-22 13:39:20 +02:00
Jens Oberender
9bc335b35e
Forbiddenapis check and fix ( #672 )
...
* Added forbiddenapis check and fixed the findings in the normal code
* Fixed forbiddenapi findings in java templates and samples.
* Generated all samples for Java.
2018-08-22 06:06:01 +02:00
Victor Orlovsky
0191210145
[Java][Rest-assured] Fix generated javadoc and "swagger-annotations" improvement ( #831 )
...
Added "@Api" swagger annotation, "nickname" for ApiOperation.
Fixed javadock for rest-assured client.
2018-08-17 18:15:02 +02:00
Victor Orlovsky
e7340bfe5b
[Java][Rest-assured] Fix "invokerPackage" in ApiClient, remove unnecessary @Authorization ( #822 )
2018-08-16 06:15:15 +02:00
William Cheng
d1f7e16daa
Merge branch '3.3.x' into 4.0.x
2018-08-16 01:01:34 +08:00
Victor Orlovsky
7b8f51a465
[JAVA][Rest-assured] add more information about operations ( #815 )
...
Add swagger annotations to client and set default baseReqSpec and baseContextConsumer in ApiClient
2018-08-15 17:56:14 +02:00
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
William Cheng
21141f682f
Fix Javadoc string error in Java (rest-assured) client ( #702 )
...
* fix docstring
* trigger build failure
* Revert "trigger build failure"
This reverts commit 12cd26f0ca981db37d177a55001dac8b6afcd0bf.
* update java samples
2018-08-01 22:13:41 +08:00
Victor Orlovsky
82156b6639
Added constant "httpMethod", "summary" ( #697 )
2018-08-01 12:02:11 +08: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
Jeremie Bresson
eb09731a65
Merge remote-tracking branch 'origin/3.2.x' into 4.0.x
2018-07-18 12:32:55 +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
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
4a4fb77081
Merge remote-tracking branch 'origin/3.1.x' into 4.0.x
2018-06-14 13:30:57 +02:00
Jeremie Bresson
dbb44a153d
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-14 13:29:52 +02:00
Stian Liknes
680a2bc3ec
Configuration option to disable HTML escaping when using Gson ( #298 )
...
* Configuration option to disable HTML escaping when using Gson
The default implementation of Gson will escape certain characters by default. This
includes the `=` character, which is used in base64 encoding and cause problems when
deserializing the value to a base64 encoded string in a service.
Adding an option for disabling this feature makes it easier to generate client code
with sane defaults.
* Update Petstore sample
2018-06-14 19:27:52 +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