Commit Graph

708 Commits

Author SHA1 Message Date
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
Alex
d2a3492dd1 Add bin/jaxrs-resteasy-petstore-server.sh
Add sample into samples/petstore/jaxrs-resteasy
Update multipart/form-data ability
2016-02-04 01:01:28 +06:00
Jim Schubert
0da1057416 [aspnet] Regenerated models to reflect partial class change 2016-02-03 13:14:26 -05:00
Jim Schubert
455ba9d839 [aspnet] Initial implementation of ASP.NET 5 server
Things to work on:

Gaps:

* Missing swagger definition functionality:
  - defaultResponse
  - examples
  - auth
  - consumes
  - produces
  - nickname
  - externalDocs
  - imports
  - security
  - schema
* Resolve allParams/hasMore issue with headerParams
* Create functional test project stub
* Resolve all issues with value type return values

In this commit:

* Initial cross-platform ASP.NET 5 API server
* Hook up swagger gen via Swashbuckle and xml comment
* Build script (*nix) in project root
* Dockerfile for container deployment
2016-02-02 22:28:27 -05:00
wing328
743a533c65 minor fix to template location for haskell 2016-02-02 22:37:01 +08:00
wing328
f77a8672fc Merge pull request #2011 from nickcmaynard/defaultvalue
Only define @DefaultValue if it's specified in the swagger spec
2016-02-02 22:21:48 +08:00
wing328
70cce7411b Merge pull request #2009 from algas/support-haskell
Code generator for haskell-servant framework
2016-02-01 13:41:51 +08:00
Masahiro Yamauchi
30e8154055 Update dependencies and repository info 2016-02-01 08:59:50 +09:00
Masahiro Yamauchi
2ad3171674 Rename 2016-02-01 08:56:15 +09:00
Nick Maynard
943c66a975 Update samples for DefaultValue 2016-01-31 21:12:16 +00:00
Masahiro Yamauchi
4e3d94c005 Code generator for haskell-servant framework 2016-01-31 20:20:19 +09:00
wing328
fc88cb9801 Merge pull request #1967 from wing328/support-jaxrs-cxf-2
[Java][JAX-RS] Support JAX-RS CXF
2016-01-26 15:46:54 +08:00
wing328
741974c1a9 add shell script for jaxrs-cxf 2016-01-25 22:23:25 +08:00
wing328
a0b4a07d08 Merge pull request #1960 from dilipkrish/master
Updated the code generation for spring mvc
2016-01-25 10:19:12 +08:00
wing328
27d1e380b8 rename nodejs to nodejs-server 2016-01-24 22:08:05 +08:00
hjacobs
4e9d1e8c79 re-generate flaskConnexion sample server with latest changes 2016-01-22 22:35:37 +01:00
Dilip Krishnan
dd6204019a Updated the generated sample server 2016-01-22 15:32:41 -06:00
wing328
2b09e8f3e5 make slim sh executable 2016-01-19 23:39:07 +08:00
wing328
a4eb5a8fa0 fix silex shell script 2016-01-19 23:35:59 +08:00
wing328
38bac9dfb4 fix byte[] in spring mvc and java inflector 2016-01-19 23:35:23 +08:00
11356176
52df082b13 Update pet store for jaxrs 2016-01-14 21:39:08 +00:00
11356176
b439bf020e Update pet store for Jaxrs 2016-01-14 20:54:47 +00:00
wing328
5a74370180 fix import for java server templates 2016-01-05 15:02:18 +08:00
Kirill Vlasov
6fc871db38 Fixing squid:S1488 - Local Variables should not be declared and then immediately returned or thrown 2015-12-31 17:08:59 +05:00
Ron
9a54371ca9 Swagger Spec -> OpenAPI Spec 2015-12-30 14:52:15 -08:00
wing328
1dd05bb90f add swagger.yaml to ruby sinatra 2015-12-13 17:39:52 +08:00
wing328
bef2dac022 fix add route in sinatra 2015-12-13 17:22:30 +08:00
wing328
b2bfe8de51 update sample 2015-12-01 23:36:43 +08:00
Nick Maynard
acda5d0bc5 Update samples for JAXRS server SecurityContext
Conflicts:
	samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/Category.java
	samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/Order.java
	samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/Pet.java
	samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/Tag.java
	samples/server/petstore/jaxrs/src/gen/java/io/swagger/model/User.java
