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
Kristof Vrolijkx
db7a56a16f
fixing sample and typscript compile.
2016-04-28 21:54:48 +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
91a023569b
Update missing dependencies ApiInfoBuilder
2016-04-28 10:50:25 +02:00
Andrew Z Allen
8a330e9dad
Improve type checking for closure-angular
...
Closure angular now has more accurate type checking enabled.
2016-04-28 06:16:43 +00:00
diyfr
0de7b49046
Update jetty-version
2016-04-28 08:12:21 +02:00
wing328
f1ba6f5598
Merge pull request #2479 from ergon/feature/update-mainline-retrofit
...
Update retrofit2 and retrofit2rx to use retrofit 2.0.1
2016-04-28 11:44:55 +08:00
abcsun
fbde7f88ee
add parameter validation in methord call
2016-04-28 10:39:54 +08:00
Scott Williams
1674ec3799
Fix generated test directory name conflicting with sample test directory name
2016-04-27 22:53:22 +01:00
Guo Huang
3540c44e71
renamed variable
2016-04-27 14:33:04 -07:00
Guo Huang
2f8a8c05e0
Issue #2725 : added condition to import json based on return type
2016-04-27 14:29:05 -07:00
Kristof Vrolijkx
fbbcdab439
fixing generation of incorrect package, typings and tsconfig
2016-04-27 23:11:39 +02:00
Scott Williams
066baf3c16
Update comments in generated unit test stubs
2016-04-27 22:02:48 +01:00
Scott Williams
f59c43dffb
Issue #2276 Auto generated test stubs
2016-04-27 20:53:48 +01:00
Arne Jørgensen
9f40a82310
[PHP] Fix ArrayAccess interface implmentation in models
...
The models didn't implement a generally working ArrayAccess
interface. This would fail on list container types (array).
This commit refactors some internals of the model object. The model
properties are no longer stored as separate properties on the PHP object
but as entries in a `$container` property.
This is needed to make the model work also for list containers. Besides
it avoids potential problems where the model would specify property
names that could collide with names used by the Swagger model
implementation itself (i.e. `$attributeMap`).
2016-04-27 21:00:58 +02:00
Arne Jørgensen
bbe12c1658
[PHP] Use parentSchema instead parent to detect inheritance
...
`parent` in a model is set not only when the model inherits from another
model but also when a parent container exists.
So We will now use `parentSchema` to check whether a parent class
exists. If si we still use `parent` to output the class name because
that has been converted to a proper model name and `parentSchema`
hasn't.
2016-04-27 21:00:58 +02:00
Arne Jørgensen
7f99469efd
[PHP] Add test case testing ArrayAccess interface
...
Test if we implement the ArrayAccess interface correct on out model objects.
2016-04-27 21:00:58 +02:00
wing328
67b6c3f3d3
Merge pull request #2721 from fabdslv/issue-2116
...
Fix typo introduced while fixing #2116
2016-04-27 21:42:16 +08:00
wing328
46f049bef1
Merge pull request #2719 from wing328/add_uuid_mapping
...
[Python] mapped uuid to str in python
2016-04-27 21:14:00 +08:00
Fabien Da Silva
74fb6175b6
Fix typo introduced while fixing #2116
2016-04-27 13:25:33 +02:00
Jean-Michel Douliez
4b39e0579f
returning non nil potentially void dictionary
2016-04-27 12:16:44 +02:00
wing328
0244c62b47
Merge pull request #2718 from neilotoole/issue-2717
...
issue #2717 - go code won't compile due to not respecting packageName variable
2016-04-27 17:55:59 +08:00
diyfr
adf0833527
Update swaggerConfig.mustache with springfox-code-2.4.0
...
ApiInfo have a Builder in springfox version 2.4.0
see springfox.documentation.builders.ApiInfoBuilder
nota String contact is deprecated use springfox.documentation.service (String name, String url, String email)
2016-04-27 11:41:34 +02:00