William Cheng
b1eac05b2b
Fix form datatype (array of string) ( #339 )
...
* fix data type for array of form parameters
* add test case to cover the form parameter issue
2018-05-06 22:17:47 +08:00
Jérémie Bresson
4d3110f29d
Rename default packages for 'java-undertow-server' ( #336 )
2018-05-06 12:34:54 +02:00
Jérémie Bresson
d8fd560d64
Rename default packages for 'jaxrs-spec' ( #333 )
2018-05-06 12:34:36 +02:00
Jérémie Bresson
2103fadab8
Fix package declaration for play-framework ( #332 )
2018-05-06 08:08:34 +02:00
William Cheng
aab99bc530
Update Dart default value, re-enable Objc Tests ( #328 )
...
* update dart client default
* re-enable objc test
* restore dart flutter_petstore, update dart oas3 script
2018-05-06 01:45:52 +08:00
William Cheng
3c666a6d44
Fix array of form parameters ( #324 )
...
* fix array of form parameters
* fix description for array of form parameters
* fix map of enum value
2018-05-06 00:39:38 +08:00
Christophe Bornet
90ac9d030c
Merge pull request #262 from cbornet/reactive
...
[Spring] Add reactive option for Spring Boot (webflux)
2018-05-05 18:01:46 +02:00
cbornet
8405b18563
Add spring cloud sample tests back
2018-05-05 17:26:21 +02:00
cbornet
1619486578
Add reactive option for Spring Boot (webflux)
2018-05-05 17:26:08 +02:00
William Cheng
c791146b62
Update Dart petstore with OAS3, fix mustache format ( #227 )
...
* update dart petstore with oas3, fix mustache format
* update default value to null
2018-05-05 21:02:18 +08:00
Jérémie Bresson
252a1c2599
Regenerate html.md OAS2 ( #251 )
2018-05-05 13:24:30 +02:00
Akihito Nakano
1245a47649
Merge pull request #321 from ackintosh/update-nodejs-server
...
Update nodejs server
2018-05-05 17:06:46 +09:00
William Cheng
5f2bc28779
update default value for elixir ( #319 )
2018-05-05 01:37:48 +08:00
akihito.nakano
1bd393f4ea
Rename 'keywords' for package.json
2018-05-05 01:43:35 +09:00
akihito.nakano
90438b8e71
Tweak indent
2018-05-05 01:38:23 +09:00
akihito.nakano
6c3d7bbc48
Update nodejs samples which skipped overwriting
2018-05-05 01:36:37 +09:00
William Cheng
e2251084f2
Update the default value of Ruby client generator ( #320 )
...
* fix ruby client default value
* fix example value for ruby
2018-05-05 00:10:34 +08:00
William Cheng
0b6a59fa09
update elixir with oas3 petstore ( #318 )
2018-05-04 23:52:52 +08:00
William Cheng
8edf6e52ad
Update Elixir Petstore with OAS2 ( #316 )
...
* restore elixir petstore original from codegen2x
* update elixir generator to work with oas2
* minor fix to elixir generato
* minor enhancement to templates
* update elixir petstore with oas2
2018-05-04 17:43:14 +08:00
Akihito Nakano
08e0393def
Fix missing examples ( #305 )
...
* Fix missing examples
* support ArraySchema
* Refactor: move the logic to generate samples from DefaultCodegen to ExampleGenerator
* Delete unnecessary argument
OpenAPI is passed in constructor
* Delete unnecessary 'import'
* Update samples ( bin/springboot-petstore-server.sh )
* Update samples ( bin/openapi3/nodejs-petstore-server.sh )
2018-05-04 17:25:49 +08:00
Jérémie Bresson
4dc519b4fe
Rename groupId for java-play-framework ( #310 )
2018-05-04 10:22:42 +02:00
Jérémie Bresson
71d544c9f7
Rename default packages in meta ( #314 )
2018-05-04 10:19:07 +02:00
William Cheng
ea18065447
Add Elm, Rust, Groovy to Travis CI ( #308 )
...
* add elm, rust, groovy to travis ci
* update elm script comment
* comment out elm test in travis
2018-05-04 16:12:18 +08:00
William Cheng
18a40deb30
Update rust client with Petstore OAS2 ( #148 )
...
* update rust client with petstore oas2
* update rust with oas2 petstore, fix default value
* fix type mapping for file, update api_doc for rust client
* update rust client with oas3
2018-05-04 01:38:40 +08:00
William Cheng
de55812d68
Update wordings ( #301 )
...
* update wordings
* update git_push wordings
* update git clone
* update homepage url
* update meta-codegen sample
2018-05-03 14:12:24 +02:00
William Cheng
15d4d2f0d4
remove duplicated entries in C# csproj ( #302 )
2018-05-03 16:31:26 +08:00
Jérémie Bresson
0ba2a9a250
Update java play framework samples OAS2 ( #286 )
...
* Regenerate play framework examples
* Add 'samples.ci' for manual files and update scripts
2018-05-03 08:19:59 +02:00
William Cheng
9cf185912c
Fix Scalatra petstore sample ( #300 )
...
* restore scalatra from codegen
* regenerate scalatra oas2 petstore, fix defaut value
* better code format for scalatra
* more format fix for scalatra
* update scalatra parameter template
2018-05-03 13:26:04 +08:00
William Cheng
95e04f91db
Add Elm script with Petstore OAS3 ( #293 )
...
* add elm script with petstore oas3
* change default value for elm generator
* update default value for elm templates
* fix typo
2018-05-02 23:04:16 +08:00
William Cheng
50837b2e83
update elm petstore with oas2 ( #291 )
2018-05-02 20:27:06 +08:00
William Cheng
ff3b954f10
update c# 2.0 samples ( #285 )
2018-05-02 14:30:25 +08:00
William Cheng
30b829c611
Update Swift4 client with OAS2 ( #270 )
...
* update swift4 client with oas2
* map binary as file in swift4
2018-05-02 14:30:11 +08:00
Jérémie Bresson
1492df6cef
Override server port for Jetty configuration ( #246 )
2018-05-02 07:11:29 +02:00
William Cheng
0c981b7c2f
Update C# default value ( #283 )
...
* update csharp default value
* update csharp 35 samples
* update csharp 40 client
* update c# net standard client
* update C# net core client
* update csharp propertychanged client
2018-05-02 00:48:55 +08:00
William Cheng
4c656bb1d9
Update C# with Petstore OAS3 ( #281 )
...
* update c# petstore with oas3
* update c# propertychanged with petstore oas3
* update c# netstandard with oas3
2018-05-01 14:02:55 +08:00
William Cheng
0b3ec6b1f8
fix NPE with cpp qt5, add logic to avoid NPE with composed schema ( #267 )
2018-05-01 12:05:57 +08:00
William Cheng
acb63fd5e8
Fix go readme, remove resty install ( #280 )
...
* fix go readme, remove resty install
* fix default to null in go petstore doc
2018-05-01 12:02:55 +08:00
William Cheng
9cb2f8472f
remove incorrect max, min in allowableValues ( #269 )
2018-04-30 23:48:59 +08:00
Akihito Nakano
be19724849
Fix default value ( #260 )
...
* Fix missing default value of form param
* Update php sample with OAS2
* Update php sample with OAS3
* Delete quotes as default value may have integer
* Update php samples with OAS2
* use toDefaultValue() in order to apply the decoration rules of generator
* Update php samples with OAS2
* Tweak: add quotes only if example is null
* Update php sample with OAS2
* Update php sample with OAS3
2018-04-30 17:18:58 +08:00
Akihito Nakano
aa5719e008
Fix missing default value ( #257 )
...
* Fix missing default value of form param
* Update php sample with OAS2
* Update php sample with OAS3
2018-04-30 16:24:07 +08:00
William Cheng
42aebe4367
Update Lumen generator petstore with OAS2, OAS3 ( #256 )
...
* update php lumen with oas3 petstore
* update lumen with oas3 pestore
2018-04-30 16:12:25 +08:00
William Cheng
7ad92572e4
Update default value for PHP server generators (slim, silex) ( #272 )
...
* update php slim samples
* update php silex samples
* update php silex default value
2018-04-30 15:18:13 +08:00
William Cheng
799b033c22
update go readme, update pom go dependencies ( #274 )
2018-04-30 13:04:00 +08:00
William Cheng
8730f910b2
Merge pull request #261 from wing328/fix_go
...
Various fix for Go petstore client
2018-04-30 09:49:49 +08:00
antihax
622a75b2ce
Fix data type shadowing
2018-04-29 12:16:17 -07:00
William Cheng
1d7da2ecf4
fix apex npe, better example value ( #266 )
2018-04-29 22:15:04 +08:00
Jérémie Bresson
1587d202b0
Generate apex ( #224 )
2018-04-29 20:38:18 +08:00
William Cheng
c60010c965
Update default value for Perl, Ruby, ROR generators ( #265 )
...
* rename perl genreator default
* update ruby sinatra default
* rename ror default value
2018-04-29 20:37:12 +08:00
wing328
d8165b0cfb
update go test files
2018-04-29 02:14:12 +08:00
wing328
1e999f289d
various fix for go petstore
2018-04-29 02:03:21 +08:00
wing328
1577e5d89f
restore go client from codgen2x
2018-04-28 22:04:47 +08:00
William Cheng
2ce721d0b9
Update PHP ZE-PH server samples with OAS2, OAS3 ( #259 )
...
* update php ze-ph samples with oas2
* update zeph samples with oas3
2018-04-28 21:48:50 +08:00
William Cheng
490255025e
Update PHP Slim server samples with OAS2, OAS3 ( #258 )
...
* update php slim server petstore with oas2
* update php slim petstore with oas3 (no diff)
2018-04-28 21:48:40 +08:00
William Cheng
7621deeb9f
Update PHP Silex server petstore with OAS2, OAS3 ( #254 )
...
* update php silex with oas2 petstore
* update php silex with oas3 petstore
2018-04-28 21:48:22 +08:00
William Cheng
69133d3677
Update PHP Symfony server petstore with OAS2, OAS3 ( #255 )
...
* update php symfony with oas2 petstore
* update php symfony with oas3 petstore
2018-04-28 14:38:37 +08:00
William Cheng
5114cd96b0
Update TypeScript Petstore samples with OAS3 ( #253 )
...
* add scripts for ts oas3 petstore
* remove json files
* update ts jquery with oas3 petstore
* update ts inversify, fix file mapping
* update ts fetch wtih oas3 (no diff), fix script
2018-04-28 12:11:02 +08:00
Akihito Nakano
7b6e17e02d
Fix missing models ( #250 )
...
* ArraySchema should not be included in aliases
* Update php sample (OAS2)
2018-04-28 11:37:45 +08:00
William Cheng
78c865e268
update ts angular2 petstore oas2 ( #249 )
2018-04-27 22:12:30 +08:00
William Cheng
509fdd892b
Update TypeScript jQuery, Aurelia, Inversify with Petstore OAS2 ( #248 )
...
* update ts inversify with petstore oas2
* update typescript-aurelia petstore with oas2
* update ts jquery with oas2
2018-04-27 22:12:13 +08:00
William Cheng
6a98840199
update c# netstandard petstore (oas2) ( #247 )
2018-04-27 18:04:47 +08:00
William Cheng
0373b74a75
update ts angularjs petstore (oas2), fix model prefix ( #245 )
2018-04-27 17:09:34 +08:00
Jérémie Bresson
3f976afca8
Generate vertx OAS2 ( #226 )
2018-04-27 10:19:48 +02:00
William Cheng
bec559a6e8
Update TypeScript Fetch client with Petstore OAS2 ( #244 )
...
* update ts fetch (default) with oas2
* update ts fetech npm with petstore oas2
* update ts fetch interface (petstore oas2)
* update ts fetch es6 (petstore oas2)
2018-04-27 15:37:41 +08:00
William Cheng
4ea2e6dc78
update C# property change client (oas2) ( #242 )
2018-04-27 11:55:37 +08:00
William Cheng
6f4af337d9
Update TS Angular v4, v4.3 with Petstore OAS2 ( #241 )
...
* update ts angular 4 from codegen2x
* update ts angular v4 with petstore oas2
* restore ts agnular 4.3 from codegen2x
* update ts angular 4.3 with petstore oas2
2018-04-27 00:24:40 +08:00
William Cheng
5ef5e540fd
Update C# API client with Petstore OAS2 ( #240 )
...
* update c# petstore with oas2
* add csharp tests
2018-04-27 00:03:30 +08:00
William Cheng
8640c172c9
update ts node with oas2 ( #239 )
2018-04-26 22:39:01 +08:00
William Cheng
049eef9c53
Test erlang client, server petstore ( #235 )
...
* test erlang client, server petstore
* rename tests, replace tab
* install rebar3 in shippable ci
2018-04-26 18:12:00 +08:00
Jérémie Bresson
19b0d37c38
Generate java-msf4j ( #225 )
2018-04-26 10:41:17 +02:00
Jérémie Bresson
52391ed9e5
Regenerate all jaxrs examples ( #234 )
2018-04-26 13:54:41 +08:00
William Cheng
bcc7b788e0
fix erlang client compilation error ( #228 )
2018-04-26 13:44:05 +08:00
William Cheng
df26bcb40c
Update Erlang server samples with Petstore OAS2 ( #150 )
...
* update erlang server samples with petstore oas2
* fix compilation in erlang server
2018-04-26 13:34:02 +08:00
William Cheng
e1a0355398
Update PHP samples with OAS2 before enabling CI test ( #230 )
...
* update php samples with oas2 before enabling ci test
* deleted unused php files
2018-04-26 13:17:16 +08:00
William Cheng
e2d4f5b5ca
update ruby with oas2 before ci test ( #231 )
2018-04-26 13:15:04 +08:00
William Cheng
fe15f46906
fix toDefaultValueWithParam in JS ( #232 )
2018-04-26 13:14:46 +08:00
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
4924b4951c
Generate java-pkmst ( #223 )
2018-04-25 07:01:48 +02:00
Jérémie Bresson
6f28209ccc
Generate java inflector OAS2 ( #222 )
2018-04-25 07:01:32 +02: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
William Cheng
2c6380c846
fix inner item (list, map) for play framework ( #217 )
2018-04-24 19:02:10 +08: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
5340c35ce1
Rename sagger metadata and more ( #208 )
...
* Rename groupId, artifactId, project name, title, ...
* Remove .swagger-codegen/VERSION file
2018-04-24 08:08:53 +02:00
Jérémie Bresson
d5d8c356b7
Rename default packages for jaxrs generators ( #209 )
2018-04-24 06:26:42 +02:00
Jérémie Bresson
6983dcffa2
Update all jaxrs examples ( #144 )
2018-04-23 12:17:14 +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
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
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