Commit Graph

8009 Commits

Author SHA1 Message Date
Chris Putnam
4fa3595a41 [typescript-angular2] Fix syntax error (#4383)
* allow function so access token can be derived for each api call

* update tests

* update type for accessToken to be string or function that returns string

* fix syntax error
2016-12-14 11:50:02 +08:00
wing328
dbb66af73d [C#] Add auto-generated doc for c# 2.0 generator (#4354)
* add auto-generated doc for c# 2.0 generator

* update readme for c# 2.0

* update readme

* update namespace in the doc
2016-12-14 11:49:15 +08:00
Leonardo Pacheco
83adcf5c06 Update README.md (#4390)
Included "Prill Tecnologia" to the list of companies using swagger-codegen.
2016-12-14 11:23:51 +08:00
wing328
a291d3113a [Android] better code format for Android (volley) API client (#4384)
* better code format for android volley

* better code format for apiinvoker, add docstring

* use 2-space indentation for pair class

* use 2 spaces indentation for other classes in android
2016-12-14 00:40:21 +08:00
wing328
b33d4ec30c add enum_outer_doc.mustache for android (#4381) 2016-12-13 17:54:23 +08:00
Dan Wilson
e55664cdc9 Remove invalid code from mustache for arrays. (#4266)
Rewrite ParameterToString to handle other slice types other than just string.
2016-12-13 16:13:06 +08:00
wing328
5818f2c882 [C++] better code format for cpprest templates (#4379)
* replace tab with 4-space in cpprest templates

* remove trailing whitespaces from templates

* fix code indentation in cpprest templates

* remove empty block in cpprest templates
2016-12-13 16:09:56 +08:00
wing328
7719bc8f1d add https://github.com/bbatsov/clojure-style-guide 2016-12-13 16:09:15 +08:00
weiyang
beeb02a2dc [html] Add type anchor to body param block (#4368)
* [html] Add type anchor to 'bodyParam' block

Signed-off-by: weiyang <weiyang.ones@gmail.com>

* [html][samples] Add type anchor to 'bodyParam' block

Signed-off-by: weiyang <weiyang.ones@gmail.com>
2016-12-13 15:52:22 +08:00
Scott Richter
da9d64d053 Fix for issue #4370 - Cpprest does not set Content-Type header on POST requests. (#4374)
* Fixed cpprest generator to include Content-Type header in requests.

* Fixing indent to use spaces.
2016-12-13 15:01:47 +08:00
Dmitry Solovyov
15a84259aa added Upwork to users list (#4378) 2016-12-13 11:08:14 +08:00
Chris Putnam
0b5a6f25da [typescript-angular2] access token function (#4361)
* allow function so access token can be derived for each api call

* update tests

* update type for accessToken to be string or function that returns string
2016-12-13 00:39:09 +08:00
Paul Vollmer
77b92d7d11 Fix go client auth UserName var issue (#4245) 2016-12-13 00:19:20 +08:00
wing328
62aabfc6c1 Merge branch 'jfiala-beanval_2549' 2016-12-13 00:05:03 +08:00
wing328
d9de3b540d Merge branch 'beanval_2549' of https://github.com/jfiala/swagger-codegen into jfiala-beanval_2549 2016-12-13 00:01:44 +08:00
Dmitry Solovyov
bf50ea1366 fix the value for @Generated java annotation (#4366)
com.my.Generator.class.toString() returns "class com.my.Generator", and this value is then used in the javax.annotation.Generated annotation like that: @Generated(value = "class com.my.Generator").
Should use Generator.class.getName() instead, so we end up with @Generated(value = "com.my.Generator")
2016-12-12 18:38:39 +08:00
wing328
f4fb79822f Add CircleCI configuration in preparation for CI test migration (#4367)
* add codeship yml

* rename ci config

* show rvm version

* use ruby-2.1.0

* check ruby version

* use rvm default

* fix host name

* set node version

* test mvn clean install

* use -q for mvn

* set memory limit

* add export MAVEN_OPTS="-Xmx512m -XX:MaxPermSize=128m"

* run test only

* update MaxPermSize to 256mb

* run mvn verify

* remove -q

* add comment

* add more comment

* restore ruby model order
2016-12-12 17:42:08 +08:00
wing328
562ff1a4e1 Minor fix to issue with Appveyor (#4365)
* show current folder in appveyor ci

* remove cache

* comment out folder delete
2016-12-12 17:13:20 +08:00
wing328
c2a4c558c8 add delete cmd for appveyor 2016-12-12 15:44:15 +08:00
wing328
516c21cd62 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-12-12 15:42:14 +08:00
Frederick Cai
8e200970d4 [typescript-angular2] build to dist folder 2016-12-11 23:39:18 +13:00
wing328
2e6eb43c26 add SRC 2016-12-11 14:26:58 +08:00
Cliffano Subagio
78e2435f42 Add Shine Solutions to list of companies using Swagger Codegen (#4363) 2016-12-11 14:25:33 +08:00
wing328
130161fc43 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-12-10 01:02:22 +08:00
Sreenidhi Sreesha
c83c813865 Refactor Boolean properties to boolean. (#4326)
There is no good reason to use Boolean instead of boolean.
Using Boolean will lead to handling "null" state which is confusing.

This change removes changes the type of Boolean properties to boolean.
2016-12-10 00:37:50 +08:00
wing328
56eda63c70 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-12-09 23:52:53 +08:00
wing328
6e578f437f add keyword (sdk generation) 2016-12-09 23:21:45 +08:00
wing328
b68e4b05d9 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-12-09 17:43:56 +08:00
Thomas Hoffmann
7a97c3c375 Still respect super.equals even for models without own vars (#4259) 2016-12-09 17:27:55 +08:00
Vlad Frolov
4d2a13018b [Python] Make the code look Pythonic (#4352) 2016-12-09 17:26:23 +08:00
wing328
2e80d2fb40 Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-12-09 15:56:06 +08:00
Jens Oberender
c3571b28a5 Some code cleanings of problems reported by SonarQube. (#4324)
* Some code cleanings of problems reported by SonarQube.

* Updated changes to the petshop sample.
2016-12-09 15:55:33 +08:00
wing328
73bf589ad0 add swagger codegen evangelist 2016-12-09 15:18:55 +08:00
wing328
ceb9cb79cd Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-12-09 00:34:19 +08:00
wing328
a0f2b235f1 [C#] fix build.sh for PropertyChanged feature in C# API client (#4349)
* fix build.sh for PropertyChange in C#

* add new csharp files

* manual fix to enum ref in c# client
2016-12-09 00:03:38 +08:00
wing328
9051848ffa minor fix to petstore test spec 2016-12-08 23:24:20 +08:00
wing328
af2db27a83 remove trailing space in ts fetech api, add npm test to ci (#4348) 2016-12-08 18:09:20 +08:00
Josh Williams
535b233ff7 Fix for #4344 - update compile.mustache with new dependencies (#4345)
* Fix for #4344 - update compile.mustache with new dependencies

* Fix compile.mustache to use generatePropertyChanged flag for DLLs
2016-12-08 16:14:25 +08:00
Christopher Chiche
a3d3082105 [Typescript/Fetch] Fix tslint issues in generated code (#4313)
* [Typescript/Fetch] Fix tslint issues in generated code

* Add security generated files.

* Use tslint version that doesn't require typescript 2

* Run build scripts
2016-12-08 16:01:50 +08:00
wing328
a0c4b58b53 add guid mapping for c# 2.0 (#4347) 2016-12-08 15:59:06 +08:00
wing328
939a8052f3 [Java] Uncomment @Max @Min syntax in bean validation files (#4340)
* uncomment max min syntax in bean validation files (java)

* remove eol at the end of the file
2016-12-08 15:22:55 +08:00
Sergey Kondratov
a2c2a77a93 Added Saritasa to list of Companies (#4343) 2016-12-08 10:22:01 +08:00
wing328
56d5b54599 add tests for swift3 client in travis objc/swift config 2016-12-07 23:23:40 +08:00
wing328
162352cb4b Fix maximum, minimum for Integer (#4335)
* fix int/long max, min value (removing decimal)

* fix integer min/max in parameter
2016-12-07 19:29:36 +08:00
wing328
f781f1df5b comment out xctool installation 2016-12-07 18:39:45 +08:00
Alvin
b7984e55a7 [Swift3][bug#4318] Bug when handling java date (#4332)
* fix bug #4318

* swift3 samples update
2016-12-07 17:58:21 +08:00
wing328
8153f0e89b Fix test spec issue (#4334)
* fix issue with swagger spec (number => integer)

* remove space from spec
2016-12-07 16:46:41 +08:00
Jim Schubert
8e1eeaa737 [csharp] Remove generatePropertyChanged when explicitly false (#4280) 2016-12-07 01:04:13 +08:00
Sebastian Haas
648f8df235 Fix for missing headers (#4328)
* Fix for  #4322

Signed-off-by: Sebastian Haas <sebastian@haas.tech>

* Run typescript-angular2-petstore.sh

Signed-off-by: Sebastian Haas <sebastian@haas.tech>

* Run typescript-angular2-petstore.sh

Signed-off-by: Sebastian Haas <sebastian@haas.tech>
2016-12-06 23:59:59 +08:00
Tadhg Pearson
79a71fd697 Update docs for Java code generation (#4303)
* Updated documentation to support Java code generation

* Tabs to spaces in example pom
2016-12-05 17:34:37 +08:00