Commit Graph

7387 Commits

Author SHA1 Message Date
Fabrizio Ferrai
250e5284cd [haskell-servant] Add some missing types to the generated modules (#2675)
* Add some missing types to the generated modules

* Run bin/openapi3 script
2019-05-04 17:05:15 -05:00
Andy
6b94aba8a1 [Elm] Bugfix .encode in modelTypeDiscriminator (#2807)
The function is called `encode`. This fixed the call.

See dfa7e616c0/modules/openapi-generator/src/main/resources/elm/modelTypeArray.mustache (L11)
2019-05-04 15:24:47 +02:00
Jim Schubert
73d9d2d641
Apply strict spec option to CodegenConfig instance (#2814) 2019-05-03 19:32:05 -04:00
sunn
561c1e0646
Use super class methods for Model and Api Filenames (#2787) 2019-05-03 19:14:12 +02:00
Jim Schubert
a2fb88c1c1
[all] Adds strict spec option (#2783)
* [all] Adds strict spec option

Introduces an option to allow user customization of strict specification
behaviors. For instance, OpenAPI 3.x requires a path object name to be
prefixed with '/' so we append any missing '/', but this may not be
desirable to some users or generators. In this commit, this fix specifically is
the only modification affected.

* Clarify strict-spec docs, add option to README.md

* Update CLI options in docs/usage.md
2019-05-03 10:57:47 -04:00
William Cheng
e71eb3020c
add warning about .net 2.0 framework without support (#2804) 2019-05-03 22:44:39 +08:00
Jérémie Bresson
814d5b3cc2
[java] add test for Enum_Test (#2801) 2019-05-03 10:15:34 +02:00
Vincent Devos
bd0d6af968 [TypeScript-axios] fix using withSeparateModelsAndApi and withoutPrefixEnums with additional-properties option (#2719) 2019-05-03 11:40:20 +08:00
sunn
d373cde1df
[ASP.NET Core]Switch registry to MCR for dotnet images (#2789)
* Switch registry to MCR for dotnet images

* Update PetStore

* Reverted EOL image tag 2.0
2019-05-02 19:23:01 +02:00
sunn
d112eea088
Process server port (#2782) 2019-05-02 19:22:23 +02:00
sunn
1c16d9a9e8
[C++][Pistache]Fix import of model header (#2781)
* Fix import of model header

* use method from super class
2019-05-02 19:20:23 +02:00
Jim Schubert
bd775a992c [general] Remove swagger-codegen "lang" mappings (#2785)
For 4.0.0, we've removed the "lang" option. This removes any mappings
from swagger-codegen "lang" to openapi-generator "generator" options.
2019-05-02 17:53:41 +08:00
Alexis Yushin
4b414d81d4 dart2: Do not add non-nullable fields to model json (#2777)
* do not add non-nullable fields to model json

This fix would avoid adding and sending fields that are not isNullable in the request.

* updated sample for issue #2535
2019-05-02 16:31:38 +08:00
Erik Timmers
006cfa35e6
[elm] Fix repetitive enum prefixes (#2784)
Fixes #2759.
2019-05-02 10:05:39 +02:00
SalDiAngelus
f9d04c9c23 Fixed checking for optional properties when converting from json. (#2779) 2019-05-01 23:18:38 +02:00
sunn
1fddb69960
Allow socket address reuse option (#2780) 2019-05-01 23:16:53 +02:00
William Cheng
05053f5b8a [ASP.NET Core] minor format fix, better null check (#2778)
* aspnet core format fix, better null check

* minor wording change

* update doc
2019-05-01 16:55:14 -04:00
dan-drl
40759a57fb [C++][RESTSDK] support enums (#2749)
* Support enums

* Updating petstore sample

* Use enum class instead of just enum

* Use string_t for g++ compatibility

* Add enum descriptions

* Fix string parsing. Make g++ compatible.
2019-05-01 17:22:05 +02:00
William Cheng
4e7f1876b5 Merge branch 'master' of https://github.com/fschlag/openapi-generator into fschlag-master3 2019-05-01 21:00:12 +08:00
William Cheng
a88e0acc47
[C#][.NET Core] fix map instantiation in models extending Dictionary (#2776)
* fix map type in csharp netcore

* add new files for csharp netcore client
2019-05-01 20:48:05 +08:00
dan-drl
a7df4adcf5 [C++][RestSDK] Windows vcpkg vs2017 support (#2751)
* Add boost-uid to vcpkg isntall command. It's required.

* Add instructions for building on visual studio 2017

* Add section to support vcpkg and visual studio

* Undef U on windows to stop compiler error

* Update pet store sample

* Move undef U to apiclient-header

* Slight change to address compiler warning
2019-04-30 22:27:22 +02:00
Jim Schubert
5ea4391af5 [cli][gradle] Adds package name as a global option (#2557)
* [cli] Support packageName as global option

CLI supports other package-related options (--api-package,
--model-package, --invoker-package). This aligns those options with
--package-name to avoid confusion about how to configure these options
where those are supported.

This intentionally does not apply a packageName getter/setter to
DefaultCodegen to reduce the footprint of this change.

* [gradle] Add packagName as global option

This makes packageName available as a global option, beside apiPackage,
modelPackage, and invokerPackage to reduce potential confusion about how
to configure the four of these options by generators which support them.
2019-05-01 00:46:48 +08:00
Vincent Devos
a5235f25b4 [TypeScript] Generate oneOf schemas as type unions (#2647)
* [TypeScript] Generate oneOf schemas as type unions

* [TypeScript] Generate oneOf schemas as type unions

* [TypeScript] Generate oneOf schemas as type unions

update aurelia sample
2019-05-01 00:46:05 +08:00
William Cheng
d3f418166b
mark java jersey1 client as deprecated (#2767) 2019-04-30 19:14:52 +08:00
Florian Schlag
651ead1346 Additional null check before doing SequenceEqual check 2019-04-30 10:32:49 +02:00
Jacob Floyd
942a0dafb6 [Python Connexion Servers] BUGFIX: handle . in package names (#2508)
This fixes adding supporting files to packages that have a '.'.

If the controllersPackage or modelsPackage has a '.' (eg to put the
controllers and/or models in a subpackage of the invokerPackage),
supporting controller and models were ending up in directories that
included the period instead of converting the periods to file
separators.
2019-04-30 14:52:22 +08:00
Jim Schubert
baf0e85216
Load TemplatingEngineAdapter via Service Provider (#2755) 2019-04-29 15:17:11 -04:00
ota42y
044961f481 Pass opts argument to api client in ruby-client (#2754)
* Pass opts argument to api client in ruby-client

We want to change the option when debugging, changing timeout to specific api, etc...
So we want to merge and pass options to api client.

* fix ruby-client

* fix openapi ruby-client

* fix typo

* fix template
2019-04-28 18:44:24 +09:00
dan-drl
0ebc714d29 [C++][RESTSDK] models header fix (#2750)
* Fix issue including header, the filename not the class name should be used to import a header file.

* Include header file name, not class name.

Header file name and class name differ.

* Update petstore samples
2019-04-28 01:07:24 +02:00
Sebastien Arod
567eb6cdd3 [Bug][Python]Support body as bytes when Content-Type is unknown (#2626)
* Support body as bytes when Content-Type is unknownfix #2623

* Revert unwanted import changes

* update samples/openapi3
2019-04-27 01:45:34 +08:00
Vincent Devos
0ae43fcb7a [Elixir] update to 1.6 version (#2741)
* [Elixir] update version / add test

* update samples (add missing 200 responses in petstore-with-fake-endpoints-models-for-testing.yaml)

* [Elixir] update to 1.6 version

* [Elixir] fix test petapi
2019-04-26 22:38:11 +08:00
Vincent Devos
6e6926a8b8 [TypeScript] harmonize gitignore file (#2746) 2019-04-26 22:34:24 +08:00
sunn
19619251f5 Fix filename generation due to camelize rework (#2744) 2019-04-26 13:30:29 +08:00
Jim Schubert
8bbeb8b7e3
Feature: Experimental Handlebars support (rienafairefr) (#2657)
* new module: openapi-generator-core
* templating engine adapters to support extension (currently only Handlebars)
* new `-e` templating engine CLI option
* adapt Generator to process Template with the passed TemplatingEngineAdpater
* add a MustacheEngineAdapter to the codegen in the unit tests
* force default MustacheEngineAdapter
* copy new core module in the root Dockerfile
* add processTemplatingEngine to CodegenConfig, to be overriden by Codegen classes if needed
* support multiple file extensions per templating engine adapter
* Extends handlebars experimental adapter with explicit contextual resolvers (e.g. map processing)
* Add new openapi-generator-core/pom.xml to release_version_update.sh
* A detailed message will be logged on missing handlebars helper
* Adds README documentation around template default and beta options
* Moves mustache package under new templating package
* Include built-in handlebars helpers which require explicit registration, and custom `startsWith` helper.
2019-04-25 21:52:50 -04:00
sunn
61ed2eecef
Add server port processing (#2743) 2019-04-26 02:32:30 +02:00
aspaseltiner
11dc675221 Remove quotation marks around {{paramName}} for header params in api-body.mustache (#2727) 2019-04-24 17:15:32 +02:00
William Cheng
3785165e07
fix missing parenthesis for http bearer auth (#2723) 2019-04-24 10:46:40 +08:00
Ferdinand Beyer
cff6eaa108 Add missing closing parenthesis (#2720) 2019-04-24 00:56:38 +08:00
Maxim Logvinenko
34e2a0bca3 [Java][Spring] Fix template for reactive implementation with interfaceOnly parameter (#2437) 2019-04-23 17:52:06 +08:00
Min Kim
06fdc925a5 Bugfix(Perl): Support nested primitive types in ARRARY or HASH for basic object (#2713)
* support nested primitive types in ARRARY or HASH for basic object

* run bin/perl-petstore.sh and bin/openapi3/{LANG}-petstore.sh
2019-04-23 16:19:16 +08:00
William Cheng
ff556609c7
Remove setting generateAliasAsModel in rust server generator (#2714)
* remove setting generateAliasAsModel in rust server

* update rust server samples

* update doc
2019-04-23 03:03:15 +08:00
Richard Whitehouse
f14bac8d7d [Rust Server] Improve XML support (#2504)
- Restore XML namespace support

- Remove non snake case rust warning for xml wrap_in methods

- Add XML rust-server tests

- Fix wrapping XML arrays when a property of another object

- Run all tests, not just those for OpenAPI 2.0

- Force wrapping for rust-server
2019-04-22 12:05:40 +08:00
Akihito Nakano
22f7cec552 [PHP][Lumen] Rename template folder (#2707)
* Rename template folder: lumen -> php-lumen

* Update a folder name for "-t"

* Rename script name: lumen-... -> php-lumen...

* Update templateDir

* Update samples

- ./bin/php-lumen-petstore-server.sh
- ./bin/openapi3/php-lumen-petstore-server.sh

* Update samples

./bin/php-lumen-petstore-server.sh
2019-04-22 11:26:19 +08:00
Amit Joshi
1e4f4ab9f2 [aspnetcore] Support async tasks and some code cleanups (#2629)
* Add first cutasync support and small cleanups

* Add apiPackage, modePacke to use for namespaces, for library don't generate wwwroot and dont make model class partial and default to no swashbuckle,  , workarodun empty string cliOption

* Update docs

* Don't add async for library

* Fix generated program for async and task

* Default models names space should be <package>.Models

* Remove commented out code

* Remove unnecessary code, fix a comparison and add an else fo an if statment.

* Update docs
2019-04-20 00:32:04 +08:00
SalDiAngelus
89eb603c17 [C++][Pistache] Fixed #2643 (#2653)
* Fixed #2643

Refactored to/from json functions to use universal object serialization method.

* Code review found incorrect indenting and I forgot to remove unused mustache files.

* Removed helpers class because it is not needed anymore.

* Removed helpers package from docs.

* Reverted helper class removal.
2019-04-19 14:00:12 +02:00
Hugo Barrigas
d6306d8fee [JAVA][Webclient]fix select body for url encoded media type. (#2686)
* fix select body for url encoded media type.

* run bin.
2019-04-19 14:46:28 +08:00
Vincent Devos
8c66d78967 [Typescript] Change npm package name in samples (#2688)
* [Typescript] Change npm package name in samples

swagger to openapitools

* fix indentation in typescript rxjs package
2019-04-18 18:58:41 +08:00
Thibault Duperron
14215ba554 Fix json polymorphism jaxRS (#2602)
* Fix json polymorphism jaxRS

Fix #2576

* Samples
2019-04-18 16:01:46 +08:00
tanmen
ff0d4eb8d7 Add nullable array support in spring (#2660)
* Add nullable support in spring

* fix forgot unescape defaultValue

* Fix syntax error
2019-04-18 11:05:18 +08:00
Lukas S
e17890d526 [typescript-fetch] Double ampersand in query string with empty nested object (#2679)
* [typescript-fetch] Filter empty parts from querystring before joining with '&'

* [typescript-fetch] Update samples
2019-04-18 11:04:35 +08:00
Vincent Devos
8291132141 [TypeScript Angular] update ngpackagr (#2677) 2019-04-17 12:36:33 +08:00
Bernd
719bea8303 [typescript-rxjs] fix samples and invalid package.json (#2674)
* fix(typescript-rxjs): invalid package.json, align typescript version with rxjs

* feat(typescript-rxjs): regenereate samples
2019-04-17 12:18:13 +08:00
Vincent Devos
572494ce44 [TypeScript] fix single quote in enums not escaped (#2665)
* [TypeScript] fix single quote in enums not escaped

* [TypeScript] remove useless override in some CodeGen TypeScript class generator
2019-04-17 11:00:03 +08:00
Paul Mundt
c08c45de05 dart2 linter updates for prefer_equal_for_default_values, prefer_is_empty (#2654)
* Use isNotEmpty instead of length in dart2 validity checks

In dart2 the preferred method of checking whether an object is empty or
not is to use the .isNotEmpty property. An aspect that is now warned
about by the linter.

While not an issue in this particular case - testing length can also
have negative performance implications for Iterable collections, which
are not required to know or provide their length deterministically.

* Prefer equals for default values in dart2

The dart2 linter complains about m({a: 1}) style assignments, preferring
m({a = 1}) instead. Update the api_client generation to follow this.

* Regenerate dart2 samples for mustache template changes
2019-04-17 10:57:06 +08:00
Philipp Paris
e75c8eebc5 fix #2663 equals/hashCode methods in POJOs ignore parent variables (#2664)
[jaxrs-spec] equals/hashCode methods in POJOs ignore parent variables
2019-04-17 10:51:26 +08:00
Tim Bedard
3d92ea0eda [Bug] [Python] Fix #2092 python docs example quoting (#2669)
* replaced setParameterExampleValue method

* removed old method

* fixed bool, test fix for objects

* continued fix

* double override

* regenerated petstore client

* regenerated oas3 sample

* updated asyncio and tornado generated clients for CI
2019-04-17 10:49:50 +08:00
William Cheng
4b84821506
Add auto-generated doc to Swift4 generator (#2666)
* add auto-generated doc to swift4 generators

* fix rxswift sample code

* fix object initialize

* fix boolean value

* fix link to object

* fix void

* fix url initialize

* update all swift samples

* fix indentation
2019-04-16 16:55:26 +08:00
Ingvi Rafn
84f3fc0bb5 Fix closing tag for attribute in aspnetcore gen - fixes #2275 (#2607)
* Fix closing tag for attribute in aspnetcore gen

"]" character at col 209

* remove newline
2019-04-15 17:50:46 +08:00
William Cheng
da9ba4cd7d
Use ObjC reserved words only when objcCompatible is enabled (#2632)
* avoid whilelisting objc reseved words

* fix swift4 test

* add new files

* update swift4 tests
2019-04-15 15:35:19 +08:00
Adi Gerber
3ca7e6342f ServiceLoader now uses correct class loader every time (#2658) 2019-04-15 08:42:40 +02:00
Hemant Zope
3be4902444 [C] C generator refactored (#2463)
* New modified model header and body mustache for c client generator

* remove uncrustify from cmake as it is used during code generation, also remove valgrind as it is not used

* add function to encode and decode binary data

* update model mustache

* update api body and header mustache for handling all types of parameters

* update model mustache with variable names and address few more issues to generate working codes

* updated api body and header mustaches with support for various new parameters and fix some issues as per new changes in code flow structure

* update apiClient header and body mustache as per new modifications for handling binary data and few more stuff

* updated samples generated by new modified mustache

* update handling of file and binary data type to binary_t

* update samples with recent commit on master regarding c-generator

* update cmakelist which was ignored by .openapi-generator-ignore, cleanup external folder

* update CMakeList mustache to show how to use compiled libary to compile source files

* update samples with new cmake

* Add comments explaining what each command is doing inshort

* remove freeing of base path as it is not memory allocated

* update samples to free apiclient object when the requirement is over

* add missing cJSON delete to fix memory not freed bugs

* use uncrustify to beautify manual written test code
2019-04-15 11:27:34 +08:00
William Cheng
d9bb676038
fix default package in go server (#2662) 2019-04-15 10:41:46 +08:00
Yuriy Belenko
c88b0a10b7 [Slim] Fix AbstractAuthenticator constructor TypeError (#2641)
* Fix AbstractAuthenticator  constructor TypeError

* Refresh samples

* Remove container argument reassign

* Refresh samples
2019-04-14 00:03:12 +08:00
Shane Farrell
687b5aabf3 Fix issue 1340 - StaticHtmlGenerator to allow snake_case property names (#2612)
* Updated StaticHtmlGenerator to it overrides the toVarName(String name) method in DefaultCodegen and prevents underscores from being converted to the word Underscore

* adding model propery with a snake_case name

* Reverting change to base petstore.yaml file

* Trying to trigger another CI build

* Trying to trigger another CI build

* Removing trailing space
2019-04-13 00:38:35 +08:00
William Cheng
5fbb812d65
Test Gradle plugin in Appveyor CI (#2651)
* update travis to test gradle plugin

* update gradle version

* show gradle version

* test gradle plugin in circleci

* test appveyor in gradle

* use direct link

* revert other ci config
2019-04-13 00:36:52 +08:00
sunn
7af94fa1e8 Use percent encoding for path parameters (#2649) 2019-04-12 11:26:48 +08:00
William Cheng
85d05981ec
Unescape HTML characters in JS docstring (#2636)
* unescape html characters in JS docstring

* better codee format
2019-04-11 23:30:00 +08:00
William Cheng
b426bab85e
better handling of undefined inner property in array (#2635) 2019-04-11 19:06:48 +08:00
Akihito Nakano
b797662eaf
Fix regexp error on php-slim (#2604)
* Add tests to reproduce the issue

* Use simple replacement instead of regexp

* Add tests to reproduce the issue (apiPackage)

* Use simple replacement instead of regexp (apiPackage)

* Replace a slash with File.separator (addressing the issue on windows)

* Tweak (windows)

* Tweak (windows)

* Use StringUtils#remove***() instead of regexp
2019-04-11 08:01:24 +09:00
Tim
3036d8fd20 [TypeScript-Fetch] Generate oneOf schemas as type unions (#2617)
* Generate oneOf schemas as type unions for typescript-fetch

* Adjust oneOf imports to only include refs of oneOf
2019-04-11 00:58:07 +08:00
Jérémie Bresson
90c57c6829 Code review fixes (#2633)
* Fix “The field JavascriptFlowtypedClientCodegen.SNAPSHOT_SUFFIX_FORMAT is hiding a field from type AbstractTypeScriptClientCodegen”

* Fix “The field JavaCXFExtServerCodegen.CodegenVariable.vendorExtensions is hiding a field from type

DefaultCodegen”

* Fix “Javadoc: Invalid URL reference. Double quote the
 reference or use the href syntax”
2019-04-10 21:40:13 +08:00
William Cheng
173d16d114
Move Ruby module/gem to codegen constant (#2621)
* move module/gem to codegen constant

* remove extra line
2019-04-10 21:36:53 +08:00
Paul Brabban
b5ae21b090 [Spring] Spotbugs static class and default encoding (#2609)
* add static modifier - mvn verify passes

* specify charset, mvn verify works, compiles and clean on spotbugs in my project

* update samples as per contribution guide; mvn integration-test passes

* commit rest of samples

* fix missing newline at EOF

* lots of new newlines

* needed to run mvn clean beforehand...
2019-04-10 18:03:35 +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
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
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
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