Commit Graph

6107 Commits

Author SHA1 Message Date
Jérémie Bresson
1492df6cef
Override server port for Jetty configuration (#246) 2018-05-02 07:11:29 +02:00
William Cheng
4497a1fe47
update default user agent (#284) 2018-05-02 01:12:32 +08: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
8e29dba85b
update file header (#282) 2018-05-01 18:50:48 +08:00
William Cheng
23fc7a8cee
rearrange how map, array, model are checked in body request (#277) 2018-05-01 12:39:56 +08:00
Jon Schoning
d3401396f5 [haskell-http-client] remove duplicates in produces/consumes; fix pathParam paramName issue (#273) 2018-05-01 12:27:20 +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
4bc99b9da8
minor fixes to haskell http client generator (#278) 2018-05-01 11:27:37 +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
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
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
William Cheng
861d11d010
use vendor extension in operation to set the body parameter name (#264)
Use vendor extension in Operation to set the body parameter name
2018-04-29 17:17:01 +08:00
William Cheng
80c8b92cb5
add postProcessParamter for body, form parameter (#263) 2018-04-29 15:58:12 +08:00
wing328
1e999f289d various fix for go petstore 2018-04-29 02:03:21 +08:00
wing328
73cb1cd016 fix parameter naming in go 2018-04-28 23:21:17 +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
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
Jérémie Bresson
633834455d
Rework url handling (#236) 2018-04-26 10:40:39 +02: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
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
6f28209ccc
Generate java inflector OAS2 (#222) 2018-04-25 07:01:32 +02:00
William Cheng
c605090d61 Fix alias for the model's properties (#219) 2018-04-25 05:50:55 +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
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
7fe555a519
Set collectionFormat default only for array (#210) 2018-04-24 08:01:49 +02:00
Jérémie Bresson
61c25e7112 Fixes for retrofit (#213)
* Add org.threeten as dependency
* Mandatory parameter for @retrofit2.http.Field/Part
2018-04-24 13:20:44 +08: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
ccd0029667
java rest-assured: fix javadoc in templates (#207) 2018-04-23 20:39:30 +02:00
William Cheng
1f64646dc3 Rename Scala generators (#206) 2018-04-23 16:15:40 +02:00
Jérémie Bresson
e7410d4c8e
Allow $ in java var name (#200) 2018-04-23 15:48:10 +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
William Cheng
16589de975 default collection format to csv according to the spec (#201) 2018-04-23 10:14:45 +02:00