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
Jeremie Bresson
e172379f04
Update jersey samples
2018-07-01 17:43:19 +02: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
Akihito Nakano
8e648e4d95
[PHP] Remove unnecessary IF statement ( #421 )
...
* Delete unused IF statement
JSON_PRETTY_PRINT is available since PHP 5.4.0
* Update samples
- bin/php-petstore.sh
- bin/security/php-petstore.sh
- bin/openapi3/php-petstore.sh
2018-06-30 20:30:25 +09:00
William Cheng
e5a42ab277
add link to presentation at JHipster conf 2008 ( #422 )
2018-06-30 18:52:11 +08:00
Jérémie Bresson
2604c935cf
Add test cases for addProducesInfo(..) ( #420 )
2018-06-30 10:29:10 +02:00
Thomas Townsend
79856abae9
Fix subResourcePath when using tags in java-jersey ( #215 )
2018-06-30 10:23:04 +02:00
Jérémie Bresson
1f1a47c57b
Obtain the example value from examples ( #419 )
...
* Fix error: "GET operations can not have a requestBody"
* Add support for "examples" in addition to "support example"
2018-06-30 06:58:30 +02:00
Akihito Nakano
0c11718917
Revise how to obtain the example value ( #183 )
2018-06-28 18:14:01 +02:00
Jérémie Bresson
9b909df543
Prepare 3.1.0-SNAPSHOT ( #408 )
2018-06-28 06:52:40 +02:00
akihito.nakano
aedd2dea45
Update badges
2018-06-28 07:37:17 +09:00
akihito.nakano
5154712050
Use last prod version in docs/examples
2018-06-28 07:27:31 +09:00
akihito.nakano
76d87183c0
Use last prod version
2018-06-28 01:12:23 +09:00
akihito.nakano
0e31e4cff5
Re-enable ./bin/utils/ensure-up-to-date
2018-06-28 00:55:00 +09:00
akihito.nakano
23571046fb
Merge remote-tracking branch 'upstream/master' into prepare-310
2018-06-28 00:53:58 +09:00
Akihito Nakano
34ad6d5ac8
Release 3.0.3 ( #406 )
...
* Remove the SNAPSHOT version
bin/utils/release_version_update.sh 3.0.3-SNAPSHOT 3.0.3
* Disable ensure-up-to-date temporarily
2018-06-27 22:44:56 +09:00
Jean-François Côté
9990ddbe52
Merge pull request #385 from etherealjoy/fix_new_keyword_collection
...
[aspnetcore] Fix new keyword collection
2018-06-27 08:07:38 -04:00
Thibault Duperron
b6717a5bad
[Java, kotlin] Manage List<Integer> datatype for enum ( #75 )
2018-06-27 05:51:35 +02:00
Jérémie Bresson
ea81b0c833
Restore unit test that consider minLength, maxLength and pattern ( #401 )
...
when they are defined in a in referenced schema
Originally introduced with 6b8079808b
(#45 ),
commented with 85090f5068
(#82 ).
2018-06-26 09:11:27 +02:00
John Wang
0eb385c0d6
Update path in error message ( #403 )
2018-06-26 09:05:21 +02:00
Jeremie Bresson
66b73e906e
Merge remote-tracking branch 'origin/master' into 3.1.x
2018-06-25 18:58:54 +02:00
Benjamin Gill
d3b1721da0
[rust-server] Update to error-chain 0.12 ( #395 )
...
* Update to error-chain 0.12: 0.11 doesn't work with Rust 1.27.0 (new warnings)
* Revert commit 845df89e95
2018-06-25 18:17:47 +02:00
Akihito Nakano
9e2fcda357
[JMeter] Rename codegen class, template folder ( #387 )
...
* Rename JMeter client generator class name
* Rename jmeter template folder
* Update samples
2018-06-25 13:46:52 +08:00
tomvangreen
38bb732673
Typescript Angular 2: Make service suffix configurable ( #341 )
...
* Added serviceSuffix and serviceFileSuffix parameters to control the suffixes of generated class and file names
* Updated TypeScriptAngularClientOptionsProvider to include the new serviceSuffix and serviceFileSuffix parameters
* Fixed part in generator where hardcoded 'Service' suffix was used.
* Made the . in the service file name part of the config setting
* Updated cli message
2018-06-25 12:17:32 +08:00
Jan Prieser
a0bfe2bf72
WIP: new javascript flowtyped generator ( #176 )
...
New Javascript flowtyped generator
2018-06-25 12:04:10 +08:00
sunn
c01f4bf220
[cpp-qt5] sanitize model names ( #388 )
...
* Escape characters that have language significance
* Remove assignment to parameter variable
2018-06-25 11:51:24 +08:00
etherealjoy
f45ec312ee
Updated as requested to use isMapModel
2018-06-24 09:21:47 +02:00
etherealjoy
dd4b1aff2e
Update samples
2018-06-24 00:46:23 +02:00
sunn
92a0e4e7d8
Remove 'new' keyword from collection
2018-06-24 00:28:53 +02:00
Yuriy Belenko
36f4452351
[Slim] Upgrade API server integration tests to use Fake Petstore spec ( #354 )
...
* [Slim] Shell script points to petstore-with-fake-endpoints-models-for-testing.yaml. Slim init and new models has been generated.
* [Slim] Bugfix. Special value */* in opperation produces escaped to avoid PHP syntax errors.
* [Slim] Add own private static final LOGGER
* [Slim] Bugfix. toModelName method copied from PHPClient codegen which handles Fake Petstore spec much better.
* [Slim] Sort operations in supporting files data to avoid shadowing static routes.
* [Slim] Mustache index.php update. Params parsing enhanced.
* [Slim] Tiny cleanup. Unnecessary empty space removed.
* [Slim] Security fix. toOperationId method copied from PhpClientCodegen.
* [Slim] Bugfix. formData params parsing restored.
* [Slim] Proper .gitignore added to PhpSlimServerCodegen. Vendor folder with all dependencies removed to keep repo more clean.
* [Slim] Slim dependency update to 3.10.0. Few test fake endpoints fixed by this upgrade.
2018-06-23 12:10:38 +09:00
William Cheng
845df89e95
disable rust server test due to lint error ( #379 )
2018-06-23 10:32:30 +08:00
Jérémie Bresson
8f4df45fb4
Consider ComposedSchema in DefaultCodegen#fromRequestBody(..) ( #358 )
2018-06-22 10:44:14 +02:00
stkrwork
23ab5177b3
[C++][Pistache] Fix optional error and wrong function signatures ( #264 )
...
* Added missing includes for optional
* Removed shared pointer from pistache generator
* Changed Net namespace to Pistache Namespace
* Clean up code and removed unnecessary lines in mustache files
* Removed remaining shared pointer syntax
* Code review fixes + updated samples
* Added const to all model setter functions, and reference to all params in setters that are not primitives
* Refactored modelbase
* Removed const
* Updated samples
2018-06-22 09:12:35 +08:00
William Cheng
825e4e99e3
disable erlang server test due to dependency issue ( #375 )
2018-06-22 01:20:38 +08:00
William Cheng
4cb51ac7c1
add wording to clarify the relationship with OAI ( #374 )
2018-06-21 11:36:39 -04: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