William Cheng
f5f7546dcc
Update Dart petstore client (flutter) with OpenAPI v2 spec ( #152 )
...
* restore dart flutter samples from petstore oas2
* update dart-petstore (flutter) with OAS2
2018-04-25 14:53:42 +08:00
Jérémie Bresson
25ccef818d
Rename default package for spring generator ( #221 )
2018-04-24 18:20:44 +02:00
antihax
5d8362d859
Update go client, fix double body read ( #211 )
2018-04-24 22:39:55 +08:00
Jérémie Bresson
949ef4453a
Generate java spring OAS2 ( #216 )
2018-04-24 16:26:52 +02:00
Jérémie Bresson
e0b0248c38
Rename default package in java clients ( #218 )
2018-04-24 16:26:20 +02:00
Jérémie Bresson
c8c316e41e
Update java client samples OAS2 ( #140 )
...
* Update java client examples
* Rename artifactId in json config files
* Add imports in api.mustache for play24 and play25
2018-04-24 09:51:50 +02:00
Jérémie Bresson
d5d8c356b7
Rename default packages for jaxrs generators ( #209 )
2018-04-24 06:26:42 +02:00
William Cheng
f353f60b89
Update Perl client samples (OAS2, OAS3) with various fixes ( #204 )
...
* update perl client with various fixes
* update perl petstore with oas3, tests passed
2018-04-23 17:49:48 +08:00
William Cheng
b908b734dd
Update Groovy default value, fix import error when doing "gradle test" ( #203 )
...
* update groovy default value, fix import error when doing gradle test
* remove empty lines
2018-04-23 17:31:14 +08:00
Jon Schoning
db02cc2ac9
[haskell-http-client] resolve oas 2.0 regressions ( #198 )
...
* [haskell-http-client] fix codegen issues
* ensure datatypeWithEnum is set on codegenParameter when is enum
* [haskell-http-client] fix isAlias + arrayModelType missing "datatype"
* [haskell-http-client] param.isListContainer is sometimes false for list types
* [haskell-http-client] gen MimeNoContent instances automatically
* [haskell-http-client] fix example-app and integration tests
* [haskell-http-client] update docs
2018-04-23 16:10:50 +08:00
William Cheng
2833319b81
Update Groovy petstore client via OAS2 ( #133 )
...
* restore groovy client from codegen 2x
* update groovy client with oas2
* reformat groovy templates to remove empty lines
2018-04-23 14:12:37 +08:00
Jérémie Bresson
7ecd5f3566
Rename "swagger" to "openapi" ( #191 )
...
* Rename ".swagger-codegen-ignore" to ".openapi-generator-ignore"
* Rename setGenerateSwaggerMetadata(Boolean) to setGenerateMetadata(Boolean)
* Rename Metadata Folder to .openapi-generator
2018-04-22 21:28:17 +02:00
William Cheng
a7da9039a4
Update Scala petstore with OAS2, OAS3 ( #162 )
...
* update pestore with oas2
* update scala petstore oas3 (no diff)
2018-04-22 22:00:49 +08:00
Jérémie Bresson
b109bf7ddc
Update "jaxrs-cxf-client" sample OAS2, OAS3 ( #172 )
2018-04-22 10:41:16 +02:00
William Cheng
6959ef9939
Update Clojure Petstore with OpenAPI spec v3 ( #181 )
...
* update clojure test
* update with clojure oas3
2018-04-22 16:32:51 +08:00
William Cheng
35f0cc221d
update erlang client with oas3 ( #182 )
2018-04-22 10:25:30 +08:00
William Cheng
f79f23865b
update clojure petstore with OAS2 ( #117 )
2018-04-21 23:06:07 +08:00
Jérémie Bresson
2e50780e1d
Remove "swagger-" prefix from artifactId ( #170 )
...
* Remove "swagger-" prefix in the samples artifactId
* Rename some artifactIds to make them unique
2018-04-21 12:31:21 +02:00
Akihito Nakano
1f0bed2a0c
Update php client with OAS2 ( #149 )
...
* Update php client with petstore OpenAPI v2 spec
bin/php-petstore.sh
* Change order of arguments according to the changes that auto-generated codes
* Fix 'FakeHttpClient not found' error
It has occured when run the test case separately like below.
"vendor/bin/phpunit tests/RequestTest.php"
* Update assertion according to a change on spec
* Update assertion
2018-04-21 18:13:45 +08:00
William Cheng
0736939c2a
Remove x-codegen-hasMore extensions ( #169 )
...
* remove x-codegen-hasMoreRequired from ruby template
* remove x-codegen-hasMore from html2 templates
* remove commented code
2018-04-21 12:49:27 +08:00
Tomasz Prus
d74d2ba031
fix: python clients ( #136 )
...
* fix: python client
* fix: regenerate petstore samples for python-asyncio/tornado
* fix: python-asyncio tests
* fix: python-tornado tests
* chore: update python samples
* fix: enable tests for python-tornado
* fix: discriminator property
* fix: file type
* python: regenerate samples
* fix: define file as generic type
2018-04-21 11:54:40 +08:00
William Cheng
fdeca629bb
Update JS petstore with OAS2, fix example values ( #168 )
...
* restore js petstore from codegen 2x
* update js petstore with oas2, fix example values
* remove comment code in js generator
2018-04-21 11:49:02 +08:00
William Cheng
fa346ce004
Update Javascript closure angular Petstore samples with OAS2, OAS3 ( #164 )
...
* update js closure angular with oas2
* update js closure angular with oas3 (no diff)
2018-04-20 19:01:05 +08:00
William Cheng
3e0f959215
Update Scalaz petstore with OAS2, OAS3 ( #163 )
...
* update scalaz petstore with oas2
* update scalaz oas3 petstore (no diff)
2018-04-20 19:00:52 +08:00
William Cheng
e4b1613d1e
Update akka-scala petstore with OAS3 ( #161 )
...
* update akka-scala with oas3 petstore
* update akka-scala petstore oas3, fix import model
2018-04-20 16:58:27 +08:00
William Cheng
03490e9230
fix java binary mapping ( #158 )
2018-04-20 08:20:13 +02:00
William Cheng
86f67c6665
Update Erlang client petstore (OAS2) ( #147 )
...
* update erlang client, add method to customize array model parameter name
* remvoe debug log
2018-04-19 21:22:24 +08:00
William Cheng
c20352caab
Update Android Petstore (httpclient, volley) with OAS2, OAS3 ( #145 )
...
* restore android samples from codegen 2x
* update android volley with oas2
* update android volley oas3
* update android http client petstore (oas2)
* update android httpclient petstore (oas3)
2018-04-19 16:13:35 +08:00
William Cheng
80d10e2cba
Update C# dotnet2 client with OAS2, OAS3 petstore ( #143 )
...
* update csharp2 from codegen 2x
* update csharp dotnet 2 client (oas2)
* update csharp dotnet2 with pestore oas3
2018-04-19 15:05:47 +08:00
William Cheng
9fdcb3681b
Update ObjC petstore and test cases ( #139 )
...
* restore objc samples from codegen 2x
* update objc petstore test
* update objc with oas3 petstore
2018-04-19 12:08:00 +08:00
William Cheng
0feef2b57e
Update akka-scala petstore with OAS2, fix description in responder header ( #129 )
...
* update akka-scala sample by codegen 2x
* fix description in response headers, update akka scala generator
2018-04-19 09:16:28 +08:00
William Cheng
7c734445b2
fix file parameter in header file (cpprest) ( #130 )
2018-04-18 22:29:53 +08:00
William Cheng
52af29f46d
Update CPPREST client with OAS2 ( #128 )
...
* restore cpprest from codegen 2x
* fix cpprest by modifying the template
* better naming for array of models
* updtae cpprest samples with oas2
2018-04-18 18:13:35 +08:00
William Cheng
a30e25e50d
Update ObjC petstore with oas2, fix default value for parameter ( #115 )
...
* update objc petstore with oas2, fix default value for parameter
* update objc petstore with oas3 spec
* update objc core data oas2
* update objc petstore with oas3
2018-04-18 01:47:32 +08:00
William Cheng
dc0cbd23b6
update tizen samples with oas3 petstore ( #114 )
2018-04-17 22:53:09 +08:00
William Cheng
4845eaa81d
Update bash Petstore OAS2 ( #112 )
...
* update bash petstore oas2, fix default parameter, map file to binary
* update bash petstore with oas3 script
2018-04-17 22:39:26 +08:00
Jeremie Bresson
53597764c3
Add OpenAPI spec 3.0 support (beta)
...
Co-authored-by: Akihito Nakano <sora.akatsuki@gmail.com >
Co-authored-by: Jeremie Bresson <dev@jmini.fr >
Co-authored-by: Jim Schubert <james.schubert@gmail.com >
Co-authored-by: Martin Delille <martin@phonations.com >
Co-authored-by: Tomasz Prus <tomasz.prus@gmail.com >
Co-authored-by: William Cheng <wing328hk@gmail.com >
2018-04-17 09:19:10 +02:00
wing328
4cfbc118e8
renaming for openapi-generator
2018-03-13 14:41:23 +08:00
Martin Delille
1bb1e44d18
[qt5cpp] Remove qt5 pro.user file ( #7813 )
2018-03-12 23:17:39 +08:00
Martin Delille
9bd94b4dbb
[qt] Fix warning message ( #7815 )
...
* [qt] fix warning message
* remove unused model.mustache file
2018-03-12 23:00:45 +08:00
etherealjoy
1947220159
Qt5cpp plug memleaks part2 ( #7792 )
...
* Small fixes to prevent crash when empty json body is provided.
* Fix some more memory Leaks in the model-body
- Members not deleted in cleanup() method, for maps/arrays of primitive types.
- Avoid undefined behavior when updating class members with data from missing json fields
2018-03-09 00:19:45 +08:00
Simon Sprünker
f00a1ef52c
[JAVA] Fix #7734 : Correct consumes/produces attributes for Spring Controllers ( #7760 )
...
* fix #7734 : Correct consumes/produces attributes for Spring Controllers
* fix #7734 : Update petstore
2018-03-08 22:56:43 +08:00
Charles Capps
4eeb974cb6
[Java][google-api-client] Fix bug with empty POST request not sending content-type ( #7787 )
...
* Add overloaded method to take an InputStream for the request body, and fix a bug with collections
* Use fully qualified name for InputStream to avoid potential conflicts
* Add support for Input Stream choosing content type, and fix a bug
* Ensure GET requests send an empty request body!
2018-03-08 22:51:49 +08:00
Dennis Frommknecht
53eeb0c049
fix connection leak on retrofit OAuth token renewal ( #7750 )
2018-03-08 22:00:22 +08:00
Akihito Nakano
0adbf7e51f
[PHP] Improve: update sample tests automatically ( #7717 )
...
* Improve: update sample tests automatically
* security test
* Update sample
- bin/php-petstore.sh
- bin/security/php-petstore.sh
The security test has not been updated for a while.
2018-03-08 21:56:48 +08:00
Akihito Nakano
32cf2f16f5
[PHP] Non required enum property ( #7723 )
...
* Add required enum property
* Update samples
* Add test case which reproduce the problem
refs https://github.com/swagger-api/swagger-codegen/pull/7686#issuecomment-368200011
> 2. Non-required enum property is listed as invalid when omitted
* If the property is not empty, perform validation
* Update samples
* Use is_null() according to setter implementation
refs 377247f125/modules/swagger-codegen/src/main/resources/php/model_generic.mustache (L347)
* Update samples
2018-03-08 21:54:34 +08:00
etherealjoy
12f3661d6f
Qt5cpp plug memleaks ( #7695 )
...
* Small fixes to prevent crash when empty json body is provided.
* WIP: plug mem-leaks
* fixup: add the QJsonObject instance in toJsonArray instead of pointer
* fixup: simplify toJsonMap
Actually the original solution is incomplete, because "innerType" maps to a single C++ type. Have a look at Qt's builtin QJsonObject::fromVariantMap.
* Updates to antis81:patch-1 after tests.
* update to remove string allocation
* Updates due to address of members being passed
* Update PetStore Examples
* Small updates for Header includes
2018-03-07 20:54:40 +08:00
wing328
724a8fb05d
update java petstore samples (jersey1)
2018-03-05 19:34:34 +08:00
Paul Vogel
3bcf0ff764
[PHP] Add path & file separator (/) to return the correct path when deserializing a file ( #7671 )
...
* Add path & file separator (/) to return the correct path
Add the separator between the tempFolderPath and the sanitized filename so that the path to the file is correct.
(Fixes #7670 )
* Remove separator from generated file
* Add separator
Add the separator between the tempFolderPath and the sanitized filename so that the path to the file is correct.
(Fixes #7670 )
* Update sample code
Via ./bin/php-petstore.sh
2018-03-05 10:32:47 +08:00
Andy Kipp
8e0a0ebd62
Fix python / tornado body handling ( #7738 )
...
* Handle empty body
* Update petstore
2018-02-28 16:08:17 +08:00