wing328
aa3a5c6347
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-23 16:54:49 +08:00
wing328
b89e2e6cc3
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2017-03-23 15:22:24 +08:00
Paŭlo Ebermann
9dc8cf3fa6
Update samples for java/jersey2-java6 (and fix artifact ID) ( #5118 )
...
* Update samples for java/jersey2-java6.
* Let the sample generation script set the right name for jersey2-java6.
This is the equivalent change to #5095 , for jersey2-java6.
* Update samples for Java/Jersey2-java6.
2017-03-23 15:22:14 +08:00
wing328
a30c5cbe70
include bin/java-petstore-jersey2-java6.sh in java-petstoreall.sh
2017-03-23 15:21:46 +08:00
David Biesack
5f27fcab18
Add support for Markdown in -l html ( #5144 )
...
* Sync with upstream/master
* Support Markdown in -l html
Add https://github.com/atlassian/commonmark-java to modules/swagger-codegen to convert Markdown to HTML,
update StaticHtmlGenerator to use this (see the toHeml() method and its uses)
Add a new test case bin/html-markdown.sh and
modules/swagger-codegen/src/test/resources/2_0/markdown.yaml
* Support Markdown in -l html
Add https://github.com/atlassian/commonmark-java to modules/swagger-codegen to convert Markdown to HTML,
update StaticHtmlGenerator to use this (see the toHeml() method and its uses)
Add a new test case bin/html-markdown.sh and
modules/swagger-codegen/src/test/resources/2_0/markdown.yaml
2017-03-23 15:15:01 +08:00
wing328
321c7cb2ca
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-20 21:16:02 +08:00
Gronsak
580745ef43
[C#] Adding support for generating .NET Standard 1.3 client library ( #4955 )
...
* [CsharpNetStandard] Added C# .NET Standard Client Generation
Added language CsharpNetStandard.
Everything copied from csharp Client Generator.
Dependancies switched from Restsharp to Restsharp.Portable.
Changes made where nececary to replicate Restsharp functionallity.
Project type changed to .NET Standard protable library.
* [CsharpNetStandard] Removed client prop validation due to incompability
* [CsharpNetStandard] Minor fixes
Changed leftover RestSharp.Method to Method
Changed to .Net Standard 1.3 for compability reasons
Changed excludeTests to default to true due to tests not being implemented yet
Removed unnecessary targetFramework property
Removed leftover UWP stuff
* [CsharpNetStandard] More fixes
Added correct dependencies to Readme
Added correct supported frameworks to Readme
Added slightly better placeholder for installation instructions in Readme
Removed leftover dependencies from project.json
Removed leftover SupportsAsync stuff
Removed references to build.bat/-.sh since they're not yet being generated
Todo implement test generation
* [CsharpNetStandard] Added forgoten git_push.sh
* [C#-netstandard] Renamed option to csharp-netstandard
Also added .bat file for test generation
* [C# Net Standard] fixed path in .bat file
* [C# NET Standard] fixes to enum generation
Fixed issues with enum generation due to tired programmer
* [C# NET Standard] Generated sample client library
Sample library generated
Fixes:
Class actually works again
.bat - minor inconsistency fixed
* [C# NET Standard] Error corrected in how timeout is set
Configuration Timeout property changed to TimeSpan type and code corrected around that
* [C#] Merged .NET Standard generator into csharp generator
Functionallity of csharp-netstarndard generator has been moved into standard csharp generator under the targetFramework option as "v5.0"
2017-03-20 17:21:44 +08:00
wing328
11d899c9cd
Merge remote-tracking branch 'origin' into 2.3.0
2017-03-18 23:05:12 +08:00
wing328
6c2304ace5
add petstore sample for jaxrs-cxf-client, update travis ci ( #5111 )
2017-03-18 22:48:38 +08:00
wing328
045f265224
Merge remote-tracking branch 'origin' into 2.3.0
2017-03-18 16:50:06 +08:00
Paŭlo Ebermann
426660206d
Fix sample script to set the correct artifact ID in the generated POM ( #5094 )
...
* Update samples for akka.
* Have akka-scala-petstore scripts set the correct artifact names
* Update akka-scala samples again.
2017-03-18 16:49:46 +08:00
Paul Ebermann
f907af6f31
Merge branch 'master' into new-sync-master-to-2.3.0
2017-03-15 18:43:12 +01:00
Paŭlo Ebermann
1c160df338
Fix Issue #5063 (deleting wrong sample files) ( #5064 )
...
* Update samples for springboot, spring-delegate, spring-delegate-j8.
* Issue #5063 : delete samples in the correct directory.
2017-03-16 01:36:25 +08:00
Paul Ebermann
784169bc3f
Merge branch 'master' into new-sync-master-to-2.3.0
2017-03-15 16:41:33 +01:00
Paŭlo Ebermann
e1b1edf958
Merge branch 'merge-2.3.0' into new-sync-master-to-2.3.0
2017-03-14 21:04:47 +01:00
Ben Herila
eea58c55b4
Add support for typescript-jquery (typescript-based API calls using jquery ajax in the browser) ( #4953 )
...
* Typescript jquery client wip
* typescript-jquery wip
* Fix typo
* typescript-jquery wip
* Fix formatting
* Petstore sample for typescript-jquery
* Petstore sample for typescript-jquery
* wip
2017-03-15 00:17:04 +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
Paŭlo Ebermann
22de105895
Merge remote-tracking branch 'upstream/2.3.0' into merge-2.3.0
2017-03-13 21:26:39 +01:00
wing328
9b281b2180
make bin/java-play-framework-petstore-server.sh executable
2017-03-13 22:06:45 +08:00
wing328
01eba1872e
update java okhttp petstore sample
2017-03-13 00:23:55 +08:00
Jean-François Côté
20c8f9a831
Java Play Framework Server Generator ( #4943 )
...
* First commit of the Java Play Framework server generator. It is highly based on Spring so there might me a couple of things that don't make sense (like options or parameters) for the Play Framework.
* Fix suggestions in the PR discussion + add .bat and .sh file as requested.
* Updated Readme.md file
* Remove unused mustache file + fix baseName vs paramName in all the mustache files.
* Fix the compilation error when we have a body which is a list or map. Doesn't fix the problem with the annotation itself.
* Fix the problem with the Http.MultipartFormData.FilePart
2017-03-10 22:10:49 +08:00
wing328
89ad5e59b8
use convertPropertyToBooleanAndWriteBack in some generators ( #4975 )
2017-03-08 17:39:22 +08:00
dhuning
6ea3315b3e
Implicit headers for SpringCodegen ( #4858 )
...
* Add a new option implicitHeaders with default false
* Change JavaSpring templates and codegen to handle implicit headers
* Add script to generate sample for implicitHeader option
* Add generated implicitHeader sample
* Fix alignment
2017-03-07 14:54:15 +08:00
wing328
f7b5eb85ce
[Swift] add batch files for swift 2,3 to generate petstore samples ( #4934 )
...
* add bat files for swift 2,3 to generate petstore samples
* remove -t from swift3 batch file
* remove -t from swift batch files
2017-03-06 17:16:41 +08:00
Tony Tam
15a0bf5df5
Refactor nodejs generated code structure ( #4909 )
...
* read directly from templates
* refactor nodejs structure
* dont inject into global scope
* move to 2 spaces consistently
2017-03-06 01:10:01 +08:00
Tony Tam
b941fcfdb6
remove timestamp
2017-03-01 14:14:30 -05:00
wing328
acd10318f7
Merge remote-tracking branch 'origin' into sync_master_230
2017-02-10 23:31:36 +08:00
jfiala
e9823a81a5
[Jaxrs-spec] fix usage of Jersey templates in shellscript ( #4722 )
...
* remove jersey templates #4720
* regenerate sample with jaxrs-spec templates #4720
2017-02-08 00:41:36 +08:00
Markus
4900427bf5
[JAXRS-CXF] Issue 4569 - Re-added usage of contextPath in api.mustache (basePath) ( #4580 )
...
* jaxrs-cxf: Re-added usage of contextPath in api.mustache (basePath)
* jaxrs-cxf: Added useAnnotatedBasePath and generateNonSpringApplication flags
* useAnnotatedBasePath=true uses the @Path annotation in the generated interface to set the basePath, default is false
* generateNonSpringApplication=true generates a web.xml with CXFNonSpringJaxrsServlets. If useAnnotatedBasePath=true only one servlet will be created, otherwise one for each API
* jaxrs-cxf generateNonSpringApplication: removed creation of multiple servlets
Multiple servlets were generated if useAnnotatedBasePath was false.
This is not necessary as there is only ONE basePath per contract
* jaxrs-cxf: added sample generation for useAnnotatedBasePath and generateNonSpringApplication
2017-02-06 14:11:41 +08:00
Markus
a83f8d0449
[JAXRS-Spec|Resteasy|CXF] Issue 4315 - Fixed bug generating arrays of enums ( #4582 )
...
* jaxrs-cxf: Fixed returning of enum arrays generating non-compiling code
* jaxrs-spec/resteasy: Fixed returning of enum arrays generating non-compiling code
* jaxrs-cxf: Switched to petstore-with-fake-endpoints-models-for-testing.yaml contract for sample generation
* Fixed escape char issue in ApiOperation summary
* Fixed code generation for non String-type enums
* Fixed @PATCH annotation import
* jaxrs-spec: Switched to petstore-with-fake-endpoints-models-for-testing.yaml contract for sample generation
2017-02-05 23:01:18 +08:00
niku
f77bee8b8a
[WIP] Add elixir client ( #4675 )
...
* Add elixir client
* Add test for elixir client
* Add shell script for generating sample codes for elixir client
It just copied from bin/bash-petstore.sh
* Make elixir-petstore.sh to generate sample codes for elixir client
* Add sample codes for elixir client
2017-01-30 17:40:55 +08:00
wing328
ae8a123484
[WIP][Scala] Finch generator ( #3905 )
...
* Feature/objc tasks 2.3.0 (#3522 )
* change api and ApiClient to return cancellable NSURLSessionTasks instead of NSNumber
* define a configuration protocol for custom configurations, which can be passed to api clients instead of a global configuration, provide a default implementation with a singleton option
* integrate a workaround for a current JSONModel concurrency bug
* update to new ISO8601 pod
* add missing call to super
* integrate new templates into codegen
* updates documentation templates
* updates petstore objc generated code
* fixes objc client tests
* [ObjC] Add version define and share default headers of each client
* add finch generator and resource
* update license, add errros
* Fix problem with multitheard api client
* fix some errors for finch
* [finch] Remove license header
* [finch] Remove finatra stuff, fix a few issues
* WIP: Finch server generator
* [finch] WIP: server generator impl
This puts parameters (input/output) in the right format. Currently, this
is done in the generator class using vendorExtensions, but should be
refactored to imported templates to clean up.
Previous commits of the server generator output to appropriate
models/api directories. I've made no changes to this logic, but code
currently generates to the root scala package directory. This will need
to be fixed.
There's also an issue with circe's and Option[Date] in the Order type.
This issue will need to be resolved. As well, there's some unused
imports to clean up.
Initial implementation lacks support for custom imports, type mappings,
etc.
* [finch] Update api/model package and imports
* [finch] Explicit import/type mappings
* [finch] Regenerate example
2017-01-29 12:15:39 +08:00
wing328
6e2ee4be06
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2017-01-25 16:31:03 +08:00
wing328
9a79f13a6e
new batch file to exec all JS petstore batch files
2017-01-25 16:30:33 +08:00
Jonathan Leitschuh
efd0732a3e
Fix the rm
to remove the correct file in two spring generation bash scripts ( #4630 )
...
Related #4439
2017-01-25 12:54:07 +08:00
tharders
30315c8570
Fix Issue 4554 - handle 204 server response in javascript ( #4604 )
...
* issues 4554: Handle 204 response and handle deserialize exceptions
* issue-4554: generate javascript client updated template
Used petstore-with-fake-endpoints-models-for-testing.yaml
* use petstore-with-fake-endpoints-models-for-testing.yaml like sh script
2017-01-23 15:14:06 +08:00
wing328
4d19fb6b2f
hide generation timestamp for perl ( #4614 )
2017-01-21 19:12:51 +08:00
Jonathan Leitschuh
36c3fa05e0
Allows for generation of spring controller code using the delegate pattern ( #4439 )
...
* Allows for generation of spring conroller code using the decorator pattern
* Change Decorator to Delegate in spring codegen
2017-01-19 17:58:39 +08:00
wing328
2d8715f42c
Minor update to ze-ph batch script
...
- use petstore-with-fake-endpoints-models-for-testing.yaml
- output to samples\server\petstore\ze-ph
2017-01-16 01:10:35 +08:00
Articus
4001503e63
PHP server generator ze-ph (Zend Expressive + Path Handler) ( #4559 )
...
* Server generator ze-ph (Zend Expressive + Path Handler)
* Command line scripts for new ze-ph generator
2017-01-16 01:05:04 +08:00
Jim Schubert
663b471d1a
[nancyfx/csharp] Customize interface prefix ( #4557 )
...
Per #4486 , this allows user to specify the use of a standard or custom
prefix for interfaces. For C# based languages, this follows Microsoft's
Framework Design Guidelines and uses an I- prefix. However, to avoid
breaking changes with existing nancyfx generated code, the default is
unset.
The option supports true, false, or a custom prefix.
2017-01-15 23:35:43 +08:00
Bartek Kryza
0fb154e9a2
[Bash] Bash client script generator ( #4541 )
...
* Initial commit
* Remormatted petstore tests
* Added Bash codegen to main README.md
* Added bash to integration tests
* Fixed stdin detection in generated script
* Added back ruby module
2017-01-12 16:48:25 +08:00
wing328
4d4af71446
[CI] Add scripts to detect carriage return and tab ( #4526 )
...
* add script to detect carriage return
* add check for generator as well
* add fail fast to travis config
* remove tab
* move scripts under bin/utils
* remove carriage return
* move scripts to bin/utils
2017-01-09 18:29:41 +08:00
William Cheng
ce899e3776
Merge remote-tracking branch 'origin/master' into 2.3.0
...
Conflicts:
appveyor.yml
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractJavaCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/AbstractTypeScriptClientCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/SpringCodegen.java
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/TypeScriptAngular2ClientCodegen.java
modules/swagger-codegen/src/main/resources/Java/libraries/feign/pom.mustache
modules/swagger-codegen/src/main/resources/Java/libraries/okhttp-gson/pom.mustache
modules/swagger-codegen/src/main/resources/TypeScript-Fetch/api.mustache
modules/swagger-codegen/src/main/resources/go/api.mustache
modules/swagger-codegen/src/main/resources/objc/api-body.mustache
modules/swagger-codegen/src/main/resources/objc/api-header.mustache
modules/swagger-codegen/src/main/resources/typescript-angular2/configuration.mustache
modules/swagger-codegen/src/main/resources/typescript-angular2/tsconfig.mustache
modules/swagger-codegen/src/test/java/io/swagger/codegen/swift/SwiftModelTest.java
modules/swagger-codegen/src/test/java/io/swagger/codegen/swift3/Swift3ModelTest.java
modules/swagger-codegen/src/test/java/io/swagger/codegen/typescript/typescriptangular2/TypeScriptAngular2ModelTest.java
samples/client/petstore-security-test/typescript-angular2/configuration.ts
samples/client/petstore/go/go-petstore/docs/FakeApi.md
samples/client/petstore/go/go-petstore/fake_api.go
samples/client/petstore/go/go-petstore/pet_api.go
samples/client/petstore/java/feign/pom.xml
samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/feign/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/jersey1/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/RFC3339DateFormat.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/model/Animal.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/model/EnumTest.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/model/FormatTest.java
samples/client/petstore/java/jersey2-java8/src/main/java/io/swagger/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
samples/client/petstore/java/jersey2/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/JSON.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/api/FakeApi.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/api/PetApi.java
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGPetApi.h
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGPetApi.m
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGStoreApi.h
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGStoreApi.m
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.h
samples/client/petstore/objc/core-data/SwaggerClient/Api/SWGUserApi.m
samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGApiClient.h
samples/client/petstore/objc/core-data/SwaggerClient/Core/SWGConfiguration.h
samples/client/petstore/objc/default/SwaggerClient/Api/SWGPetApi.h
samples/client/petstore/objc/default/SwaggerClient/Api/SWGPetApi.m
samples/client/petstore/objc/default/SwaggerClient/Api/SWGStoreApi.h
samples/client/petstore/objc/default/SwaggerClient/Api/SWGStoreApi.m
samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.h
samples/client/petstore/objc/default/SwaggerClient/Api/SWGUserApi.m
samples/client/petstore/objc/default/SwaggerClient/Core/SWGApiClient.h
samples/client/petstore/objc/default/SwaggerClient/Core/SWGConfiguration.h
samples/client/petstore/objc/default/SwaggerClient/Core/SWGJSONResponseSerializer.h
samples/client/petstore/qt5cpp/client/SWGPetApi.h
samples/client/petstore/qt5cpp/client/SWGStoreApi.h
samples/client/petstore/qt5cpp/client/SWGUserApi.h
samples/client/petstore/typescript-angular2/default/configuration.ts
samples/client/petstore/typescript-angular2/npm/README.md
samples/client/petstore/typescript-angular2/npm/configuration.ts
samples/client/petstore/typescript-angular2/npm/package.json
samples/client/petstore/typescript-angular2/npm/tsconfig.json
samples/client/petstore/typescript-fetch/builds/default/api.ts
samples/client/petstore/typescript-fetch/builds/es6-target/api.ts
samples/client/petstore/typescript-fetch/builds/with-npm-version/api.ts
samples/client/petstore/typescript-fetch/tests/default/test/PetApiFactory.ts
samples/client/petstore/typescript-fetch/tests/default/test/StoreApiFactory.ts
samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/api/PetApi.java
samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/api/PetApiService.java
samples/server/petstore/jaxrs-resteasy/joda/src/gen/java/io/swagger/model/User.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/FakeApi.java
samples/server/petstore/spring-mvc/src/main/java/io/swagger/api/FakeApiController.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/FakeApi.java
samples/server/petstore/springboot/src/main/java/io/swagger/api/FakeApiController.java
2017-01-05 17:44:39 +08:00
Jun Mukai
27f1b6ee98
Introduce NodeJS codegen for Google Cloud Functions. ( #4406 )
...
* Another approach: extending NodeJS server to support GCF.
This does not add a new language, but adding some client options
to support Google Cloud Functions (GCF).
* Add URLs for how to deploy the generated code.
Adds the client options help message and the README.md file.
2016-12-22 23:11:52 +08:00
wing328
131cbeb350
remove generation timestamp
2016-12-15 19:34:15 +08:00
lukoyanov
a13dee7167
[Java] Play! Framework 2.4 WS client support + retrofit2 ( #4270 )
...
* implemented core integration with play 2.4 ws
* added shell script to test on CI
* added shell script to composite file for all java generators
* added some comments
changed promise param to Response<T> to allow access to http status code and raw response if needed
* removed unnecessary whitespace changes
* added java7 compatibility, play ws deps to pom.xml
* added generated play24 client
* fixed imports
2016-12-14 17:32:49 +08:00
wing328
a603ccb595
[Dart] add auto-generated documentation ( #4291 )
...
* new files for dart client
* update doc for dart
* update api and model doc for dart
* update dart petstore sample
* update dart doc
* update dart petstore sample
* update dart petstore sample
* update dart client installation instruction
2016-11-30 17:41:55 +08:00
Nick Maynard
b7e9603e63
jaxrs-cxf-cdi :: Add a basic JAX-RS Application and CDI fixes ( #4196 )
...
* Add a basic JAX-RS Application and CDI fixes
* jaxrs-cxf-cdi :: Fix samples generation template dir
* jaxrs-cxf-cdi :: Regenerate samples
* jaxrs-cxf-cdi :: Clean up some checkstyle warnings
2016-11-18 14:00:53 +08:00
cbornet
e5daa6855c
add models support to flask
2016-11-17 18:30:59 +01:00
Christophe Bornet
70d93883cf
[Java] Threetenbp dates support ( #4029 )
...
* [feign] add threetenbp support for feign clients
* [okhttp] add threetenbp support for okhttp clients
* [jersey] add threetenbp support for jersey clients
* [retrofit2] add threetenbp support for retrofit2 clients
* [spring] add threetenbp support for spring generators
* add a workaround in tests for a bug in the petstore
The petstore doesn't manage fractional digits of dates correctly when there are less than 3
2016-11-04 17:55:16 +08:00
wing328
c1e6f00242
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-11-02 15:43:00 +08:00
wing328
e230ef9f50
Merge pull request #4072 from cbornet/spring_response_wrappers
...
[spring] add an option to choose the response wrapper type
2016-11-01 16:41:07 +08:00
wing328
07c6fe9d0d
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-26 15:42:59 +08:00
wing328
983aec6250
add sample for java-msf4
2016-10-26 11:31:43 +08:00
cbornet
21ec2bc866
[spring] add an option to choose the response wrapper type
...
Also generate the spring-cloud sample with a HystrixCommand wrapper
2016-10-25 15:40:51 +02:00
wing328
a839a6803f
Merge remote-tracking branch 'origin/master' into 2.3.0
2016-10-20 18:40:19 +08:00
wing328
9036dfdb3a
[Typscript][Fetch] add configuration to support authentication ( #4008 )
...
* add configuration to typescript fetch
* fix issues reported by the CI
* fix header parameters in ts fetch client
* add new configuration file for ts fetch
* skip if check for configuration in ts fetch
* Fix `this.configuration` issue in paramsCreator
* update ts fetch samples
* Fix typescript fetch tests to work with Configuration
* Add dictionary to store apikeys (#8 )
* Add dictionary to store apikeys
* Type apikey with expected params rather than Dictionary - typescript-fetch
* Update test samples to new typescript-fetch api
* Fix tests for typesript-fetch api
* update typescript sample using petstore.yaml
2016-10-20 18:38:32 +08:00
wing328
d1eca76974
add test for java6 jersey2 client
2016-10-20 11:12:31 +08:00
Martin
727038a186
Issue 3651 ( #4014 )
...
* added method summary under the method name
* added batch file for html2 generation on windows
* regenerated html2 example
* changed the html2 windows batch to use yaml instead of json and regenerated sample
* fixed encoding issues
2016-10-17 22:48:12 +08:00
wing328
12bcb2dd15
Merge pull request #4011 from jimschubert/aspnet5-rename
...
[aspnetcore] Deprecating aspnet5 for aspnetcore
2016-10-17 16:17:30 +08:00
Joseph Zuromski
3e8e5e2091
fix some swift3 references
2016-10-16 22:49:51 -07: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
Max Stoliar
0838523a35
[Swift] Adding Swift3 generator
...
* This address #3788
* Contains all changes made in #3823
* Also contains many changes made by @ewanmellor, thanks!
2016-10-14 18:32:47 +03:00
Nick Maynard
dc2b8c29e2
Add a new JAX-RS server generator - jaxrs-cxf-cdi ( #3940 )
...
* Generate a JAX-RS server that assumes an Apache CXF framework on a Java EE server supporting CDI
* Samples for jaxrs-cxf-cdi
* Don't refer to missing class NotFoundException
* Update samples without missing NotFoundException reference
2016-10-10 17:18:27 +08:00
wing328
c1a6bbb86a
[Python][Flask] fix python2 support in Flask ( #3952 )
...
* flask python2 petstore sample
* fix python2 support in flask
2016-10-09 14:06:55 +08:00
wing328
8ce8082f7f
fix bug with parcelable
2016-10-05 22:54:17 +08:00
wing328
a7ed1ad202
fix warning in html generator
2016-09-29 11:09:54 +08:00
wing328
fa12cd3787
Replace ^M with new line (\r) in mustache template ( #3865 )
...
* fix jaxrs line break
* fix java gradle bat line break
* fix scala gradle line break
* fix undertow crt line break
* fix spring line break
* fix undertow line break in pom
* rollback undertwo petstore to use petstore.yaml
2016-09-26 16:49:44 +08:00
Steve Hu
d74a1fbed4
Add a new language generator for undertow-server framework ( #3820 )
...
* add undertow generator
* add apiException
* add undertow server code gen
* reovery sprintboot sample
* update handler
* output swagger.json and handler template change
* remove api template
* remove api.mustache
* update pom.xml
* update readme
* add config files
* add basePath to the handler and upgrade to 0.1.1 framework
* add additional files for release
* fixed the mvn verify issue
* update one template to fix compile error for fake petstore
2016-09-19 22:45:10 +08:00
wing328
e4792555df
add petstore jmeter sample
2016-09-19 14:59:48 +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
0cba285cac
Merge branch 'jimschubert-csharp/INotifyPropertyChanged'
2016-09-13 15:59:26 +08:00
wing328
dcdea19cb8
erlang update readme, add petstore samples
2016-09-09 16:42:26 +08:00
wing328
81f947e723
update android petstore sample, add this to volley's model
2016-08-25 23:12:23 +08:00
Tony Wang
beaf1fc7aa
fix #3477 , add RxSwift support for Swift ( #3490 )
...
* fix #3477 , add RxSwift support for Swift
* make the SwaggerClient scheme shared
2016-08-25 19:34:12 +08:00
wing328
4e20bd9bab
[Java][Spring][Inflector][Jax-RS] To fix various enum issues ( #3615 )
...
* fix spring enum deserialization issue
* fix enum class for spring
* update java inflector to fix enum tostring
* fix jaxrs jersey1 enum toString
* fix jaxrs jersey patch issue
2016-08-20 17:54:45 +08:00
wing328
24c0038cce
[Java][Inflector] Fix enum issue with java inflector ( #3606 )
...
* fix enum issue with java inflector
* update pom to test java-inflector
2016-08-18 09:48:50 +08:00
Nekrasov Aleksander
91675c97e2
Fix resteasy offsetdatetime provier ( #3332 )
...
* Fix offsetDateTime and remove unnecessary override annotations
* Update petstore samples to CI for resteasy testing
* fix resteasy templates path
* add ability to hide generated annotations
* Update petstore resteasy samples
* Deduplicate artifact names in resteasy projects
2016-08-15 23:46:52 +08:00
wing328
f746a93da4
Merge branch 'csharp/INotifyPropertyChanged' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp/INotifyPropertyChanged
2016-08-12 15:04:04 +08:00
wing328
752ba61e67
[Go] Add more test cases and fix numeric form/header parameters ( #3574 )
...
* add more tests for go, fix numeric form/header parameters
* update go sample
2016-08-11 14:28:31 +08:00
wing328
d626200479
fix form enum parameters for spring generator, add more test cases
2016-08-09 19:49:38 +08:00
rynger
3faee1f6ce
Amending Path annotation ( #3553 )
...
* Amending Path annotation
Changed the Path annotation value from "/" to "/{{baseName}}"
* jaxrs-cxf-petstore-server.sh script was not referencing cxf module directory. Included generated files following script run. Have amended Path annotation value to {{contextPath}} and removed public access modifier from template as this is redundant for Java interface definition.
2016-08-09 12:09:07 +08:00
wing328
7a245e3189
[JavaScript] add enum tests cases for JS generator (java) ( #3546 )
...
* add enum tests cases for JS generator (java)
* fix typo quote
2016-08-08 18:52:24 +08:00
Jim Schubert
797afe9d15
[csharp] PropertyChanged support .NET 4.x+
2016-08-06 16:54:50 -04:00
wing328
0547f0d6d8
fix spring enum model
2016-08-03 16:38:02 +08:00
wing328
811b5940eb
update jaxrs with better test, fix enum issue, patch operation
2016-08-03 01:36:34 +08:00
wing328
c6e6a6560a
add shell script for cwiki
2016-08-01 17:29:27 +08:00
cbornet
3b4465d999
add fluent methods to add items to list and put items to maps
2016-07-27 18:18:48 +02:00
wing328
30c2503f9f
[C#][NancyFX] Better "Add" for Dictionary and using {{packageName}} for NancyFX ( #3449 )
...
* use square bucket for C# dictionary
* use packageName for nancyfx generator, update info to debug for log
* use packageName for nancyfx generator, update info to debug for log
2016-07-26 14:10:48 +08:00
Christian Loitsch
bf17a91275
dart codegen improvements ( #3440 )
...
* fix: query params may be ints as well
don't assume query params are Strings or List<String>s
* fix dart: use correct type for QueryParams
type is Iterable, not List
only check params for != null if they haven't been checked already
add some casts to make strong mode happy
update petstore
* feat dart: enable strong mode
* feat dart: generate both browser and vm library
move petstore client into subdirectory and reference
generated libraries using path in pubspec.yaml
* feat dart: refactor petstore test.
The new layout resembles a real project.
petstore test is now strong mode compatible.
* feat: add DateTimerParser transformer
* feat: improved exception reporting
* feat[dart]: handle patch requests
* fix[dart]: typo
* fix dart: remove findPetsByTag test; enable strong-mode
find pets by tag call is deprecated and returns 500
generated library is now strong mode compatible
2016-07-23 23:45:22 +08:00
wing328
9fcb8a310d
fix #3418 - slim missing contextpath
2016-07-20 15:49:41 +08:00
wing328
c873a52f84
Merge pull request #3325 from inc-cloitsch/rmCrypto_fixRequiredParams_useAsyncAwait_addMultiQueryParams
...
dart: fix required params. add 'multi' query params. better deserialization.
2016-07-13 16:13:41 +08:00
wing328
394840e352
Add more security samples ( #3344 )
...
* add line break test to petstore-security-test.yaml
* add objc/swift security testing
* add go,scala,qt5cpp for security test
* add security test for typescript
* fix go security issue, fix consumes,produces line break
2016-07-12 19:51:28 +08:00
wing328
d4951bbf3c
Leverage Shipable.io to validate mustache templates ( #3333 )
...
* add run all petstore shell script
* add run all petstore batch file for windows tests
* better output for travis and appveyor
* add shippable config to test all petstore
* show log after test script
* remo all-petstore, update travis build
* update shiippable config
* add run-all-petstore
* failure test using ruby model
* use bash script for run-all-petstore
* update script permission
* fix html batch script
* fix missing doc in jaxrs spec generator
* fix missing api, model test in jaxrs spec generator
* rename licenseInfo for lumen
* remove ruby model failure (for CI test)
* fix "the input line is too long"
* update windows batch file to shorten the commands
* update appveyor config
* update shippable config
* add build script
* update batch file to remove args option
* fix window batch file for spring mvc/boot
* remove logging output to file
2016-07-11 13:54:18 +08:00
Christian Loitsch
999ef42e81
doc: explain how to run tests
2016-07-08 15:45:53 +02:00
wing328
d4f9eefa94
update java-petstore-all.sh and regenerate all java petstore sample
2016-07-07 15:53:17 +08:00
wing328
3b780e30d8
change java default lib to okhttp-gson
2016-07-07 15:53:16 +08:00
wing328
9830e82add
Merge pull request #3294 from cbornet/spring_cloud
...
[Spring] Add a generator for spring cloud feign clients
2016-07-07 10:59:56 +08:00
wing328
b997dd15ad
Merge pull request #3306 from jimschubert/aspnet5_.NET_Core_1.0
...
[aspnet5] update to asp.net core 1.0
2016-07-07 10:59:01 +08:00
cbornet
df7b694c4b
change spring-cloud petstore artifact-id
2016-07-06 11:51:56 +02:00
cbornet
57f518fe93
change spring-mvc petstore artifact-id
2016-07-06 11:47:48 +02:00
cbornet
412022b852
add petstore samples and fix some issues
2016-07-06 10:30:10 +02:00
cbornet
a761682115
add a generator for spring cloud feign
2016-07-06 10:30:09 +02:00
Jim Schubert
ae73bb7553
[aspnet5] Update to ASP.NET Core 1.0.0
...
This migrates the server generator for aspnet5 from 1.0.0-rc1-final to
1.0.0.
Changes are fairly significant in how Kestrel hosts the application, as
well as how Swagger finds XML comments for documentation. Changes are
only related to hosting, docker, and configuration.
2016-07-05 22:17:14 -04:00
wing328
e98928a0a5
Merge pull request #3186 from ant3/JSR310-Clients
...
[Java] Add support for JSR310 in Jersey Clients (v3)
2016-07-03 21:56:13 +08:00
wing328
e2e0af1e6c
Merge branch 'master' of https://github.com/arturdzm/swagger-codegen into arturdzm-master
...
Conflicts:
README.md
2016-07-02 17:00:21 +08:00
wing328
691957875e
Merge pull request #3185 from cbornet/common_jersey
...
[Jax-rs][jersey] Mutualize jersey 1 and jersey 2 templates
2016-07-02 11:19:40 +08:00
wing328
c9d2bb8a96
add test for jaxrs resteasy joda
2016-07-01 21:40:34 +08:00
wing328
9ee10e2397
Merge pull request #3249 from wing328/csharp_security_fix
...
[C#] better code injection handling for C# API client
2016-06-29 23:59:24 +08:00
wing328
cb53ea114a
Merge pull request #3246 from wing328/security_fix_javascript_closure
...
[Javascript][Closure] better code injection handling for Javascript (closure)API client
2016-06-29 23:25:04 +08:00
wing328
d79274d548
better code injection handling for c#
2016-06-29 22:52:12 +08:00
wing328
f89333c8c3
better code injection handling for javascript closure client
2016-06-29 22:07:14 +08:00
wing328
aec2f4e27c
better code injection handling for js
2016-06-29 21:18:35 +08:00
wing328
77c4164b3c
better code injection handling for java
2016-06-29 02:00:43 +08:00
wing328
07a852fe78
Merge pull request #3231 from wing328/security_fix_ruby
...
[Ruby] better code injection handling for Ruby API client
2016-06-28 20:09:55 +08:00
wing328
37e1de6d72
Merge pull request #3230 from wing328/security_fix_python
...
[Python] better code injection handling for Python
2016-06-28 20:09:40 +08:00
wing328
9e216c0ca2
better code injection handling for ruby
2016-06-28 17:36:00 +08:00
wing328
3a41da42f0
better code injection handling for python
2016-06-28 17:07:50 +08:00
wing328
02864ed31a
better code injectino handling for perl client
2016-06-28 16:37:33 +08:00
wing328
ec2abe78e3
apply security fix to php lumne, silex, slim
2016-06-28 12:21:41 +08:00
wing328
f3bb4ea872
Merge pull request #3180 from cbornet/feign_java8
...
|Feign] Support jsr310 dates in feign client
2016-06-27 10:47:13 +08:00
wing328
5008de5f83
Merge pull request #3181 from cbornet/retrofit2_java8
...
[Retrofit] Add support for jsr310 dates to retrofit2 client
2016-06-27 10:01:36 +08:00
wing328
5047ab3b5c
Merge pull request #3182 from cbornet/okhttp_java8
...
[Okhttp-gson] Add support for jsr310 dates to okhttp-gson client
2016-06-23 22:12:29 +08:00
wing328
c2f5d83d06
Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into FinderSystems-nancyfx-codegen
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/CodegenModel.java
2016-06-21 23:47:49 +08:00
ant3
8b60a1e144
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into JSR310-Clients
2016-06-21 00:17:01 +01:00
ant3
e40ad8ce3c
Added sample build for Java8 Jersey2 client
2016-06-20 23:10:01 +01:00
cbornet
d4150d9a02
remove jersey2 sample as its now the jax-rs default
2016-06-20 23:48:42 +02:00
cbornet
5a489f334e
mutualize jersey 1 and 2 server templates
2016-06-20 22:59:32 +02:00
cbornet
d29a5537bc
add support for jsr310 dates to okhttp-gson client
2016-06-20 16:50:08 +02:00
cbornet
027ff93ae4
rename and remove dead code
2016-06-20 15:16:13 +02:00
cbornet
1062fa467e
fix issues
2016-06-20 15:13:17 +02:00
cbornet
ec6a9257e2
put spring-mvc and spring-boot under the same language gen
2016-06-20 15:12:03 +02:00
cbornet
48564079be
add support for jsr310 dates to retrofit2 client
...
See #2874
2016-06-20 14:32:18 +02:00
cbornet
3e9064b81e
support jsr310 dates in feign client
...
See #2874
2016-06-20 13:04:44 +02:00
wing328
6fd1912b92
Merge pull request #3151 from mateuszmackowiak/objc/core_data
...
[Objc] Moved default petstore demo sample to default folder and created a new with core data sample
2016-06-20 14:02:34 +08:00
wing328
409d5dabca
add license header to typescript API client
2016-06-19 12:03:50 +08:00
Jakub Malek
82d290eeae
Merge with upstream
2016-06-17 15:22:17 +02:00
wing328
1bdaba5cdc
Merge pull request #3127 from abcsun/lumen
...
[PHP Lumen] add parameters validation and the Apache license
2016-06-17 18:58:57 +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
2107758100
add swift-petstore-all.sh and partial_license for perl
2016-06-16 16:42:17 +08:00
wing328
89435850a6
Merge pull request #2979 from guohuang/go_server
...
issue#2970, [Go] add go server codegen template
2016-06-15 15:18:28 +08:00
wing328
0b63206496
add windows batch file for cpprest-petstore
2016-06-15 10:41:35 +08:00
wing328
ecd80a3d70
add cpprest and samples
2016-06-14 16:33:50 +08:00
abcsun
bffb0fb4d8
sync from origin master
2016-06-13 10:25:03 +08:00
Guo Huang
e39aa3ed3c
fix merge conflict
2016-06-12 14:15:55 -07:00
wing328
851f2ef688
Merge pull request #3107 from cbornet/default_joda
...
Set joda as default dateLibrary for java codegens that support it
2016-06-10 23:17:38 +08:00
wing328
d924a1411b
remove debugging flag, add batch file for rails5 generator
2016-06-10 21:58:16 +08:00
wing328
e7160ca78a
Merge branch 'rails5-models' of https://github.com/zlx/swagger-codegen into zlx-rails5-models
2016-06-10 21:56:22 +08:00
cbornet
0f3569e982
set joda as default dateLibrary for java codegens that support it
...
Fix #3087
2016-06-10 12:17:36 +02:00
wing328
a33eb3132e
add message about rmeoving files/folders under output folder
2016-06-10 17:01:27 +08:00
wing328
ad77062b11
Merge branch 'joda_springboot' of https://github.com/cbornet/swagger-codegen into cbornet-joda_springboot
2016-06-10 16:39:58 +08:00
wing328
3f51ff3314
add wording about removing files and folders in the output folder
2016-06-10 16:34:59 +08:00
wing328
ff28988a67
Merge branch 'joda_retrofit_1' of https://github.com/cbornet/swagger-codegen into cbornet-joda_retrofit_1
2016-06-10 16:32:23 +08:00
wing328
216d4b8b23
Merge pull request #3083 from cbornet/joda_retrofit
...
Add joda support to retrofit2 clients and use it in samples
2016-06-10 15:18:00 +08:00
wing328
b418719804
update sample, update shell script with messages about removing files
2016-06-10 14:30:32 +08:00
wing328
c6cc15f429
Merge branch 'jersey_joda' of https://github.com/cbornet/swagger-codegen into cbornet-jersey_joda
2016-06-10 14:04:15 +08:00
cbornet
d8eb708e23
add joda support to spring-boot and use it in sample
2016-06-09 22:09:47 +02:00
cbornet
2fe9cd2ba0
add joda support to retrofit 1 clients
2016-06-09 18:41:44 +02:00
cbornet
61884211bb
add joda support to okhttp-gson and use it in the samples
2016-06-09 18:20:52 +02:00
cbornet
3c252f264c
use joda in jersey1/jersey2 client sample
2016-06-09 17:10:57 +02:00
Newell Zhu
b27022749f
Add debug support for rails5
2016-06-09 18:43:31 +08:00
wing328
2d170fd7a6
add license to
2016-06-09 16:07:36 +08:00
cbornet
ec3a200c8c
remove generated annotation in feign sample
2016-06-08 19:53:00 +02:00
wing328
3165e1c39d
Merge pull request #3039 from cbornet/spring_interface
...
[Spring] Add an option to only generate stubs of the API and no server files
2016-06-09 01:38:17 +08:00
wing328
c11908824e
Merge pull request #3075 from cbornet/feign_joda
...
[Feign] Support joda dates in feign client and use it in petstore sample
2016-06-09 01:28:10 +08:00
cbornet
acf17c85ad
add joda support to retrofit clients and use it in samples
...
also adds back the petstore tests
2016-06-08 18:50:49 +02:00
Takuro Wada
7916f5243d
[Python] Fix bug of test files about packageName
2016-06-08 09:24:12 +09:00
cbornet
3ae39c9562
support joda in feign and use it in sample
2016-06-07 22:39:34 +02:00
Artur Dzmitryieu
ad25052223
Update a Readme and add sample output for petstore json
2016-06-06 15:03:44 -04:00
cbornet
556f529933
add option to use single content-type produces/consumes
2016-06-06 11:45:07 +02:00
wing328
f2f6940006
Merge pull request #2987 from mbarclay/master
...
Added date format string #2935
2016-06-05 21:42:56 +08:00
cbornet
fe8b0cf07b
add option to only generate stubs of the API and no server files
...
Fix #3025
2016-06-03 16:21:37 +02:00
wing328
23d2c56096
[JAX-RS] fix library setting "jersey2" ( #3016 )
...
* to fix #2981
* update sample, update ci to include jaxrs (jersey1, 2)
* avoid duplicated artifactId in pom (jaxrs jersey1)
* update jetty dependency for jersey1 jaxrs
* update bin to set proper artifact-id
* fix jersey1 jaxrs pom.xml
* fix dependency in jaxrs jersey2 pom
* downgrade jetty plugin to 9.3.0.v20150612
* update petstore sample for jaxrs jersey 1
* restore jetty to previous version. update test order
* downgrade jetty maven plugin version
* restore original version of jetty plugin
2016-06-02 14:33:08 +08:00
Mateusz Mackowiak
5145beea05
[Objc] coraData cli option changed from y/n to true false
2016-05-30 22:02:17 +08:00
Mateusz Mackowiak
ceda86b9c3
[Objc] Basic Core data support
2016-05-30 22:02:16 +08:00
Malcolm Barclay
5777d21579
Merge remote-tracking branch 'upstream/master'
...
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-05-28 18:47:41 +01:00
Malcolm Barclay
f2bd3d981e
Updated petstore swift swagger client.
...
Enabled execute (755) permissions on swift-petstore.sh Ran integration test (passed).
2016-05-28 15:11:25 +01:00
Guo Huang
db9684ff19
issue#2970, [Go] add go server codeine template
2016-05-26 22:34:18 -07:00
Joseph Zuromski
00c4877baf
move swift samples into swift/default and swift/promisekit directories
2016-05-23 20:08:00 -07:00
Robin Eggenkamp
1a1bf74d01
[Swift] Add sample/tests for Swift client without PromiseKit
2016-05-21 15:57:52 +02:00
Joseph Zuromski
98385aa746
checkpoint updating pod dependencies/moving to cocoapods1.0
2016-05-18 08:51:29 -07:00
Marcin Stefaniuk
12fc1332a4
NancyFX generation script.
2016-05-16 17:20:07 +02:00
wing328
acfa393b6b
Merge pull request #2871 from zlx/feature/rails5
...
Feature/rails5
2016-05-16 11:54:38 +08:00
wing328
d01305671f
minor fix to android after switching default lib
2016-05-15 14:40:20 +08:00
zhenjun115
c5136e4dda
change volley to the default http library for android (existing errors);
2016-05-15 13:43:08 +08:00
Newell Zhu
8847462198
setup rails 5 basic structure
2016-05-15 00:20:38 +08:00
Leon Yu
aed31fbff3
basic integration test for typescript-fetch
...
fix postpublish script
2016-05-13 01:45:54 -04:00
abcsun
4d6d63754d
add parameters validation from request & adjust the mustache output style
2016-05-13 11:43:29 +08:00
wing328
3c117d5857
refactor special mapping to defualt codegen
2016-05-11 15:44:06 +08:00
Newell Zhu
0f97386b0b
fix typo
2016-05-10 22:16:25 +08:00
wing328
cd6f5877ac
add bin/typescript-fetch-petstore-all.sh
2016-05-10 18:01:17 +08:00
wing328
e367a74504
Merge pull request #2791 from leonyu/typescript-fetch-package-json
...
Typescript fetch update
2016-05-09 12:45:26 +08:00
wing328
7d33e1655d
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
...
Conflicts:
samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/README.mustache
2016-05-07 17:55:39 +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
Leon Yu
64548d9bf5
Update bin
2016-05-06 15:59:37 -04:00
xhh
5acef6d634
Update petstore sample for JS-promise client
2016-05-06 18:02:32 +08:00
wing328
e04c4ec640
add typescript-fetch client generator
2016-05-05 17:12:28 +08:00
wing328
3b8a66bb8c
rename spsringboot sh, change permission, add ModelApiResponse.java
2016-05-05 15:31:17 +08:00
wing328
3dccc7d2a1
Merge branch 'SpringBootServer' of https://github.com/diyfr/swagger-codegen into diyfr-SpringBootServer
2016-05-05 15:28:10 +08:00
Jim Schubert
9b1d43c6f5
[csharp] default optionalProjectFileFlag to true
...
Possible breaking change.
optionalProjectFileFlag handles the generation of csproj and sln
files. Not modifying the plurality of the option to reduce the
impact of the breaking change for existing settings:
optionalProjectFileFlag=true
=> generates additional .sln file
optionalProjectFileFlag=false
=> no change
unspecified
=> additional files (csproj, sln) may overwrite existing files
2016-05-04 21:44:52 -04:00
diyfr
8209653fb0
Add SpringBoot server generator
2016-05-04 16:38:36 +02:00
wing328
bed21e418b
Merge pull request #2508 from wing328/php_enum
...
[PHP][C#] better enum support
2016-05-03 20:09:51 +08:00
wing328
1d6ec92141
add sh for groovy petstore
2016-05-03 14:11:49 +08:00
wing328
d35e30d578
better enum support for JS
2016-05-03 11:21:17 +08: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
wing328
cd377ba69c
Merge pull request #2732 from guohuang/package-name2
...
added packageName in the codegen option
2016-04-29 22:33:50 +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
Kristof Vrolijkx
db7a56a16f
fixing sample and typscript compile.
2016-04-28 21:54:48 +02:00
diyfr
31f5675e72
Create windows script for spring-mvc-petstore-j8-async-server sample
2016-04-28 10:37:55 +02:00
diyfr
2d0a5210db
Create Windows Script for Pet Sample with springMVC
2016-04-28 10:17:44 +02:00
Guo Huang
8caa8abfc1
added packageName in the codegen option
2016-04-27 22:47:57 -07:00
Kristof Vrolijkx
28f444e808
start adding packaging info to nodejs client.
2016-04-25 08:08:19 +02:00
Kristof Vrolijkx
4ad7ea6556
Updating sample and scripts
2016-04-24 11:21:31 +02:00
wing328
5602cb6db8
Merge pull request #2676 from Vrolijkx/master
...
Typescript angular2 client can be published to npm
2016-04-23 14:58:28 +08:00
wing328
fb04bb7d4d
Revert "Revert "[Java] Add auto-generated documentation in Markdown to Java clients""
2016-04-22 10:13:54 +08:00
wing328
c171356d24
Revert "[Java] Add auto-generated documentation in Markdown to Java clients"
2016-04-22 00:21:04 +08:00
Kristof Vrolijkx
4c1c67cf2b
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
2016-04-21 15:52:56 +02:00
Kristof Vrolijkx
9195e92023
using all config properties and adding extra space to package.mustache.
2016-04-21 15:52:43 +02:00
Kristof Vrolijkx
e118fddb47
generation of package.json and compilation files
2016-04-21 15:43:53 +02:00
xhh
ace9fc2ccc
Merge branch 'master' into java-docs
2016-04-21 18:35:27 +08:00
wing328
8eb3f8a448
fix python property name
2016-04-20 22:12:09 +08:00
wing328
56ac576a18
Merge pull request #2658 from wing328/php_lumen
...
[PHP] Add PHP Lumen generator
2016-04-20 21:21:34 +08:00
abcsun
2a67161a3d
move the lumen generator to corresponding folder
2016-04-20 20:57:04 +08:00
xhh
f10d4c8e23
Merge branch 'master' into java-docs
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavaClientCodegen.java
samples/client/petstore/java/default/pom.xml
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Animal.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Cat.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Dog.java
samples/client/petstore/java/default/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/jersey2/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Cat.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Dog.java
samples/client/petstore/java/okhttp-gson/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit2/src/main/java/io/swagger/client/model/Name.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/StringUtil.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/Model200Response.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/ModelReturn.java
samples/client/petstore/java/retrofit2rx/src/main/java/io/swagger/client/model/Name.java
2016-04-19 20:19:10 +08:00
Kristof Vrolijkx
dcad308f53
#1809 added typescript-angular2-petstore.sh to all all-petstore.sh
2016-04-19 14:16:38 +02:00
Kristof Vrolijkx
a69757ad73
#1809 adding samples with .sh and .bat scripts
2016-04-19 14:13:16 +02:00
wing328
993d121e35
update go test, update pom
2016-04-17 16:41:35 +08:00
wing328
1fb3edc612
update akka-scala petstore, minor fix
2016-04-16 17:49:34 +08:00
wing328
79decc53a1
fix requireParameterCount in scala
2016-04-16 00:09:15 +08:00
wing328
87e542c69c
replace requiredParam with reuqired
2016-04-15 22:54:46 +08:00
wing328
ce6b70a873
update springmvc bin to use petstore.yaml
2016-04-15 20:07:00 +08:00
wing328
d64751958e
update sample for some server generators
2016-04-15 17:55:40 +08:00
wing328
0982afbca0
update server generator to use petstore.yaml
2016-04-15 17:42:18 +08:00
wing328
5a88b9e896
update python to use test spec
2016-04-14 18:30:54 +08:00
wing328
5c632e9862
update csharp test case to use another petstore spec
2016-04-14 16:24:06 +08:00
wing328
aa04bbb92e
update pet store test case for perl after switching spec
2016-04-14 16:19:39 +08:00
wing328
8f70230906
update ruby test case
2016-04-14 16:19:39 +08:00
wing328
d19ed8a89b
fix php test cases with petstore test yaml
2016-04-14 16:19:38 +08:00
Guo Huang
2dca8b003d
issue#2589: added fully qualified names memory stream for C#
2016-04-13 16:56:36 -07:00
wing328
f635e22be6
update go sample
2016-04-08 12:22:15 +08:00
Tony Tam
a1c978751a
Merge pull request #2497 from swagger-api/issue-2496
...
sanitize tags, update generation timestamp
2016-04-05 07:40:11 -07:00
wing328
c2cab84612
fix typo, update sinatra to use origianl petstore spec (yaml)
2016-04-04 16:17:23 +08:00
Tony Tam
ee08d16ae5
made timestamp generation enabled by default
2016-04-03 14:36:23 -06:00
Tony Tam
cc4b3ff5d3
added script
2016-04-03 13:32:16 -06:00
Tony Tam
4bb12871c3
added bootstrap, renamed sample
2016-04-02 18:34:58 -06:00
Tony Tam
327315e9ea
Merge pull request #1966 from wing328/rename_nodejs_with_server
...
[NodeJS] rename nodejs to nodejs-server
2016-03-22 12:21:37 -07:00
wing328
d42f23f829
update test case, minor fix to required property in c#
2016-02-21 23:09:56 +08:00
wing328
7b83664dd1
Merge pull request #2097 from pamuche/patch-2
...
Fixes typo template folder for javascript in bin-promise-script
2016-02-11 00:13:49 +08:00
Robert Clochard
785509a10f
Fixes typo in template folder for javascript in bin-script
...
The template folder for javascript starts wit a capital letter. Shell script will fail on linux because of java.io.FileNotFoundException for the module.mustache
2016-02-10 14:34:40 +01:00
Robert Clochard
863c77ae6e
Fixes typo template folder for javascript in bin-promise-script
...
the folder name for the template starts with a capital letter.
2016-02-10 14:29:55 +01:00
delenius
7301618671
Add petstore tests for usePromises version
2016-02-08 20:02:38 -08:00
wing328
3174ab0033
Merge pull request #1997 from achew22/javascript_closure
...
Add Closure annotated Javascript Angular generator
2016-02-07 14:53:25 +08:00
wing328
7b678454f1
fix aspnet5 batch file
2016-02-04 19:30:30 +08:00
wing328
87253d8533
update sh permission, add aspnet5 bat
2016-02-04 18:18:45 +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
328dd93aef
[aspnet] Update readme to aspnet5, add partial class support and windows batch file
2016-02-03 13:10:52 -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
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
2ad3171674
Rename
2016-02-01 08:56:15 +09:00
Masahiro Yamauchi
4e3d94c005
Code generator for haskell-servant framework
2016-01-31 20:20:19 +09:00
Andrew Z Allen
8ea7cbc79d
Add bash script to run
2016-01-27 23:29:17 -07:00
wing328
afd451ec04
Merge pull request #1928 from ergon/feature/retrofit2-rx
...
Feature/retrofit2 rx
2016-01-26 15:58:08 +08:00
wing328
741974c1a9
add shell script for jaxrs-cxf
2016-01-25 22:23:25 +08:00
Silvio Heuberger
e34706386f
Change the artifact identifier for the retrofit2-rx sample
2016-01-25 10:29:13 +01:00
Silvio Heuberger
7dcc1c839e
Add script for sample generation and adapt gradle and pom templates
2016-01-25 10:29:13 +01:00
wing328
27d1e380b8
rename nodejs to nodejs-server
2016-01-24 22:08:05 +08:00
Maelig Nantel
4c7d471203
Merge remote-tracking branch 'refs/remotes/swagger-api/master' into fix-java-warnings
...
# Conflicts:
# modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavascriptClientCodegen.java
2016-01-22 11:32:08 +01:00
wing328
5b6d224612
Merge pull request #1747 from wing328/add_golang
...
[Go] Add Go API client generator
2016-01-22 17:42:30 +08:00
wing328
25b60a194b
add sh script for go, add binary mapping for go, fix format
2016-01-22 17:21:51 +08:00
wing328
93cadcd755
make slim sh executable
2016-01-21 11:13:11 +01:00
wing328
83a4556803
fix silex shell script
2016-01-21 11:13:11 +01: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
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
wing328
1acf5d2ff4
Merge pull request #1816 from xhh/android-volley-library
...
[Android] Change the android-volley client codegen to an Android library (sub template)
2016-01-05 17:19:05 +08:00
wing328
e21edea98c
add sh to generate all java petstore client
2016-01-05 15:07:48 +08:00
David Bartle
99842f646f
more flexible perl module naming
...
- No more presuming 'WWW::' is at the beginning
(default is now "WWW::SwaggerClient" vs "SwaggerClient" in order
to accomodate)
- Test that module names Like::This write to the filesystem and in
the mustache templates properly
2016-01-04 20:38:07 -08:00
xhh
0103c2f906
Change the android-volley client codegen to an Android library
2016-01-04 19:09:07 +08:00
wing328
c315d7f3df
Merge pull request #1775 from Shyri/android-volley
...
Android volley client generator
2016-01-04 14:30:55 +08:00
evigeant
5867608ee1
Merge branch 'master' into feature/jaxrs-no-sys-property
...
Conflicts:
modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JaxRSServerCodegen.java
modules/swagger-codegen/src/test/java/io/swagger/codegen/options/JaxRSServerOptionsProvider.java
2016-01-03 08:18:31 -05:00
Shyri Villar
58cb5716cb
move android-volley generated sample
2015-12-29 15:47:37 +01:00
Shyri Villar
69e1eecee0
Added petstore sample [android-volley]
2015-12-29 15:47:36 +01:00
Shyri Villar
2613e597dd
Added petstore sample [android-volley]
2015-12-29 15:47:35 +01:00
Shyri Villar
a68ecf7809
Added [android-volley] petstore.sh
2015-12-29 15:47:24 +01:00
Ian Chan
3103846f45
Enforce Java 1.8 when generating spring-mvc with j8-async option
...
The spring-mvc j8-async code is now located in it's own sample directory
with Java 8 enforced via Maven plug-in.
2015-12-29 13:40:46 +13:00
Ian Chan
916793b820
Added spring-mvc-petstore-j8-aysnc-server.sh executable.
...
Added the executable and config file for spring-mvc's j8-async target.
2015-12-25 16:34:35 +13:00
evigeant
6f4f293943
Updated jaxrs generator to use additional properties instead of java
...
properties which are very difficult to set from maven
2015-12-16 21:41:43 -05:00
wing328
83dc5393cb
Merge pull request #1625 from davidkiss/master
...
adding support for both Java client using Netflix Feign and JMeter tests
2015-12-10 16:07:48 +08:00
wing328
7aab20485a
add bin and petstore samples for JS
2015-12-07 10:53:40 +08:00
wing328
fe96d8769f
minor fix to csharp and objc batch file
2015-12-04 18:16:46 +08:00
wing328
3f328a4994
add batch files for other languages
2015-12-04 18:08:59 +08:00
wing328
14ec9c42cb
add ruby windows patch, fix php batch file
2015-12-04 17:48:48 +08:00
wing328
0818f0c8ad
add batch script for php
2015-12-04 17:38:29 +08:00
xhh
eb0e47461c
Add petstore client sample for Java-feign
2015-12-01 16:13:31 +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
xhh
6675cbc20e
Auto generate operationId for python-flask server codegen
2015-11-25 17:55:04 +08:00