1712 Commits

Author SHA1 Message Date
Jérémie Bresson
edbe4902a4
Consider '$ref' for consumes and produces in CodegenOperation (#180) 2018-04-21 18:40:52 +02: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
e85733a5ec Fix NullPointer exception in 'preprocessOpenAPI' (#171) 2018-04-21 15:23:07 +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
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
Jérémie Bresson
391c75b5b3
Format mustache pom template (#125) 2018-04-18 09:19:40 +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
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