Commit Graph

3284 Commits

Author SHA1 Message Date
Jakub Malek
b604b1b80f NancyFx:
- Fixed error message for unsupported enum value
- Fixed error message for Format and Overflow exceptions
- Added support for ZonedDateTime and LocalTime in Parameters utility
2016-06-09 13:21:59 +02:00
Marcin Stefaniuk
e823c12dc0 Rename inheritance property. 2016-06-09 13:04:31 +02:00
Marcin Stefaniuk
e52f991d72 Adding NodaTime types as primitives to keep them nullable. 2016-06-09 12:58:58 +02:00
Jakub Malek
01145be00d NancyFx:
- Moved model enum definitions to model class to avoid name duplications
2016-06-02 16:06:47 +02:00
Jakub Malek
460f8130db NancyFx:
- Fixed Query and Headers parameters parsing
2016-06-02 13:12:16 +02:00
Jakub Malek
9c8373aea2 NancyFx:
- Fixed model template
2016-06-02 11:53:25 +02:00
Jakub Malek
adb02a030f NancyFx:
- Skipping parsing nulls of nullable types
2016-06-02 11:18:51 +02:00
Jakub Malek
a458e53e25 NancyFx
- Detailed exception of not expected parse error
2016-06-02 11:14:05 +02:00
Jakub Malek
d1cf803e49 NancyFx:
- Yet another fix for nullable enums parsing
2016-06-02 11:05:40 +02:00
Jakub Malek
4c69e02a21 NancyFx:
- Fixed parsing nullable enums
2016-06-02 11:00:16 +02:00
Jakub Malek
d201d6331c NancyFx:
- Details exception for error of dynamic value of parameter
2016-06-02 10:52:21 +02:00
Jakub Malek
0996f8c930 NancyFx:
- Detailed exception of get parameter error
2016-06-02 09:53:42 +02:00
Jakub Malek
da5804d583 NancyFx:
- Using nullable enum types in API
2016-06-02 08:57:49 +02:00
Jakub Malek
1cfb3d1c9c NancyFx:
- Changed enum class name format
- CodegenProperty parent and parentClass replaced by Booolen flag isInherited
2016-06-02 08:14:49 +02:00
Jakub Malek
dbc6c2f163 Merge branch 'nancyfx-codegen' of https://github.com/FinderSystems/swagger-codegen into nancyfx-codegen 2016-06-01 15:04:41 +02:00
Jakub Malek
fc9b4501fc NancyFx:
- Fixed inheritance support
2016-06-01 15:04:18 +02:00
Marcin Stefaniuk
e1df89c8fa Formatting fix. 2016-05-31 13:49:45 +02:00
Jakub Malek
30b7eb7854 NancyFx:
- Omitting copyright and licenceurl tags i nuspec when not specified
2016-05-31 09:01:26 +02:00
Jakub Malek
849aa5064d NancyFx:
- Including dependencies in csproj
2016-05-31 08:50:36 +02:00
Jakub Malek
16200ae424 NancyFx:
- Mutable model generation for option -Dimmutable-false
2016-05-30 15:49:37 +02:00
Jakub Malek
c6d4df3e41 NancyFx:
- Handling class name mapping
2016-05-30 15:04:16 +02:00
Jakub Malek
c734a216af NancyFx:
- Handling importMapping
2016-05-30 13:21:55 +02:00
Jakub Malek
ba26df95e2 NancyFx:
- Added generation of .nuspec file
2016-05-30 12:09:00 +02:00
Jakub Malek
1d167b709d NancyFx:
- Including API docs
2016-05-30 11:21:21 +02:00
Jakub Malek
a72640ce9c NancyFx:
- Sealed class for generated Modules
- Empty constructor added to model classes
- Code cleanup
2016-05-30 10:33:22 +02:00
Marcin Stefaniuk
c59f2b0322 Versioning of generated model (namespace, base context). 2016-05-25 11:23:11 +02:00
Jakub Malek
bf68801295 NancyFx:
- Passing NancyContext to service instead of Request
2016-05-24 16:19:45 +02:00
Jakub Malek
bc6fcbdc7b NancyFx:
- Unnecessary dependencies removal
- Nancy version update
2016-05-24 16:07:22 +02:00
Jakub Malek
da3aa7214d NancyFx:
- Fixed Module classes naming (removed double 'Module' suffix)
- Using partial classes for generated Nancy modules
2016-05-24 15:17:27 +02:00
Jakub Malek
cef6c9d8ba NancyFx:
- Using NodaTime for date types
2016-05-24 14:08:09 +02:00
Marcin Stefaniuk
d0e3b5cc71 Moving enum definition of model lists outside class. 2016-05-24 13:07:14 +02:00
Marcin Stefaniuk
4b2e3a01f9 Renaming request dispatcher to Nancy specific Module. 2016-05-24 11:31:27 +02:00
Jakub Malek
ba38a3b6cb NancyFx:
- Removed "Enum" suffix of Enum class name
2016-05-24 10:32:09 +02:00
Jakub Malek
c653aeec0b NancyFX:
- Fixed parsing enum parameters in NancyModule
2016-05-24 10:25:18 +02:00
Jakub Malek
57aa6d01d2 NancyFx:
- Using virtual interface implementation in AbstractService
 - Fixed namespace for module classes
 - Using Parameters utility for parsing parameters in NancyModule
 - Excluding obj folder from csproj
2016-05-24 10:14:22 +02:00
Jakub Malek
04af1cf2a7 NancyFx:
- Passing Nancy.Request to service interface
 - Generating AbstractService code
 - Removed null defaults from constructors in models
 - Fixed project namespace
2016-05-23 16:53:01 +02:00
Marcin Stefaniuk
9354fc8b0f Retrieving enum params from api request. 2016-05-23 13:56:28 +02:00
Marcin Stefaniuk
36e94f7ed1 Enumerations on api input. 2016-05-23 13:40:12 +02:00
Marcin Stefaniuk
e17b02183b Fix reference to subtemplate. 2016-05-20 15:56:35 +02:00
Marcin Stefaniuk
f4c3b9ec9f Fixed operation parameter input enums generation. 2016-05-20 15:29:53 +02:00
Marcin Stefaniuk
eaddc18537 Switching from custom exception to System.ArgumentException. 2016-05-20 14:22:48 +02:00
Marcin Stefaniuk
0005faf77d Handling collections of enumerables. 2016-05-20 10:43:40 +02:00
Marcin Stefaniuk
e7781d0d91 Handling enum properties and nullability. 2016-05-19 15:06:08 +02:00
Marcin Stefaniuk
8f2523c448 Generation of enum types for parameters and properties. 2016-05-19 14:41:47 +02:00
Marcin Stefaniuk
be44df44a5 Fix of model builder validation method. 2016-05-19 09:08:02 +02:00
Marcin Stefaniuk
f5f5a359e0 Fix of model builder validation method. 2016-05-19 08:59:29 +02:00
Marcin Stefaniuk
dba662da59 Code formatting. 2016-05-18 15:09:39 +02:00
Jakub Malek
6564df79de NancyFx: With() method added for model classes 2016-05-18 15:03:47 +02:00
Marcin Stefaniuk
cdb9ab826e Fix of model template. 2016-05-18 14:59:16 +02:00
Jakub Malek
806e22deb5 NancyFx: Template for immutable model classes with builders 2016-05-18 14:54:40 +02:00