wing328
18e6440bcc
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-30 00:12:34 +08:00
wing328
b84769d1e3
fix enum float value in C#, minor format fix in doc ( #5726 )
2017-05-29 22:16:42 +08:00
wing328
f33e1d0026
add new files for C# API client
2017-05-23 22:20:08 +08:00
wing328
2ff548d80b
update C# petstore samples
2017-05-17 22:07:58 +08:00
wing328
e1e5ac4d37
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-17 22:00:06 +08:00
wing328
0a67696de8
Merge branch 'empty_classes' of https://github.com/bbdouglas/swagger-codegen into bbdouglas-empty_classes
2017-05-16 17:51:42 +08:00
wing328
45ff39c237
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-10 18:04:49 +08:00
Voydz
5a257a0558
[csharp] fixes for netstandard (json serializing and project files) ( #5590 )
2017-05-10 15:24:43 +08:00
wing328
fb357086c8
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-04 19:04:39 +08:00
wing328
1e9fe51175
use original value of pattern ( #5554 )
2017-05-04 18:01:52 +08:00
wing328
6f944b243d
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-05-03 21:45:07 +08:00
wing328
a7e42ee2b6
add validatable flag for .net 3.5 ( #5544 )
2017-05-03 21:32:25 +08:00
Benjamin Douglas
9058099e5b
Add alias type definitions for Java
...
When a spec defines a Model at the top level that is a non-aggretate type (such
as string, number or boolean), it essentially represents an alias for the simple
type. For example, the following spec snippet creates an alias of the boolean
type that for all intents and purposes acts just like a regular boolean.
definitions:
JustABoolean:
type: boolean
This can be modeled in some languages through built-in mechanisms, such as
typedefs in C++. Java, however, just not have a clean way of representing this.
This change introduces an internal mechanism for representing aliases. It
maintains a map in DefaultCodegen that tracks these types of definitions, and
wherever it sees the "JustABoolean" type in the spec, it generates code that
uses the built-in "Boolean" instead.
This functionality currenlty only applies to Java, but could be extended to
other languages later.
The change adds a few examples of this to the fake endpoint spec for testing,
which means all of the samples change as well.
2017-04-17 12:58:31 -07:00
wing328
c5e6401b89
fix C# api client template for multi query parameter support
2017-04-03 16:55:55 +08:00
wing328
5453d61a4c
fix PrepareRequest method signature
2017-04-03 16:45:32 +08:00
Sean O'Hare
f102d675d6
Initial commit to support "multi" formatted collections as query strings in csharp.
2017-04-03 16:36:29 +08:00
wing328
cf8a9a0de0
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-04-03 14:54:50 +08:00
Paŭlo Ebermann
ce41a343d8
Updating all samples (except feign) ( #5281 )
2017-04-02 17:01:15 +08:00
wing328
e4ca7744df
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-30 17:36:35 +08:00
Paŭlo Ebermann
46cb158733
Updating C# samples. ( #5242 )
2017-03-30 10:02:42 +08:00
wing328
ad4de91d92
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-30 09:57:07 +08:00
Paŭlo Ebermann
db71d97370
Updating samples after #5232 . ( #5243 )
...
* Updating samples after #5232 .
* Fix tests after #5232 .
* Fix Javascript client tests.
* JaxRS server: set serverPort only when not given from outside.
* Update JaxRS sample creator scripts to fix serverPort.
* Preliminary test fix for JaxRS server generators.
* Updating samples for JaxRS with Jersey1/2.
* Updating JaxRS samples again.
2017-03-30 01:28:53 +08:00
wing328
e41dd761b5
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-28 10:37:19 +08:00
wing328
d68859cfbc
fix c# docstring typo ( #5223 )
2017-03-27 18:06:34 +08:00
wing328
05a3c8d5df
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-27 12:01:56 +08:00
wing328
b37a7c81b0
add comments to csharp methods ( #5206 )
2017-03-27 11:43:14 +08:00
wing328
bea9e265e9
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-22 20:52:26 +08:00
wing328
df2f406849
update csharp generator help text ( #5140 )
2017-03-22 16:18:59 +08:00
wing328
4f6b3bd48b
Merge remote-tracking branch 'origin/master' into 2.3.0
2017-03-22 15:55:56 +08:00
Ben Herila
42a7110d90
Fix Bug/4952 by explicitly implementing IValidatableObject ( #4954 )
...
* Explicitly implement IValidatableObject interface to avoid conflict with potential ValidationResult classes
* Missed one
* Rebuilt tests
2017-03-21 15:57:56 +08:00
wing328
11d899c9cd
Merge remote-tracking branch 'origin' into 2.3.0
2017-03-18 23:05:12 +08:00
wing328
eee5cc061c
fix path with {{{ .. }}} in c# api mustache file ( #5112 )
2017-03-18 23:02:20 +08:00
Paŭlo Ebermann
4706f4da3e
Update samples for C#/SwaggerClientWithPropertyChanged. ( #5095 )
2017-03-18 17:08:17 +08:00
Paul Ebermann
5bb0f7a933
Update all samples.
2017-03-15 18:25:40 +01: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
3a48ba8bfd
Update all the samples.
...
(except clojure + scalatra, because those are broken, will fixed with later master merge.)
2017-03-13 19:50:10 +01:00
wing328
b6d6356c46
remove default format (json) from c# api ( #4980 )
2017-03-08 22:43:59 +08:00
wing328
ef31efe8d9
remove default temp folder during initalization ( #4749 )
2017-02-09 12:22:13 +08:00
Kevin Locke
df0c54d043
Support the empty string as an enumeration value ( #4450 )
...
When a string enumeration has the empty string as one of its available
values, the generated code for many languages is invalid because the
empty string can not be used as an identifier. As with numbers and
symbols, provide a mapping to an English name which can be used as a
replacement. In this case, "empty" for the empty string/empty value.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2017-01-06 19:30:47 +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
90512e6326
Remove Apache license from API client generators ( #4197 )
...
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
2016-11-16 21:44:49 +08:00
wing328
1d748e47da
fix copmile for C# model annotation
2016-09-19 16:25:47 +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