William Cheng
81f970e946
Add @Zomzog (2019/04) to Java, Kotlin tech comm ( #2630 )
...
Add @Zomzog (2019/04) to Java, Kotlin tech comm
2019-04-09 17:23:46 +08:00
Jim Schubert
76e444b9aa
[maven] remove validateSpec ( #2614 )
...
Aligning the option with CLI and Gradle Plugin, this keeps
`skipValidateSpec` and removes the redundant `validateSpec`.
2019-04-09 17:14:19 +08:00
kacbuk001
07ebccd455
Clean up the license field in various templates to ensure it's unlicense by default. ( #2627 )
2019-04-09 10:38:06 +08:00
Thibault Duperron
2c26fd3a89
Fix NPE when server url is null ( #2628 )
...
Fix #2625
2019-04-09 10:36:15 +08:00
kymbalon
c88174eafd
Null-safe check of CodegenSecurity Booleans ( #2608 ) ( #2619 )
...
* Null-safe check of CodegenSecurity Booleans (#2608 )
* Null-safe check of CodegenSecurity Booleans (#2608 )
2019-04-08 21:39:29 +08:00
William Cheng
25d39c3634
add new kotlin sample file
2019-04-06 18:42:33 +08:00
Vincent Devos
783f16fea6
[New Generator shell] improve gen_name parsing ( #2565 )
2019-04-05 22:01:06 -04:00
Thibault Duperron
ff9401fee5
Fix SkipValidSpec ( #2583 )
...
For #2319
2019-04-05 21:40:10 -04:00
Victor Orlovsky
b444456ec8
[Java][Rest-assured] Update dependencies for rest-assured client ( #2599 )
...
* Update dependencies for rest-assured client
* Return okio_version in build.gradle.mustache
2019-04-06 00:26:11 +08:00
Thibault Duperron
42a9368d91
Fix JaxRS-Jersey template for files upload ( #2570 )
...
* Fix JaxRS-Jersey template for files
For #2474
* Samples
* PR Review
* Samples
* Add openapi3 to sample script jaxrs server all
* Sample
2019-04-05 23:58:28 +08:00
HichemChiouchiou
1436ee1da6
correction of alias to generate php-symfony ( #2547 )
...
* [BUG][php-symfony] Fix alias generation
* fix
* add bundle alias option and alias logic when it is not defined
* run bin/utils/ensure-up-to-date to update php-symfony.md
2019-04-05 22:51:31 +08:00
Mike Wilkes
67b3766332
[Issue#392] Correct issue with OAuth scopes not propogated correctly ( #1982 )
...
If a path defined security to an OAuth type, and defined scopes, the scopes from the
components definition were still being used, rather than the (most likely shorter) list
of specific scopes for the path.
This copies all the component security information over EXCEPT for the scopes. The scopes
to be included are determined by the path's security settings.
NOTE: Modified the petstore.yaml file so the GET operations only have read:pets scope and
utilized the Kotlin server sample to verify output. Sample output updated only for this scenario
2019-04-05 18:49:29 +08:00
Jacob Weber
b5ede4b339
Send "true" or "false" for boolean params. ( #2257 )
...
* Send "true" or "false" for boolean params.
* run ./bin/openapi3/php-petstore.sh
2019-04-05 07:39:46 +08:00
Akihito Nakano
39553af06e
Improve InlineModelResolver: MapSchema support ( #1800 )
...
* Add test case to test resolving MapSchema
* Fix expected value
2019-04-05 07:34:21 +08:00
William Cheng
9368bea130
add free form object support to ts fetch ( #2453 )
2019-04-05 07:20:26 +08:00
Deniz
d9ae80f76f
[typescript-axios] removing namespaces from enums ( #2502 )
...
* remove namespaces in typescript-axios
* clean-up
* update samples
* update tests
* add with-npm-version-and-separate-models-and-api to all.bat
* update with-npm-version-and-separate-models-and-api samples
* update typescript-axios docs
2019-04-05 07:18:47 +08:00
Thibault Duperron
3502afb2e4
Fix #2554 ( #2568 )
2019-04-05 07:04:22 +08:00
Olivier Guyot
596354ec17
Fix handling of --model-name-prefix|suffix in typescript-angular ( #2590 )
...
These will be removed as well when generating import path & model file names.
Previously only the language-specific `modelSuffix` was removed.
2019-04-05 06:59:20 +08:00
Nate Bross
4d1c115f8f
fixes https://github.com/OpenAPITools/openapi-generator/issues/2564 ( #2601 )
...
Add configuration to reserved words list for typescript-fetch
2019-04-05 06:52:35 +08:00
Hector Jusforgues
7dcd488278
[typescript-axios] Fix Bearer authentication ( #2578 )
...
* [typescript-axios] Fix Bearer authentication
It was generated the same as Basic authentication. Now we handle both cases differently.
Fix #1446
* [typescript-axios] Bearer authentication : use config.accessToken instead of config.password
As it is done in the angular client: 0889b8ec13/modules/openapi-generator/src/main/resources/typescript-angular/api.service.mustache (L213-L220)
2019-04-05 06:50:48 +08:00
Vincent Devos
117efe83c0
[Doc] Better highlight of generators docs page with generators specific parameters ( #2592 )
...
* [Doc] Better highlight of generators docs page with generators specific parameters
* [Doc] Better highlight of generators docs page with generators specific parameters
2019-04-05 06:38:33 +08:00
Vincent Devos
158ac6d178
[JAVA] remove File.separator use for projectFolder/projectTestFolder/sourceFolder/testFolder ( #2596 )
2019-04-05 06:22:55 +08:00
Gursahib Singh Sahni
77f878042d
[DOC] Elaborate usage of implicitHeader option ( #2598 )
...
* [DOC] Elaborate usage of implicitHeader option
* Improvising implicitHeaders documentation
* Pushing uncommitted changes. Period char was missed
2019-04-05 06:21:10 +08:00
William Cheng
23476fb66a
Revert "update version ( #2591 )" ( #2597 )
...
This reverts commit b3146c9983
.
2019-04-05 00:26:30 +08:00
William Cheng
b3146c9983
update version ( #2591 )
2019-04-04 20:50:50 +08:00
Thibault Duperron
b7b68ce0bc
Change default inline object name ( #2569 )
...
* Change default inline object name
For #2516
* PR Review
* throughout
2019-04-04 12:17:03 +08:00
Jérémie Bresson
d42b6d987a
Update TestNG version ( #2582 )
2019-04-03 10:32:54 +02:00
Thibaud Sowa
0889b8ec13
Support OAuth without 'expires_in' data ( #2563 )
...
[Java][Feign] Support OAuth without 'expires_in' data
2019-04-02 17:43:56 +08:00
Akihito Nakano
887b02c818
Add ZOZO Technologies ( #2573 )
2019-04-02 16:08:52 +08:00
koki
5a34f8428c
Add link to the article "OpenAPI3を使ってみよう!Go言語でクライアントとスタブの自動生成まで!" ( #2572 )
2019-04-02 15:44:48 +09:00
Jim Schubert
128da8e84b
[aspnetcore] Feature/cleanup (contributor rebase) ( #2506 )
...
* Add optValue to CliOption
* Fix compilation with ASP.Net Core 2.1
* Add ASP.Net core 2.2
* Use CliOption for classModifier, operationModifier, buildTarget, add ASP.Net core 2.2
* Make abstract method look cleaner
* Update docs
* Regenerate sample
2019-04-01 21:07:35 -04:00
Esteban Marin
ec42aca438
#2503 : fix out-of-memory issue with nested objects with arrays with maxItems set by limiting to max. 5 example items ( #2536 )
2019-04-01 14:01:09 -04:00
William Cheng
b55cdfbe53
remove emitDefaultValue option ( #2559 )
2019-04-01 08:41:27 -04:00
William Cheng
182264cbdd
fix EmitDefaultValue default vallue with false ( #2558 )
2019-04-01 15:56:16 +08:00
Luis Alejandro Herrera León
ee69861a90
Added API Key auth to rust-server ( #2459 )
2019-04-01 15:41:36 +08:00
William Cheng
69ad9a9957
remove initialCaps and replace with camelize ( #2546 )
2019-04-01 11:21:11 +08:00
Thibault Duperron
9c7d4073f4
Add packageName configuration to maven ( #2429 )
2019-03-31 22:28:22 -04:00
Vincent Devos
f4fa941e2b
[Typescript AngularJS] fix Extra package prefix in api parameters operations ( #2522 )
2019-04-01 09:55:06 +08:00
Igor Luzhanov
c81c09b941
#1023 - [Scala] Use status family during response processing ( #1024 )
...
* #1023 - [Scala] Use status family during response processing
* #1023 - [Scala] Use status family during response processing - adding REDIRECTION & INFORMATIONAL support
2019-03-31 19:06:39 +08:00
Karol Dudzinski
822234dd76
Generate setters for readonly properties in server code ( #1582 )
...
* generate setters for readonly properties in server code
* rollback DefaultGenerator change and remove isReadOnly tags from jaxrs server template
* updating petstore
* more petstore updates
2019-03-31 17:11:26 +08:00
William Cheng
18b500218a
[JS] fix NPE for null string and improve Travis config file ( #2553 )
...
* fix NPE with null string
* update travis for nodejs
* update js samples
2019-03-31 16:15:09 +08:00
Andy
977df6e232
[elm] Update ISO 8601 library (fixes missing time zone designator) ( #2545 )
...
This updates works with ISO 8601 strings with missing ending "Z". This
is e.g. the default configuration used by spring boot in java.
See <https://github.com/rtfeldman/elm-iso8601-date-strings/pull/18 >
2019-03-30 20:58:17 +01:00
Vincent Devos
976ab4fd0f
[csharp] update sample after #2528 ( #2550 )
...
* [csharp] update sample after #2528
* [csharp] update sample after #2528
* [csharp] update sample after #2528
2019-03-30 16:53:50 +08:00
Vincent Devos
8977d7b366
[JavaScript] fix index.js, ApiClient.js and test files generated to incorrect location ( #2511 )
...
remove outdated samples files
update test dependencies
2019-03-30 10:04:44 +08:00
drl-max
c4d982f775
Aspnetcore nullable support ( #2529 )
...
* Added nullable support to aspnetcore server
* Regenerated aspnetcore Petstore sample
* Implemented changes based on #1819 .
2019-03-30 09:39:53 +08:00
drl-max
f26d7bdea7
Csharp nullable support ( #2528 )
...
* Added nullable-type support to CSharpClientCodegen
Overrode getNullableType method
Added non-nullable type varients to 'typeMapping' collection
Removed nullable type shorthand from api template
* Added testcase for nullable support
Set Integer property to not be nullable. Expect no '?' in baseType
Set String property to be nullable. Expect no '?' in baseType
* Implemented changes to 'csharp' generator from PR #1819 .
2019-03-30 09:38:23 +08:00
sunn
3bb4edf865
[C++] [Qt5] Add enum support for client and server ( #2339 )
...
* Add enum support to Qt5 client and server
* Correct model name prefix
* Remove tabs
* Correct wrong filename when prefix used
2019-03-30 09:32:06 +08:00
Tanguy Invernizzi
0bc06f8d4d
Fixed typo in migration-from-swagger-codegen.md ( #2548 )
2019-03-29 23:35:05 +08:00
Vincent Devos
d056df6250
[TypeScript Client] fix install Aurelia + fix use deprecated function ( #2514 )
...
* [TypeScript Client] fix install Aurelia + fix use deprecated function in typescript client codegen
* [TypeScript Client] Aurelia - update typescript version
* [TypeScript Client] Aurelia - update typescript version
2019-03-29 18:07:30 +08:00
Vincent Devos
cd6779584f
[KOTLIN] fix var name not correctly sanitized ( #2537 )
2019-03-29 17:57:37 +08:00