Commit Graph

74 Commits

Author SHA1 Message Date
wing328
3c9b495eb1 Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-27 21:16:16 +08:00
wing328
58db6a5e14 Revert "Issue#5376- changes to include swagger version in generated api files (#5449)" (#5489)
This reverts commit 702f193f61.
2017-04-26 17:53:36 +08:00
wing328
f4d78079de Merge remote-tracking branch 'origin/master' into 2.3.0 2017-04-25 23:34:45 +08:00
Elizabeth Thomas
702f193f61 Issue#5376- changes to include swagger version in generated api files (#5449)
* Elizabeth - changes to include swagger version in generated api files

* Filtering version.properties in swagger codegen module

* Removing resource filtering from swagger codegen cli module

* Merging master
2017-04-25 23:28:16 +08:00
Paŭlo Ebermann
9be178b26a Merge branch 'master' into new-sync-master-to-2.3.0 2017-03-13 21:42:41 +01:00
wing328
8fb71b46db cache module directory to improve CI performance (#5025) 2017-03-11 16:59:17 +08:00
Dan Wilson
774dd33af0 Add optional parameters to go client using map[string]interface{} (#4415)
* Add VSCode to the list of ignores.

* Move optional parameters into a map[string]interface{}
Refactor tests to new API and add concurrency test.

* Add optional check to postBody.
The pet-store does not create this scenario.
2016-12-20 16:32:44 +08:00
wing328
bbb0cdc8c3 update gitignore to include PetStore.pro.user 2016-10-19 16:43:11 +08:00
Jim Schubert
c70a2a7481 [aspnetcore] Deprecating aspnet5 for aspnetcore
This moves previous aspnet5 functionality to aspnetcore, aspnet5 now
derives from the aspnetcore generator and logs a warning that it's
deprecated.

This will help resolve any confusion because ASP.NET 5 is terminology
referring to the project of around a year ago. ASP.NET Core 1.0 is the
new name for the technology, and further enhancements should target .NET
Core 1.0 rather than any old vNext or preview stuff.
2016-10-16 21:22:34 -04:00
wing328
0712ebc33d Merge pull request #3954 from jimschubert/aspnet/3680
[aspnet] Fix .sln/.xproj guids
2016-10-10 09:17:49 +08:00
Jim Schubert
a94a27307d [aspnet] Fix .sln/.xproj guids
The AspNet5 generator was originally written to support project.json.
The Project.xproj was implemented without a valid project guid or root
namespace. During the transition period from project.json to
Project.xproj, VS2015 would fallback to project.json. Newer versions of
VS2015 don't seem to do this any longer.

This commit defines the project's guid correctly, and sets the project's
root namespace.

See: #3680
2016-10-09 08:31:35 -04:00
Miguel García
e633073082 Add a new cli command to output version information (2nd attempt) #3892 (#3899)
* Properly git-ignore all nbactions.xml files.

* Add a command line action to print the program version (#3892).

I am using maven resource filtering capabilities so that an existing version.properties resource file
gets filtered upon build and populated with the project version tag. This resource is then read
at runtime as required.

* Using a different version tag when unreadable.
2016-10-03 17:14:54 +08:00
wing328
1dd9ee39af [C#] Add CI tests to cover C# Petstore client with "PropertyChanged" (#3796)
* add c# api client with proeprty changed to CI

* add shell script to update all C# petstore sample
2016-09-14 18:43:13 +08:00
wing328
fb3b91550c add back test cases for java jersey1 client 2016-09-06 18:51:28 +08:00
wing328
1fde95f997 fix java okhttp (array of enum property) 2016-08-03 01:36:34 +08:00
ant3
bf8e1ade56 Added tests to jersey2-java8 sample
These are the tests from the jersey2 sample - but adapted to use the
java8 time classes (rather than Joda time).
2016-07-09 11:31:25 +01:00
wing328
c9d2bb8a96 add test for jaxrs resteasy joda 2016-07-01 21:40:34 +08:00
wing328
8c754d234d fix npe for swift due to array of enum 2016-07-01 16:58:18 +08:00
wing328
1e596654cd remove node_modeuls under petstore security test for js 2016-06-29 21:47:41 +08:00
wing328
f38c8373cc create new spec for security testing 2016-06-28 11:48:52 +08:00
Mateusz Mackowiak
fc43b8700b [Objc] Moved default petstore demo sample to default folder and created a target with core data sample 2016-06-16 11:57:52 +02:00
wing328
bc04ebed94 add mono script to nunit test csharp client 2016-06-11 23:44:48 +08:00
clasnake
92d4f5df22 Add build folder in the sample scala client into gitignore. 2016-06-06 22:11:16 +08:00
clasnake
992a22f409 Add build folder under java sample clients into gitignore in sample. 2016-06-05 09:22:13 +08:00
wing328
8096308657 add apache v2 license to csharp api client 2016-05-25 14:41:17 +08:00
wing328
f7ed6f040d add ci test for typescript angular 2016-05-20 00:34:31 +08:00
wing328
3b4331a7ee add ci to ts node npm 2016-05-20 00:34:31 +08:00
Leon Yu
aed31fbff3 basic integration test for typescript-fetch
fix postpublish script
2016-05-13 01:45:54 -04:00
wing328
cd6f5877ac add bin/typescript-fetch-petstore-all.sh 2016-05-10 18:01:17 +08:00
wing328
2ab315fa6f Merge branch 'csharp_default_paths' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp_default_paths
Conflicts:
	modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractCSharpCodegen.java
	samples/client/petstore/csharp/SwaggerClient/README.md
	samples/client/petstore/csharp/SwaggerClient/docs/FormatTest.md
	samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/Model/FormatTest.cs
	samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/InlineResponse200.cs
	samples/client/petstore/csharp/SwaggerClientTest/SwaggerClientTest.csproj
	samples/client/petstore/csharp/SwaggerClientTest/SwaggerClientTest.userprefs
	samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.csproj.FilesWrittenAbsolute.txt
2016-05-07 17:30:40 +08:00
wing328
6b0b343b92 add option to support ES6 2016-05-03 16:42:02 +08: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
wing328
5522edac0c Merge pull request #2466 from wing328/nodejs_method_name
[NodeJS] fix operationId issue with Nodejs
2016-04-09 18:53:55 +08:00
wing328
64b01f7800 update nodejs server sample 2016-04-09 18:10:46 +08:00
wing328
dd8b581827 add new ruby files 2016-04-09 17:50:01 +08:00
wing328
47bb5689d9 better hanlding of model name starting with number 2016-03-17 11:49:06 +08:00
wing328
5db16325d4 update perl model to support prefix and suffix 2016-02-27 21:47:07 +08:00
wing328
28769ac671 add prefix and suffic support to php and python models 2016-02-27 18:30:56 +08:00
wing328
a36966d961 Merge pull request #1991 from jaz-ah/issue-1989
[Swift] fix issue 1989: generate AnyObject type from json object type instead…
2016-02-10 00:42:39 +08:00
Joseph Zuromski
288acdb2d4 one more gitignore to keep git clean after build 2016-02-08 13:04:18 -08:00
Joseph Zuromski
7c4983df16 fixup gitignore/schemes 2016-02-08 12:59:35 -08:00
Joseph Zuromski
bc0658e81c add in initial swift client tests 2016-02-08 12:51:14 -08:00
Joseph Zuromski
a4a1372fc1 update swift samples 2016-02-07 05:59:23 -08:00
GU Yu (Byron)
06ef76631c Add .gradle into .gitignore. 2016-01-29 01:23:45 +08:00
GU Yu (Byron)
66799bc695 Merge branch 'master' into vagrant_new 2016-01-22 16:12:06 +08:00
GU Yu (Byron)
f15341efae Run docker in vagrant 2016-01-22 14:34:13 +08:00
wing328
7b1dde3d85 Merge pull request #1911 from wing328/mapping_update_binary
Add "binary" mapping in code generators
2016-01-18 12:29:18 +08:00
wing328
bfc83b330f fix indent, update perl & python sample 2016-01-17 19:32:50 +08:00
wing328
1bae5c44b2 fix null apiclient in .net (windows) 2016-01-17 16:04:13 +08:00
wing328
fc218d0b4f Merge pull request #1812 from captin411/perl-flexible-module-name
[Perl] more flexible perl module naming (Allow::This even without WWW::)
2016-01-07 10:37:45 +08:00