Commit Graph

9 Commits

Author SHA1 Message Date
wing328
c1825b417c use html-escaped description for C# (client, server), Java server (#6061) 2017-07-14 23:36:24 +08:00
Jim Schubert
d97b1da90c [csharp] Support internal access of generated code (#4560)
Allows users to specify 'nonPublicApi' additional property (and C#
client CLI switch) to reduce visibility of classes created by the
generator. This includes API and Models as well as supporting code like
ApiClient and other infrastructure.

The requirement is to support codegen generated code to be embedded
within other applications where the generated code is not intended to be
publicly consumable or publicy exposed. An example would be an SDK which
internally consumes an API via the generated code; we wouldn't want the
internal API implementation exposed as part of that SDK.

Reducing visibility of the classes effectively makes the entire
implementation internal, regardless of the public modifier on methods or
static members. To fully make all members internal it would require
explicit interface implementation, which is not ideal.

see #4401
2017-01-16 01:19:10 +08:00
wing328
0310d95800 fix csharp enum issue after rebase 2016-05-03 11:19:19 +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
f521d6e166 minor fix to docstring in csharp 2016-03-31 16:52:00 +08:00
Tommy Alander
e5f55da74e add hack to make enums nullable 2016-02-29 18:42:35 +01:00
Justus Thorvaldsson
b434fb517f Fixes enums c# 2015-12-08 09:43:28 +01:00
Justus Thorvaldsson
f4773d3333 Added json enum to csharp with decoration
using newtonsoft decoration
2015-11-20 14:33:22 +01:00