William Cheng
35f0cc221d
update erlang client with oas3 ( #182 )
2018-04-22 10:25:30 +08:00
Jérémie Bresson
edbe4902a4
Consider '$ref' for consumes and produces in CodegenOperation ( #180 )
2018-04-21 18:40:52 +02:00
William Cheng
e1fe9a3b60
update clojure petstore with oas3 ( #118 )
2018-04-21 23:35:21 +08:00
Jérémie Bresson
fe00a63ed0
Remove deprecated classes ( #177 )
...
* Remove:
- org.openapitools.codegen.Codegen
- org.openapitools.codegen.MetaGenerator
* Renaming:
- DynamicSwaggerConfig > DynamicConfig
- SwaggerResource > CodegenResource
2018-04-21 17:26:54 +02:00
William Cheng
f79f23865b
update clojure petstore with OAS2 ( #117 )
2018-04-21 23:06:07 +08:00
Akihito Nakano
5e05638360
Fix content type ( #179 )
...
* Update php client with OAS3
* Fix content type
the endpoint consumes 'application/x-www-form-urlencoded'
* Regenerate php client from OAS3
* Update the test case according to the fix on spec
2018-04-21 22:26:35 +08:00
Jérémie Bresson
72ffc95d6e
Consider '$ref' for 'getProducesInfo' and 'getConsumesInfo' ( #176 )
2018-04-21 15:45:43 +02: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
856ed05b00
update pom to include core team ( #174 )
2018-04-21 17:23:27 +08:00
Jérémie Bresson
e85733a5ec
Fix NullPointer exception in 'preprocessOpenAPI' ( #171 )
2018-04-21 15:23:07 +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
93bf3d91ea
Update C++ Pistache samples with oas2, oas3 ( #166 )
...
* restore pistache from codegen 2.x
* update pistache samples with oas2
* update pistache with oas3 petstore (no diff)
* restore datatype for array of model
* update pisache server scripts
* Revert "restore datatype for array of model"
This reverts commit 3b949a3873f3fca78311065173eda26e786dedec.
* fix array of models in method signature
2018-04-21 00:40:45 +08:00
William Cheng
b67364e713
fix scalaz-petstore.sh oas3 script ( #167 )
2018-04-20 23:52:46 +08:00
Jérémie Bresson
d21e4227a6
Update finch Petstore OAS2 ( #126 )
...
* Update finch sample
* Udpate 'finch' samples
* update finch with oas3 petstore (no diff)
2018-04-20 21:52:22 +08:00
William Cheng
8a4f905892
Update C++ Restbed server samples with OAS2, OAS3 ( #165 )
...
* restore restbed samples from codegen2x
* update restbed samples with oas2
* update restbed sample with oas3 (no diff)
2018-04-20 19:07:42 +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
Jérémie Bresson
f3736d66b7
Fix "meta" command ( #157 )
...
* Fix "meta" generator
* Add script in bin/ to test the use case
* Add result in samples/
* Update read-me
* Implement 'escapeQuotationMark'
2018-04-20 15:25:51 +08:00
William Cheng
03490e9230
fix java binary mapping ( #158 )
2018-04-20 08:20:13 +02:00
William Cheng
28a1255c0e
Update Go server petstore sample with OAS3 ( #154 )
...
* restore go server from codegen 2x
* update go server petstore with oas3
2018-04-20 12:05:27 +08:00
Jérémie Bresson
e24238a355
Improve getter name handling for boolean properties ( #141 )
...
* Handle java boolean getter at codegen level instead of template.
* {{#isBoolean}}is{{/isBoolean}}{{getter}} is no longer necessary in templates.
* Use 'toBooleanGetter' instead of replace in PhpSymfonyServerCodegen
2018-04-19 19:11:27 +02:00
William Cheng
686ff6a502
Go server petstore update (OAS2, OAS3) ( #146 )
...
* restore go server petstore from codegen 2x
* update go server petstore (oas2) - no diff
* update go server samples (oas3)
* add go petstore server script
2018-04-19 21:57:22 +08: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
6e2ca294b5
update discriminator to discriminatorName ( #142 )
2018-04-19 15:02:22 +08:00
Jeremie Bresson
74075c087e
Primitive datatype in Schema components
...
Fix for https://github.com/swagger-api/swagger-codegen/issues/7754
2018-04-19 07:15:10 +02: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
231547f6c7
fix isFile flag in response ( #135 )
2018-04-19 09:18:30 +08:00
William Cheng
d8abd4a14b
support map in body parameter ( #134 )
2018-04-19 09:18:13 +08:00
William Cheng
f9bc1aec9d
update scalatra petstore with oas3 ( #132 )
2018-04-19 09:17:44 +08:00
William Cheng
74ddbf7a16
update scalatra with oas2 spec ( #131 )
2018-04-19 09:16:52 +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
05f5c5798b
Update html, dynamic-html petstore, fix example value for form parameters ( #122 )
...
* update dynamic-html samples with oas2
* update dynamic-html oas3 (no change)
* update html petstore (oas2)
* update html petstore with oas3
* fix example value for form parameters
* fix javadoc string
2018-04-18 17:42:38 +08:00
Jérémie Bresson
391c75b5b3
Format mustache pom template ( #125 )
2018-04-18 09:19:40 +02:00
Jérémie Bresson
ca89af8080
Switch to Java 8 ( #124 )
...
* Set java version 1.8
* Remove "joda-time" usage
* Remove 'com.google.common.base.Function' usage
* Remove "LinkedListMultimap" usage
* Add guava to the dependencies
2018-04-18 09:18:46 +02:00
William Cheng
186594115f
Update swagger-core to 2.0.1 ( #127 )
...
Update swagger core to latest stable version
2018-04-18 08:27:08 +02:00
Jérémie Bresson
48ae13df81
Array fixes ( #102 )
...
* Fix for arrays in requestBody
* Map description from RequestBody in CodegenParameter
* Fix missing import of model class with nested arrays in response
* Fix imports, consistent 'baseType'
* Add tests for enum
2018-04-18 05:20:58 +02:00
Jérémie Bresson
f5f6a7b1fa
Set swagger-parser-version to 2.0.0 ( #119 )
2018-04-18 05:18:30 +02:00
William Cheng
08038ddc30
update haskell servant samples with oas3, oas2 ( #116 )
2018-04-18 01:48:49 +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
ddf10b98dc
Update NodeJS server petstore samples with OAS2, OAS3 ( #113 )
...
* update nodejs server oas2
* update nodejs server petstore with oas3
* update nodejs google cloud with oas2 petstore
* update nodejs server google function with oas3
2018-04-17 22:58:13 +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