Commit Graph

255 Commits

Author SHA1 Message Date
cbornet
ec6a9257e2 put spring-mvc and spring-boot under the same language gen 2016-06-20 15:12:03 +02:00
cbornet
6c5def6936 fix missing java client library files 2016-06-20 10:32:02 +02:00
Marcin Stefaniuk
0d9a490c17 Petstore sample for NancyFX. 2016-06-20 10:13:25 +02:00
abcsun
3cb178cd14 sort the endpoints in ascending to avoid the route priority issure 2016-06-18 10:16:46 +08:00
wing328
1bdaba5cdc Merge pull request #3127 from abcsun/lumen
[PHP Lumen] 	add parameters validation and the Apache license
2016-06-17 18:58:57 +08:00
abcsun
0effbae24b add lumen api.mustache to generate controller & license update & resource dir restructure 2016-06-17 11:37:10 +08:00
Remi Salembier
2d275b41e0 Java CXF petstore sample update 2016-06-16 17:13:02 +02:00
stunney
cb47bec293 Issue #3138
Continuation from original PR to update the pet store server auto gen
sample code based on previous commit.
2016-06-15 10:04:28 -04:00
wing328
89435850a6 Merge pull request #2979 from guohuang/go_server
issue#2970, [Go] add go server codegen template
2016-06-15 15:18:28 +08:00
wing328
871d5ddc5d Merge pull request #3112 from cbornet/springboot_j8async
Add java8 and async options to Spring-Boot codegen
2016-06-14 01:02:52 +08:00
clasnake
ce456fafdc Add Apache v2 license to auto-generated scalatra files. 2016-06-13 22:55:18 +08:00
abcsun
ee024c40fb add apache license to lumen 2016-06-13 17:37:19 +08:00
abcsun
bffb0fb4d8 sync from origin master 2016-06-13 10:25:03 +08:00
Guo Huang
e39aa3ed3c fix merge conflict 2016-06-12 14:15:55 -07:00
cbornet
c2dbe44d08 add java8 and async options to springboot codegen 2016-06-10 18:21:19 +02:00
wing328
e7160ca78a Merge branch 'rails5-models' of https://github.com/zlx/swagger-codegen into zlx-rails5-models 2016-06-10 21:56:22 +08:00
wing328
a33eb3132e add message about rmeoving files/folders under output folder 2016-06-10 17:01:27 +08:00
cbornet
d8eb708e23 add joda support to spring-boot and use it in sample 2016-06-09 22:09:47 +02:00
Newell Zhu
f3e368c723 Add model & migrate support 2016-06-09 18:40:01 +08:00
wing328
3165e1c39d Merge pull request #3039 from cbornet/spring_interface
[Spring] Add an option to only generate stubs of the API and no server files
2016-06-09 01:38:17 +08:00
wing328
3ae48b179a replaced global license file with default LICENSE 2016-06-07 15:15:20 +08:00
Artur Dzmitryieu
ad25052223 Update a Readme and add sample output for petstore json 2016-06-06 15:03:44 -04:00
cbornet
1836062e6f don't put RequestMapping on the interface
as Spring-MVC will automatically consider it as a controller which is not necessarily the case (eg. for a spring-cloud FeignClient)
2016-06-06 14:40:11 +02:00
cbornet
3b37584c1f update README 2016-06-03 16:21:37 +02:00
cbornet
fe8b0cf07b add option to only generate stubs of the API and no server files
Fix #3025
2016-06-03 16:21:37 +02:00
wing328
23d2c56096 [JAX-RS] fix library setting "jersey2" (#3016)
* to fix #2981

* update sample, update ci to include jaxrs (jersey1, 2)

* avoid duplicated artifactId in pom (jaxrs jersey1)

* update jetty dependency for jersey1 jaxrs

* update bin to set proper artifact-id

* fix jersey1 jaxrs pom.xml

* fix dependency in jaxrs jersey2 pom

* downgrade jetty plugin to 9.3.0.v20150612

* update petstore sample for jaxrs jersey 1

* restore jetty to previous version. update test order

* downgrade jetty maven plugin version

* restore original version of jetty plugin
2016-06-02 14:33:08 +08:00
wing328
14aefe786e Merge pull request #3000 from zlx/rails-5-license
Add LICENSE into rails5
2016-05-30 22:07:10 +08:00
wing328
81b6ccfe1c Merge pull request #2999 from wing328/update_license
Add appendix to Apache license
2016-05-30 21:59:43 +08:00
Newell Zhu
e7baa17ba0 Add LICENSE into rails5 2016-05-30 21:38:59 +08:00
wing328
867a4f80ee Merge pull request #2996 from wing328/package_json_license
Update nodejs/ts package.json use Apache-2.0 license
2016-05-30 21:34:24 +08:00
wing328
b6595f7a1c add appendix to license 2016-05-30 21:23:12 +08:00
wing328
a27cda68ce update nodejs/ts package license to use Apache-2.0 2016-05-29 18:08:32 +08:00
wing328
4b74f6ccef add defaulat license (apache2.0) to all generators 2016-05-29 15:02:06 +08:00
Guo Huang
6415018c8f removed tab in logger, added warnings for import 2016-05-27 09:42:08 -07:00
Guo Huang
4b41877419 updated read me and removed extra space 2016-05-27 09:18:23 -07:00
Guo Huang
ef71d50eee fixed spacing issue 2016-05-26 22:49:13 -07:00
Guo Huang
db9684ff19 issue#2970, [Go] add go server codeine template 2016-05-26 22:34:18 -07:00
Newell Zhu
33a1d24e1e change better method call 2016-05-15 11:53:54 +08:00
Newell Zhu
83b5c2eeec Add Rails5 sample 2016-05-15 00:25:00 +08:00
abcsun
4d6d63754d add parameters validation from request & adjust the mustache output style 2016-05-13 11:43:29 +08:00
kolyjjj
3948ae27a4 upgrade version and delete scala-test property 2016-05-11 18:28:01 +08:00
wing328
3c117d5857 refactor special mapping to defualt codegen 2016-05-11 15:44:06 +08:00
wing328
db65a1526f Merge pull request #2761 from kolyjjj/upgradeswaggertools
[koly] update swagger tools to 0.10.1
2016-05-06 17:18:32 +08:00
wing328
3b8a66bb8c rename spsringboot sh, change permission, add ModelApiResponse.java 2016-05-05 15:31:17 +08:00
wing328
3dccc7d2a1 Merge branch 'SpringBootServer' of https://github.com/diyfr/swagger-codegen into diyfr-SpringBootServer 2016-05-05 15:28:10 +08:00
diyfr
8209653fb0 Add SpringBoot server generator 2016-05-04 16:38:36 +02:00
kolyjjj
98a2a22abf [koly] generate nodejs codes 2016-05-04 17:56:02 +08:00
diyfr
9604257649 #2742 Issue multiple methods if use multi tags 2016-05-03 13:45:31 +02:00
wing328
6e8a19bc5b fix enum for jaxrs and resteasy 2016-05-03 11:20:45 +08:00
xhh
8588c5ce0a add enum support to java 2016-05-03 11:16:05 +08:00
wing328
92d39ec0ab Merge pull request #2738 from Vrolijkx/master
Adding generation of packaging information for typescript nodeJs app.
2016-04-29 22:30:54 +08:00
Kristof Vrolijkx
a804738e8d Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-04-28 21:55:21 +02:00
diyfr
bb3dbb1d1b Confuse with maven version package (javax:javax.servlet-api &&
javax:servlet-api )
2016-04-28 15:10:39 +02:00
diyfr
4921ee8c4c Update javax-servlet-api 3.0(missing in repo maven) to 3.0.1 2016-04-28 13:57:18 +02:00
diyfr
1836f4e8c6 Generate springmvc sample petstore 2016-04-28 10:55:48 +02:00
diyfr
31f5675e72 Create windows script for spring-mvc-petstore-j8-async-server sample 2016-04-28 10:37:55 +02:00
diyfr
2d0a5210db Create Windows Script for Pet Sample with springMVC 2016-04-28 10:17:44 +02:00
Kristof Vrolijkx
4ad7ea6556 Updating sample and scripts 2016-04-24 11:21:31 +02:00
wing328
ebab222c63 add new file for jaxrs resteasy 2016-04-22 19:56:01 +08:00
wing328
7419d8634b update jaxrs and jaxrs-resteasy petstore sample 2016-04-22 19:34:48 +08:00
wing328
920dbb2183 regenerate petstore sample for springmv 2016-04-22 17:55:02 +08:00
wing328
2f365b0a16 add new model file 2016-04-22 17:38:00 +08:00
wing328
a63dbeb4c8 fix bug related to api, model doc for java server generator 2016-04-22 17:05:22 +08:00
abcsun
2a67161a3d move the lumen generator to corresponding folder 2016-04-20 20:57:04 +08:00
wing328
00aaf57f55 update springmvc sample 2016-04-17 17:51:22 +08:00
wing328
a0b429d690 Merge branch 'issue2374' of https://github.com/kolyjjj/swagger-codegen into kolyjjj-issue2374
Conflicts:
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiException.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiOriginFilter.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/ApiResponseMessage.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/NotFoundException.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/PetApi.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/StoreApi.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/UserApi.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/SwaggerConfig.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/SwaggerUiConfiguration.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/WebApplication.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/configuration/WebMvcConfiguration.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/ApiResponse.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Category.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Order.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Pet.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/Tag.java
	samples/server/petstore/spring-mvc/src/main/java/io/swagger/model/User.java
2016-04-17 17:47:58 +08:00
wing328
8e85476cbb add new fles 2016-04-16 18:19:23 +08:00
wing328
907664fb6e Merge pull request #2612 from wing328/server_use_petstore_yaml
Update server generator to use swagger.yaml instead of swagger.json
2016-04-15 20:49:52 +08:00
wing328
b58ed4822d add new file in jaxrs resteasy 2016-04-15 20:29:30 +08:00
wing328
c93fcc2643 update php, nodejs, scalatra server for petstore 2016-04-15 20:05:45 +08:00
wing328
400cc9e6f9 update sample for jaxrs 2016-04-15 18:18:18 +08:00
wing328
d64751958e update sample for some server generators 2016-04-15 17:55:40 +08:00
wing328
0982afbca0 update server generator to use petstore.yaml 2016-04-15 17:42:18 +08:00
wing328
7da2893e0e to fix #2585 2016-04-15 00:42:59 +08:00
kolyjjj
ed164a77bd [issue-2374][koly] generated the spring mvc sample 2016-04-14 23:25:43 +08:00
wing328
03b7af092b add optional argument to flask controller 2016-04-13 11:42:02 +08:00
wing328
38903aa7f3 add support for python2 2016-04-12 00:43:13 +08:00
wing328
0be18399b6 fix tos in swagger spec 2016-04-09 18:15:22 +08:00
wing328
35edb00e9b update nodejs server sample 2016-04-09 18:12:46 +08:00
wing328
64b01f7800 update nodejs server sample 2016-04-09 18:10:46 +08:00
Tony Tam
a1c978751a Merge pull request #2497 from swagger-api/issue-2496
sanitize tags, update generation timestamp
2016-04-05 07:40:11 -07:00
Tony Tam
fd8ed46c9b added sample files 2016-04-05 07:15:26 -07:00
Tony Tam
be5eae6583 rebuilt sample 2016-04-05 07:08:46 -07:00
wing328
c2cab84612 fix typo, update sinatra to use origianl petstore spec (yaml) 2016-04-04 16:17:23 +08:00
Tony Tam
3e279fc6e4 rebuilt 2016-04-03 14:33:06 -06:00
Tony Tam
3b9c28f561 added bootstrap sample 2016-04-03 14:31:19 -06:00
Tony Tam
aab280d564 made generation timestamp optional 2016-04-03 13:31:39 -06:00
Tony Tam
4bb12871c3 added bootstrap, renamed sample 2016-04-02 18:34:58 -06:00
Tony Tam
327315e9ea Merge pull request #1966 from wing328/rename_nodejs_with_server
[NodeJS] rename nodejs to nodejs-server
2016-03-22 12:21:37 -07:00
wing328
47bb5689d9 better hanlding of model name starting with number 2016-03-17 11:49:06 +08:00
wing328
c746082171 update jaxrs sample 2016-03-16 14:28:13 +08:00
wing328
dc767d0475 add new files for resteasy 2016-03-16 14:27:06 +08:00
wing328
ab41214f06 fix error with resteasy 2016-03-16 14:26:03 +08:00
wing328
5bb9e108c3 add new models 2016-03-10 10:57:39 +08:00
wing328
18262c1b61 Merge pull request #2256 from hiveship/fix-cxf-codegen
Fixes for JAXRS-CXF Codegen
2016-03-02 20:49:48 +08:00
Maelig Nantel
081c29c984 fix sample generation 2016-03-01 11:25:29 +01:00
Bruno Lopes
051ba88745 Fix for #2100 - List<String> being generated as List<Enum> (update samples) 2016-02-26 14:00:58 +00:00
wing328
a1e15adb8f add required property check to aspnet5 model constructor 2016-02-23 20:39:32 +08:00
Tony Tam
5e80b61e3e updated swagger-core versions 2016-02-04 18:02:19 -08:00
wing328
aac1b259a7 Merge pull request #2021 from chameleon82/feature/jaxrs-resteasy
Feature/jaxrs resteasy
2016-02-04 17:56:06 +08:00