2015-12-01 23:36:43 +08:00
wing328
76de987cd2 Merge pull request #1614 from xhh/auto-generate-operation-id
Auto generate operationId for python-flask server codegen
2015-12-01 17:58:08 +08:00
Tony Tam
88d8ea23e3 updated templates, files 2015-11-30 10:24:15 -08:00
xhh
2c6c902878 Merge branch 'master' into auto-generate-operation-id
Conflicts:
	modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/api.mustache
2015-11-30 21:05:47 +08:00
wing328
2d34f567ff Merge pull request #1619 from EduGraph/issue-1075
[PHP] Slim Framework v3 - Server Generator #1075
2015-11-29 00:54:03 +08:00
jfastnacht
41936ab5c9 Adjusted index.mustache to fit camelCase variable naming.
Updated index.php sample.
2015-11-27 15:37:25 +01:00
xhh
27e43d3fbb Implement toOperationId for python-flask server codegen
and use "operationId" in the template to replace
vendorExtensions.x-operationId
2015-11-25 19:43:31 +08:00
xhh
6675cbc20e Auto generate operationId for python-flask server codegen 2015-11-25 17:55:04 +08:00
xhh
76fe8357ce Add "equals" and "hashCode" methods to Java servers
for "jaxrs" and "spring-mvc"
2015-11-24 15:46:42 +08:00
jfastnacht
d38933f927 Added model.mustache for basic class definitions. Added sample class files. 2015-11-23 17:49:19 +01:00
jfastnacht
70efc066b5 Added notes, output formats, header params and body params 2015-11-23 16:43:13 +01:00
jfastnacht
a81d8c56e3 Adjusted index.mustache to fit Slim Framework v3
Added composer support for Slim Framework v3 RC
Updated samples
2015-11-23 15:34:36 +01:00
jfastnacht
65b9f9dcce Added basic Slim Framework support based on silex-PHP 2015-11-18 15:05:05 +01:00
Tony Tam
7f62576d88 added connexion 2015-11-18 00:17:33 -06:00
Tony Tam
d71d5ac119 added files 2015-11-17 20:14:53 -08:00
Tony Tam
c7e5c305a9 fixes #1581, rebuilt server 2015-11-17 18:46:33 -08:00
Tony Tam
40992c0a9b rebuilt 2015-11-05 22:31:56 -08:00
Tony Tam
c8ea36e188 rebuilt 2015-11-05 18:52:47 -08:00
wing328
cc7105b5d8 fix jarxs path with basepath 2015-10-26 18:00:15 +08:00
Tony Tam
bade71c6ba merged 2015-10-20 10:59:20 -07:00
Tony Tam
b2506ab598 rebuilt 2015-10-20 10:32:19 -07:00
Tony Tam
d2dc333699 rebuilt 2015-10-20 10:29:25 -07:00
Tony Tam
539496d735 rebuilt 2015-10-20 07:10:05 -07:00
Tony Tam
5e69d929a0 rebuilt 2015-10-19 23:13:27 -07:00
Nick Bruno
7bbb883a00 Generate JAXRS and SpringMVC samples to demo Authorization annotations 2015-10-16 21:25:54 -04:00
wing328
725df15dd5 update sample for nodejs 2015-10-08 23:57:14 +08:00
wing328
17bdd73891 fix springmvc by removing import of Object 2015-09-30 16:28:17 +08:00
wing328
8ce06fc898 fix HTML-escaped description on nodejs json files 2015-09-03 22:38:19 +08:00
Tony Tam
392e5172b5 changed default behavior for inflector to have unimplemented handlers 2015-08-24 17:26:26 -07:00
Tony Tam
d048a68438 added sample 2015-08-24 00:33:26 -07:00
Tony Tam
6c1f7243bf rebuilt 2015-08-23 23:29:53 -07:00
Tony Tam
d51fe80138 Revert "fixed generated code to go to target/generated-sources, added maven-c…" 2015-08-23 18:28:42 -07:00
Tony Tam
0fc5702e4d Merge pull request #1029 from swagger-api/jaxrs-server-codegen-improvements
fixed generated code to go to target/generated-sources, added maven-c…
2015-08-23 17:32:29 -07:00
Tony Tam
414de00894 fixed return type, rebuilt 2015-08-23 14:23:00 -07:00
Ole Lensmar
26336356cf added generated samples for jaxrs and inflector 2015-07-28 14:56:23 -07:00
wing328
7179c15158 Merge pull request #966 from wing328/nodejs_fix_summary
[NodeJS] Add back summary and description to the endpoint definition
2015-07-20 11:12:15 +08:00
wing328
6e7c70f247 fix sinatra outdated tag, use version tag 2015-07-13 17:43:18 +08:00
Dilip Krishnan
7cc9581f04 Updated the mustache template to remove the spurious import
Also regenerated the spring-mvc server sample
2015-07-12 20:56:36 -05:00
Dilip Krishnan
9283249963 Updated the swagger-codegen sample for generating the service side stubs
for spring mvc using springfox implementation
2015-07-12 20:56:31 -05:00
wing328
1f35f58841 add back summary and description to nodejs swagger.json 2015-07-09 14:05:08 +08:00
William Cheng
f957471509 update silex sample code location 2015-06-19 02:37:08 +08:00
William Cheng
0b0325b8af update readme, fix swaggering name 2015-06-19 02:32:50 +08:00
William Cheng
d178d5e7d8 add sinatra template 2015-06-19 02:11:08 +08:00
fehguy
3d2f09a693 updated versions 2015-06-09 00:25:09 -07:00
Tony Tam
64ea3f8177 rebuilt 2015-06-07 20:50:35 -07:00
Ron
1c2d0656b0 Code reformatting 2015-06-07 11:56:08 -04:00
Ron
22d7db2cb4 url changes 2015-06-07 11:46:11 -04:00
Ron
96107193e9 updated reverb references 2015-06-07 11:18:49 -04:00
Tony Tam
6c57810128 rebuilt 2015-06-07 00:08:01 -07:00
Tony Tam
8c340d52a4 updated packages 2015-06-06 23:58:36 -07:00
Tony Tam
0c1657d744 updated package 2015-06-06 23:43:34 -07:00
Tony Tam
ad9b790712 updated sample 2015-05-23 09:04:06 -07:00
Tony Tam
99a11636da rebuilt 2015-05-20 22:51:30 -07:00
Tony Tam
11dd7784f8 rebuilt 2015-05-20 22:20:51 -07:00
Tony Tam
dae01b5043 template update 2015-05-12 06:04:44 -04:00
Tony Tam
c2ee64e669 fixed version 2015-05-12 06:03:45 -04:00
Tony Tam
e1a3540caf fixed version 2015-04-08 05:00:10 -06:00
Tony Tam
1b4367ffba updated readme 2015-04-05 13:50:49 -07:00
Tony Tam
27c7e69fba updated templates 2015-04-05 13:42:20 -07:00
Tony Tam
a0c9296ee8 name rebuilds, tests 2015-04-04 20:04:10 -07:00
Tony Tam
0c2e464c71 updated jetty version 2015-04-04 17:49:36 -07:00
Tony Tam
33c87e8e72 added sample 2015-04-04 17:02:16 -07:00
Tony Tam
ba2ccf788c name rebuilds, tests 2015-04-04 17:00:22 -07:00
Tony Tam
5e83b6602e updated templates for baseName 2015-03-29 20:49:51 -07:00
Tony Tam
5ab425e82d rebuilt 2015-03-29 20:42:20 -07:00
Tony Tam
de56f76284 rebuilt sample 2015-03-19 14:52:45 -07:00
Tony Tam
b6e5c55817 updated nodejs server to swagger-tools, supports 2.0 spec 2015-03-18 16:10:54 -07:00
Tony Tam
64fbcb6045 rebuilt client 2015-03-18 09:34:19 -07:00
Tony Tam
05297e05a5 made annotations FQ to avoid collisions 2015-02-24 21:12:08 -08:00
Tony Tam
1a0d2d19f5 updated template 2015-02-24 18:07:13 -08:00
Tony Tam
9ae106affd rebuilt clients 2015-02-17 21:37:51 -08:00
Tony Tam
026c93a104 fixed models 2015-02-16 18:03:15 -08:00
Tony Tam
a1cf365288 rebuilt 2015-02-16 17:37:45 -08:00
Tony Tam
76a367072c updated client 2015-02-15 22:20:26 -08:00
Tony Tam
9614dd8b95 added sample 2015-02-14 17:48:55 -08:00
Tony Tam
85b396ce88 rebuilt sample 2015-02-12 22:24:17 -08:00
Tony Tam
416c087be0 removed old files 2015-02-06 11:36:58 -08:00
Tony Tam
f7c6810757 updated samples 2015-02-05 11:35:13 -08:00