William Cheng
df815344d1
fix NPE in body parameter due to incorrect parameter/consume ( #563 )
2018-07-14 20:19:10 +08:00
Daniel Miller
a6e15d7569
Fix handling of UUID types ( #554 )
2018-07-14 16:42:24 +08:00
William Cheng
deb5dcaad1
Merge remote-tracking branch 'origin/3.2.x' into 4.0.x
2018-07-14 01:42:02 +08:00
William Cheng
478d6ced4e
Merge remote-tracking branch 'origin/master' into 3.2.x
2018-07-14 01:35:54 +08:00
Jean-François Côté
791f836e3d
This fix the problem of having UNKNOWN_BASE_TYPE and "Object" type ( #383 )
2018-07-14 01:30:07 +08:00
jason-cohen
cd854b2130
Add check for list size before attempting to set last element field value. ( #557 )
2018-07-13 23:42:14 +08:00
Akihito Nakano
26e70fe642
[Ruby] Rename files/folders ( #534 )
...
* Rename templateDir: rails5 -> ruby-on-rails-server
* Rename script: rails5-petstore-server.sh -> ruby-on-rails-server-petstore.sh
* Rename sample folder: rails5 -> ruby-on-rails
* Rename script(openapi3): rails5-petstore-server.sh -> ruby-on-rails-server-petstore.sh
* Update ruby-on-rails-server-petstore.sh
* Rename templateDir: sinatra -> ruby-sinatra-server
* Rename script: sinatra-petstore-server.sh -> ruby-sinatra-server-petstore.sh
* Rename sample folder: sinatra -> ruby-sinatra
* Update script
* Rename templateDir: ruby -> ruby-client
* Rename script: ruby-petstore.sh -> ruby-client-petstore.sh
* Update scripts
* Update samples
- bin/ruby-sinatra-server-petstore.sh
- bin/ruby-on-rails-server-petstore.sh
- bin/ruby-client-petstore.sh
- bin/security/ruby-client-petstore.sh
2018-07-13 22:28:17 +08:00
Jeremie Bresson
0cc60d39d2
Merge remote-tracking branch 'origin/master' into 3.2.x
2018-07-13 07:25:49 +02:00
Benjamin Gill
6c14b4271f
Handle headers correctly ( #549 )
...
We were previously relying on some incorrect behaviour of the old
swagger-codegen mustache engine.
2018-07-13 01:55:56 +08: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
John Wang
93832340a5
add RFC-3339 formatting to parameterToString ( #502 )
2018-07-13 00:50:21 +08:00
Tomasz Prus
a0936bec02
feat: use local_var_params to avoid collision with api parameters ( #521 )
2018-07-12 21:30:57 +08:00
Jérémie Bresson
84129a7da1
Remove secondary dependencies ( #529 )
2018-07-11 12:14:46 +02:00
William Cheng
0d952b79db
Improve logging in Python client ( #480 )
...
* improve logging in python client
* update samples
2018-07-10 22:12:09 +08:00
Dennis Kieselhorst
0a2131d2d3
update CXF and Jackson to latest version ( #496 )
2018-07-10 18:23:18 +08:00
John Wang
86a0445984
Add default http scheme for server URL, Fix #181 ( #498 )
2018-07-09 10:45:28 +08:00
John Wang
9103ddb7fa
add graceful error for io.airlift.airline.ParseArgumentsUnexpectedException ( #494 )
2018-07-08 23:00:22 +08:00
John Wang
a14e757059
fix cache-expires-ineffassign ( #466 )
2018-07-08 12:38:04 +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
8f6bb8d9ec
Merge remote-tracking branch 'origin/master' into 3.2.x
2018-07-07 09:13:54 +02:00
John Wang
b380e8f2a9
[CLI] Add --generator-name / -g to config-help ( #491 )
2018-07-07 07:48:47 +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
William Cheng
100ec449fe
3.1.0 release ( #486 )
...
* 3.1.0 release
* Comment ./bin/utils/ensure-up-to-date
2018-07-06 23:37:48 +08:00
William Cheng
7404ecb11e
show warning message for nodejs server only ( #481 )
2018-07-06 17:29:49 +08:00
Yuriy Belenko
9eeedede49
[Slim] Improve codebase decouple ( #438 )
...
* [Slim] Decouple Api files into separated PHP Classes
This enhancement required for modular testing and code coverage generating.
* [Slim] Define all app routes in SlimRouter PHP Class. Generate new samples
2018-07-06 14:37:14 +08: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
John Wang
33fcd28dba
[Golang][client] fix file suffix for _test.go ( #449 )
...
* add file suffix fix for _test.go
* Trigger CI due to previous Shippable race condition
* Trigger CI due to previous Shippable race condition
* Trigger CI due to previous Travis CI stall
* Trigger CI due to previous Travis CI stall
* Trigger CI due to previous Shippable race condition
* add Go client test testFilenames
2018-07-05 14:02:10 +08:00
Jérémie Bresson
ab8ec45b50
Use postProcessOperationsWithModels(Map, List) ( #431 )
...
Instead of postProcessOperations(Map)
2018-07-05 12:31:06 +08:00
Jérémie Bresson
1d69566cb1
Sanitize pipe in var name ( #461 )
2018-07-05 12:26:46 +08:00
Jérémie Bresson
b0cae23777
[java-client] WebClient requires java8 ( #460 )
...
* Usage of webclient library forces java8 to be true
* Run bin/java-petstore-webclient.sh
2018-07-05 12:26:02 +08:00
Akihito Nakano
ef2b372dd3
[Node.js] Add a message which notify that the generated server doesn't work ( #456 )
...
* Add message which notify that the server doesn't work
* Update samples
2018-07-05 12:25:17 +08:00
developersteve
020883fd4d
[Java] version in the generated README dependent from {{java8}} ( #380 )
2018-07-04 13:05:14 +02:00
Daonomic
b90c53deb6
[Java-client] Add Spring 5 WebClient as new library ( #435 )
2018-07-04 09:40:57 +02:00
TNM Technologies
d6e950f681
[jaxrs-resteasy] multiple values for @Produces annotation are separated by a comma ( #445 )
...
* fix: The values for @Produces annotation were not separated by a comma.
* Add test case for #443
2018-07-03 23:46:24 +02:00
Geoff Brown
960412a9b4
Restructure TypeScript Node generation into separate files (PHNX-1041) ( #363 )
2018-07-03 17:03:40 +02: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
Jérémie Bresson
3d64bd0c49
[java-jaxrs] Fix paths when useTags=true is used ( #437 )
...
* Add test case for the existing implementation
* Introduce {{commonPath}}
* Update samples
2018-07-03 15:31:26 +02:00
Akihito Nakano
0137763997
Improve generation of README which has long description ( #400 )
...
* Add `appDescriptionWithNewLines`
* Add test case for escapeText as well
* Ruby client allows new lines in README
* Add doc comment
* fix issue related to github web gui
* the case of no description provided
* Run `./bin/utils/ensure-up-to-date`
https://app.shippable.com/github/OpenAPITools/openapi-generator/runs/1118/1/console
2018-07-03 21:25:27 +08:00
tomvangreen
dcc0c17a29
typescript-angular: add serviceSuffix and serviceFileSuffix parameters suffix ( #418 )
2018-07-03 13:38:21 +02:00
Raphael Ochsenbein
be68ef502e
Inject basepath through configuration in generated service for angular, create test cases for angular 6 ( #367 )
2018-07-03 17:55:26 +08:00
Günther Grill
c1eda61874
Fix some Kotlin formatting issues and make source more Kotlin like ( #427 )
2018-07-03 08:25:48 +02:00
sunn
bece8d2a39
[aspnetcore] Add processing of Port defined in spec ( #368 )
2018-07-03 08:23:43 +02:00
sunn
83e14a7b44
[golang] Fix Null pointer exception in toVarName ( #377 )
2018-07-03 05:58:05 +02:00
Jérémie Bresson
001f5ae50d
Mock generator for tests ( #429 )
...
Create MockDefaultGenerator class for tests
2018-07-02 17:38:07 +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
Yuriy Belenko
412923ab5f
[Slim] Refactoring ( #402 )
...
* [Slim] Cleanup samples. composer.lock excluded from .gitignore
composer.lcok should be commited to SVN. Official recommendation https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control
* [Slim] Refactor. Extend AbstractPhpCodegen class
* [Slim] Adjust the names (script, sample folder, generator) to lang option
2018-07-02 00:16:55 +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
Akihito Nakano
8bddf12e05
[Ruby] Make rake tasks required to publish gem available ( #424 )
...
* Make tasks reuired to publish gem available
https://github.com/OpenAPITools/openapi-generator/issues/423
* Update samples
- bin/ruby-petstore.sh
- bin/security/ruby-petstore.sh
2018-07-01 14:36:48 +08:00
Jérémie Bresson
a02b313b89
ModelUtils: isMap only if additionalProperties is a Schema ( #410 )
...
Fix for issue #409
2018-07-01 07:31:36 +02:00