Christophe Bornet
001f89f1d9
Add tests to online generator ( #1591 )
2018-12-04 18:14:50 +08:00
William Cheng
cd61442387
Improve checkout script on NPMJS wrapper ( #1595 )
...
* improve checkout on npmjs wrapper
* update readme
2018-12-04 11:14:14 +08:00
Rubén Martínez
e3ab059530
[csharp] Fix #1531 with non-nullable enums on operation parameters not compiling ( #1543 )
...
* Run ./bin/utils/ensure-up-to-date to re-generate samples run in the CI.
* Fixed issue #1531 . Now in C# operation parameters are post-processed to correctly mark them as enumerations. The api.mustache C# template now marks parameters as nullable when they're non-required enums.
* #1531 Added fix for enum, non-required parameters to the interface of the auto-generated C# Apis.
* Fixed error with the development of ticket #1531 , which duplicated nullable question marks for primitive types.
2018-12-03 17:28:08 +08:00
William Cheng
dfa7e616c0
Merge remote-tracking branch 'origin/master' into 4.0.x
2018-12-01 19:18:27 +08:00
William Cheng
2353d71d4b
skip stack, dark installation due to travis issue
v3.3.4
2018-12-01 01:04:00 +08:00
William Cheng
2f4dc9a049
Prepare 3.3.4 release ( #1583 )
...
* update release version
* update doc for 3.3.4 release
* comment out stack installation due to error in travis
2018-12-01 01:00:06 +08:00
Christophe Bornet
54b5093381
Improve online gen resolution of host for the download link ( #1580 )
...
Fix #1517
2018-11-30 22:04:17 +08:00
William Cheng
cf2ddb8b8c
Fix header parameters display in the documentation ( #1579 )
...
* fix header parameters display in html
* fix cwiki header, remove test header parameter
2018-11-30 20:57:52 +08:00
William Cheng
8f8d3547f6
Update JS client dependency ( #1578 )
...
* update js dep
* fix missing comma
* remove unused test files in JS
* remove StringBooleanMap.spec.js
* remove StringBooleanMap.spec.js
2018-11-30 18:47:32 +08:00
William Cheng
b226f52d13
Merge remote-tracking branch 'origin' into 4.0.x
2018-11-30 10:16:16 +08:00
William Cheng
eae958f293
Add "b<>com" to the list of companies using OpenAPI Generator ( #1573 )
2018-11-30 09:22:01 +08:00
sunn
308515bbc1
[cpp-qt5] client response headers and validation of properties for client and server ( #1508 )
...
* Add validation of required properties
Add Header extraction for client
* Remove some todos
* Add Test for Store API
Improve some checks for serialization
2018-11-29 11:00:37 +01:00
Michael Ramstein
6930433def
[elixir] Typespec - allow null on optional struct-attributes ( #1514 )
...
* Typespec - allow null on optional parameters
* Run Petstore for elixir
* considers 'nullable' in model template, fixes 'isRequired'
2018-11-29 15:58:32 +08:00
William Cheng
c537557a91
comment out haskell client build in travis
2018-11-29 11:14:00 +08:00
Akihito Nakano
f7c857cc39
[Spring] Add an option to return success code ( #1197 )
...
* Returns status code which defined at Response Object
* Tweak indent
Remove the spacer "{{#async}} ... {{/async}}" "{{^async}} ... {{/async}}"
* Update samples^
* Fix broken indentation
* Update samples
* Revert methodBody.mustache
* Revert "Fix broken indentation"
* This reverts commit 95b6a00f8b1d92a65e0d4467b5c4f034a9579e43.
* Revert "Tweak indent"
* This reverts commit ba2cedc89723ed480e8282c0a4e07ab2d3670262.
* Revert "Returns status code which defined at Response Object"
* This reverts commit f676a89e230dde6741aa96d7b2e27e04b35dbf5a.
* Example contains status code
* Update samples
./bin/spring-all-pestore.sh
* Fix syntax error
* Update samples
* Run bin/utils/ensure-up-to-date
* Make the changes an option `returnSuccessCode`
* Run bin/spring-all-pestore.sh to update samples
* Run ./bin/utils/export_docs_generators.sh
2018-11-29 11:51:25 +09:00
Simas Abramovas
777bf1f3aa
Kotlin collection type ( #1564 )
...
* Allow specifying type
* Add test
* Update docs
* Don't modify types if the default option is chosen
2018-11-29 10:33:55 +08:00
William Cheng
41185d3c6f
Merge branch 'master' of https://github.com/openapitools/openapi-generator
2018-11-28 22:33:54 +08:00
William Cheng
1d4e24b203
comment out c test due to timeout in travis
2018-11-28 22:17:42 +08:00
William Cheng
c63f58f1ef
[Elixir] fix ":body" handling ( #1504 )
...
* Fix swagger-api/swagger-codegen/issues/8138 swagger-api/swagger-codegen#8138
When JSON payload needs to be in the body (`"in": "body"`), it must not generate a multi-part body, but embed directly in HTTP body.
* update elixir samples
* update elixir client samples
* remove double quote
2018-11-28 21:35:50 +08:00
Kiran-Sivakumar
9df70798b3
[Java][okhttp-gson] Add option to employ builders for API requests ( #1341 )
...
* Generate APIs that use the builder pattern
* Add option to use builders for API requests
* Fix template spacing
* Add new sample-generation script and generated samples
* Update docs
* Add new sample-generation script for Windows
* Replace config option with vendor extension
* Remove useBuildersForApiRequests config option
* Remove builders sample-generation scripts
* Replace config option with vendor extension in api_test template
* Remove okhttp-gson-requestBuilders sample
* Rename x-builders-for-api-requests to x-group-parameters
* Add modified api_doc.mustache under okhttp-gson resources
* Add modified README.mustache under okhttp-gson resources
* Update petstore samples
* Fix FakeApiTest.java in petstore samples
* Add whitespace to rerun checks
* Remove whitespace to rerun tests
* Fix FakeApiTest.java in parcelable petstore sample
* Update versions in samples
* Update versions in samples
2018-11-28 17:53:36 +08:00
Akihito Nakano
3efe56752e
Improve error message when the spec is not found ( #1495 )
...
* Improve error message when spec not found
* Add test yaml
* Fix invalid yaml file path
* Fix typo
2018-11-28 16:50:52 +08:00
rasmusfaber
d8dde6855f
Use checksum to decided if input spec has changed. ( #1502 )
2018-11-28 16:43:00 +08:00
meganemura
ebf67e683c
Fix regexp in ruby-client ( #1521 )
...
* Fix regexp in ruby-client
* Remove tests for unknown regexp patterns
2018-11-28 16:40:58 +08:00
feihongmeilian
5b4a19849e
Upgrade the erlang-server dependency from cowboy1.x to cowboy2.x ( #1364 )
...
* Upgrade the erlang-server dependency from cowboy1.x to cowboy2.x
* Update erlang-server sample
* Fix a bug for erlang-server test
2018-11-28 11:50:08 +08:00
William Cheng
9b99b6b6bf
better hanlding of string type with different format ( #1558 )
2018-11-28 11:21:54 +08:00
William Cheng
33016f2790
Update NPM installation instruction ( #1556 )
...
* Update NPM installation instruction
* further revise the doc
2018-11-28 00:27:35 +08:00
William Cheng
963173b357
Add link to conference presentation ( #1554 )
2018-11-27 23:59:23 +08:00
Michael Ramstein
d31fa4f7c4
Typespec: Fixes issue with formated primitivs ( #1534 )
2018-11-27 21:34:54 +08:00
Michael Ramstein
247bd68880
Decodes list with primitvs ( #1536 )
2018-11-27 17:00:10 +08:00
Michael Ramstein
4eae430cca
[elixir] Fixes BadMapError
for header parameters ( #1537 )
...
* Adds :headers as expected param mapping
* Gen Petstore
2018-11-27 16:59:16 +08:00
William Cheng
51a3a22928
Add online services to the documentation ( #1550 )
...
* update online service
* update readme with online services
* minor wording change
* revise wordings
* add links to linode logo
2018-11-27 15:51:23 +08:00
Erik Timmers
172448fa28
Add support for UUIDs ( #1516 )
...
And fix naming for `decode` functions.
2018-11-27 13:47:06 +08:00
William Cheng
46a4ffe64c
Skip model generation if it's a top-level map or array ( #1296 )
...
* update samples
* remove string boolean map spec
* add logic to skip array alias being generated as model
* fix alias to array
* remove unused ruby files
* remove unused ruby (oas3) files
* unalias response schema
* fix NPE when no model defined
* fix ruby openapi3 script
* update samples
* add global openapi, schemas for unaliasing
* minor code cleanup/refactoring using globalSchemas
* Revert "minor code cleanup/refactoring using globalSchemas"
This reverts commit 20a2bbc6fc4267a0e0768dcf5f15d4194ce9647b.
2018-11-26 22:01:53 +08:00
Yuichi Okada
ce0253892c
[PHP client] Fix README.md template for php ( #1540 )
...
* Fix README.md template for php
* update php openapi3 samples
2018-11-26 13:41:27 +08:00
Akihito Nakano
34abedeb8a
[PHP] Bump minimum required version to PHP7.1 ( #1491 )
...
* Bump minimum required version to PHP7.1
ref: http://php.net/supported-versions.php
* Bump phpunit
* Update [api|model]_test.mustache
* Update samples
bin/openapi3/php-petstore.sh
* Update namespace of PHPUnit ("tests" folder)
* `setExpectedException` is deleted in PHPUnit 7.4
* Update namespace of "Assert" class
* The attribute 'name' is required
* Add anotation to exclude the test from risky testcheck
* Update samples (samples/client/petstore/php)
* Apply updates to "test" in openapi2 folder (samples/client/petstore/php)
b3495ecbfe
15e00ae89d
2fc6917d13
0d016c00ed
* Install php7.1
* Switch to php7
* Update samples (security)
bin/security/php-petstore.sh
2018-11-26 08:59:22 +07:00
William Cheng
2146081ffb
update elm petstore samples
2018-11-24 19:12:22 +08:00
William Cheng
7db12aa4af
Merge remote-tracking branch 'origin' into 4.0.x
2018-11-24 17:48:17 +08:00
William Cheng
bf2932d41c
fix array of enum class in JS ( #1484 )
2018-11-24 17:04:59 +08:00
William Cheng
f8ada391c4
Fix boolean value handling in HTTP request body ( #1515 )
...
* fix boolean http body handling
* fix typo in parameter name
2018-11-24 16:42:32 +08:00
Christian Schneider
0ba9278308
#1506 Bump Zone.js to remove warnings when using angular >=6. ( #1522 )
...
* 1506 allow zonejs 0.7.x and 0.8.x to support a wider range of angular versions
* #1506 Removed zone.js as peer since it comes with angular itself
* #1506 Removed zone.js as peer since it comes with angular itself
2018-11-24 16:42:09 +08:00
Erik Timmers
e91d6d735d
[elm] Add support for nested Lists & Dicts ( #1528 )
...
And rename Union Types to Custom Types and Aliases to Records.
2018-11-23 16:03:07 +01:00
Erik Timmers
5f1362daad
Update Elm for elm/http 2.0.0 ( #1510 )
2018-11-23 16:02:55 +01:00
Juan Eugenio Abadie
dd33434064
[cpp rest-sdk] Reponse headers handler ( #1511 )
...
* Add support to set a Response headers handler
* Update PetStore
* Fix missing names
* Update PetStore
2018-11-23 11:38:40 +01:00
William Cheng
cf04ba30db
Fix the function name starting with numbers ( #1513 )
...
* update elixir samples
* fix function name starting with numbers
* add new files
2018-11-23 17:32:51 +08:00
William Cheng
5aa1da7c2e
Add utility methods for free-form objects (isFreeFormObject) ( #1338 )
...
* add utility methods for models
* add isFreeFormObject tag
* add object mapping for elixir client
* minor fix to free form object check
2018-11-22 18:46:09 +08:00
Jon Schoning
9be5b99266
[haskell-http-client] fix typename generation bug for array params; update deps
...
- fix build for example-app + tests-integration in Samples (due to change in Category)
- upgrade stack to 12.18
- fix typename generation bug for array params
2018-11-20 18:38:07 -06:00
Alwin Garside
792f95eb09
[PHP] Use appDescription in composer.mustache ( #1485 )
...
* Use appDescription in composer.mustache
* Update petstore files
* More updated php petstore files
* Yet another updated php petstore file
* Use "{{{appDescription}}}" instead of "{{appDescription}}"
2018-11-20 10:30:14 +09:00
William Cheng
2b58f6737a
fix typo in java client docstring ( #1494 )
2018-11-19 21:14:03 +08:00
William Cheng
363b095721
better warning, default value ( #1492 )
2018-11-19 20:55:29 +08:00
meganemura
b9949e1a8e
Generate a ruby-client sample for OpenAPI 2.0 ( #1482 )
...
* Move output directory for bin/openapi3/ruby-client-petstore.sh
$ git mv sample/client/petstore/ruby sample/openapi3/client/petstore/ruby-client
* $ bin/ruby-client-petstore.sh
* Run bin/ruby-client-petstore.sh in bin/utils/ensure-up-to-date
2018-11-19 17:02:19 +08:00