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
03490e9230
fix java binary mapping ( #158 )
2018-04-20 08:20:13 +02: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
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
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
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
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
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
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
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
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
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
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
Jérémie Bresson
93301eaacf
Fix NullPointer with empty Composed Schema ( #107 )
2018-04-17 10:50:10 +02: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