8767 Commits

Author SHA1 Message Date
xhh
8588c5ce0a add enum support to java 2016-05-03 11:16:05 +08:00
wing328
be83c0cc3c add new enum file for csharp and php 2016-05-03 11:16:05 +08:00
wing328
f5bee0c1b7 fix java docstring 2016-05-03 11:16:05 +08:00
wing328
2942ef8b73 add double enum support to C# 2016-05-03 11:16:05 +08:00
wing328
a7ca0ad11f add enum number support to php 2016-05-03 11:16:05 +08:00
wing328
531b536ffb add enum number support to C# 2016-05-03 11:15:40 +08:00
wing328
00e15b76ec clean up post process model in csharp, add default value for enum 2016-05-03 11:14:45 +08:00
wing328
45f3cfd5cf better enum support for csharp 2016-05-03 11:14:45 +08:00
wing328
217d93401b better php enum naming 2016-05-03 11:14:45 +08:00
wing328
11deb43829 add enum class support to php 2016-05-03 11:14:45 +08:00
wing328
2c9e9ee425 fix getter for allowableValues for php enum 2016-05-03 11:14:45 +08:00
wing328
800a858acb add enum support to php, refactor post process model enum 2016-05-03 11:14:44 +08:00
wing328
f2d180f9a8 Merge pull request #2754 from wing328/add_uuid_mapping
Add uuid mapping
2016-05-03 11:13:45 +08:00
Ben Herila
6c3701a403 ES6-ify typescript promises, update tests, remove bluebird dependency in favor of ES6 promises 2016-05-02 18:49:39 -07:00
Ben Herila
3fba32573c Ensure generated enum values are valid, resolves #2457 2016-05-02 18:47:03 -07:00
Ben Herila
282f497839 Specify default base path in file, rather than hard-coded in each class 2016-05-02 18:47:03 -07:00
Ben Herila
d694118685 Rewrite Promise.defer in new style, resolves swagger-api/swagger-codegen#2251 2016-05-02 18:47:03 -07:00
Scott Williams
1fef0ef691 Fix import statement 2016-05-02 16:39:25 +01:00
Scott Williams
4a440f4ee4 Fix excpetion message to include 2016-05-02 16:37:32 +01:00
Scott Williams
3dbdc83981 Add validation to model 2016-05-02 16:25:46 +01:00
Neil O'Toole
803c62e0dc fixed new line issue 2016-05-02 15:53:19 +01:00
wing328
d64af1b836 fix typescript tmeplate folder 2016-05-02 22:16:07 +08:00
wing328
d6158c4c55 fix uuid for java, php, ruby and csharp 2016-05-02 22:06:33 +08:00
Mikolaj Przybysz
9bf4e12056 issue-2743 generating docs in root/docs(Api/Model) 2016-05-02 11:40:56 +02:00
Mikolaj Przybysz
ce6dd4b2c2 issue-2743 added autoloading of tests into composer while in dev (ref.: https://getcomposer.org/doc/04-schema.md#autoload-dev) 2016-05-02 11:39:56 +02:00
Mikolaj Przybysz
b1c030d698 issue-2743 generating unit tests in root/test directory 2016-05-02 11:37:17 +02:00
Jim Schubert
3ed715b26e [csharp] Fix ASP.NET Core 1.0 src location 2016-05-01 20:42:10 -04:00
Jim Schubert
7d8df7ef93 Merge remote-tracking branch 'origin/master' into csharp_default_paths 2016-05-01 20:16:47 -04:00
Jim Schubert
7b578a4c4e Update C# client structure using common standards
Aligns C# project outputs more with community accepted standards and
leverges Nuget for package management.

This also moves the generated C# sample code out of the test project's
Lib folder. The output structure here was causing some issues with
maintainability (e.g. had to update test project with generated code).

(see: https://gist.github.com/davidfowl/ed7564297c61fe9ab814)
Output for a project, IO.Swagger will now look like:

    .
    ├── IO.Swagger.sln
    ├── README.md
    ├── bin
    ├── build.bat
    ├── build.sh
    ├── docs
    ├── packages
    └── src
        ├── IO.Swagger
        │   └── packages.config
        └── IO.Swagger.Test
            └── packages.config

This is a change from the Java-like src/main/csharp/IO/Swagger/etc
structure and will be a breaking change for some.
2016-05-01 20:03:45 -04:00
Kristof Vrolijkx
d78b5f1773 adding diff for files in integration test 2016-05-01 22:45:06 +02:00
Scott Williams
97e69aabc3 Add support for max/min string length 2016-05-01 16:38:56 +01:00
Scott Williams
cea6bce196 Follow convention in place when accessing attributes 2016-05-01 16:15:29 +01:00
Scott Williams
6e8497fdb7 Add validation to api class 2016-05-01 16:09:02 +01:00
Kristof Vrolijkx
15feb208e7 improving integration test concept. 2016-05-01 17:06:12 +02:00
Neil O'Toole
5fdf615de7 Issue #2478 - generated code now conforms more closely to conventions 2016-05-01 14:41:40 +01:00
Kristof Vrolijkx
f8046bc9c9 small example of a first integration-test of the code-generator 2016-05-01 14:27:41 +02:00
wing328
2d5cc50bd1 Merge branch 'master' of https://github.com/demonfiddler/swagger-codegen into demonfiddler-master
Conflicts:
	samples/client/petstore/javascript-promise/README.md
	samples/client/petstore/javascript-promise/docs/PetApi.md
	samples/client/petstore/javascript-promise/docs/StoreApi.md
	samples/client/petstore/javascript-promise/src/api/PetApi.js
	samples/client/petstore/javascript-promise/src/index.js
	samples/client/petstore/javascript/README.md
	samples/client/petstore/javascript/docs/PetApi.md
	samples/client/petstore/javascript/docs/StoreApi.md
	samples/client/petstore/javascript/src/api/PetApi.js
	samples/client/petstore/javascript/src/index.js
2016-05-01 12:05:49 +08:00
wing328
7f09a86a1e update wording related to git 2016-04-30 20:23:35 +08:00
wing328
83567861e0 update JS readme to use gitUserId instead 2016-04-30 20:15:45 +08:00
wing328
02e898816f Merge pull request #2740 from wing328/ruby_not_overwrite_test
[Ruby] skip overwriting ruby spec files
2016-04-30 00:21:18 +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
wing328
3bcd937270 Merge pull request #2720 from diyfr/Update-to-Springfox-2.4
Update SpringMVC model to Springfox 2.4.0
2016-04-29 17:54:12 +08:00
wing328
0612255f95 Merge pull request #2728 from guohuang/import_bug
Issue #2725: added condition to import json based on return type
2016-04-29 17:03:52 +08:00
wing328
f0906bd19a Merge pull request #2733 from abcsun/php_parameter_validation
[PHP] add parameter validation in methord call
2016-04-29 16:56:52 +08:00
Kristof Vrolijkx
de5363c21b Correcting author 2016-04-29 08:49:48 +02:00
wing328
90442db86d skip overwriting ruby spec files 2016-04-29 11:10:52 +08:00
abcsun
72120099b4 change the validation to allParams 2016-04-29 11:04:27 +08:00
wing328
6b3735e58d Merge pull request #2727 from scottrw93/test-cases
Add test cases for Python Client
2016-04-29 10:18:53 +08:00
Leon Yu
19d22d834c TypeScript Fetch: implementation 2016-04-28 19:22:22 -04:00
Kristof Vrolijkx
a804738e8d Merge branch 'master' of https://github.com/swagger-api/swagger-codegen 2016-04-28 21:55:21 +02:00