Commit Graph

1078 Commits

Author SHA1 Message Date
Daniele Teti
fdcb617801 Improved error messages for ActiveRecord 2019-12-17 17:34:23 +01:00
Daniele Teti
3793a42b5d Improved router ACCEPT resolution - Improved MSSQLServer support for nvarchar(max) data type 2019-12-17 14:52:11 +01:00
Daniele Teti
2f43b31bbd v3_2_0-boron-RC2 2019-12-01 20:55:31 +01:00
Daniele Teti
b4a5c9bdab Fix some packages issues 2019-12-01 17:40:45 +01:00
Daniele Teti
57da1259d8 MVCAREntitiesGenerator can optionally register all the generated entities also in the ActiveRecordMappingRegistry (Thanks to [Fabrizio Bitti](https://twitter.com/fabriziobitti) from [bit Time Software](http://www.bittime.it)) 2019-11-28 19:04:26 +01:00
Daniele Teti
9b57586dd4 Added ConfigHTTPClient in MVCJSONRPCExecutor 2019-11-28 00:19:27 +01:00
João Antônio Duarte
dfa619f14f
Merge pull request #304 from joaoduarte19/swagger_improvements
Swagger Improvements
2019-11-27 16:31:06 -03:00
João Antônio Duarte
00bb4c6e21 Added MVCSwagIgnorePathAttribute attribute to allow hiding endpoints in swagger documentation 2019-11-27 16:27:07 -03:00
Daniele Teti
7552fb6c15 Added Map* methods to TMVCActiveRecord. Improved DataSet serialization for JsonDataObjects. 2019-11-27 19:04:06 +01:00
Daniele Teti
94b35e9013
Merge pull request #298 from poyop/SwaggerDocImprovment
Login's Swagger Documentation improvement
2019-11-25 12:30:48 +01:00
Mauricio Montuori
082a794bc3 Merge remote-tracking branch 'origin/SwaggerDocImprovment' into SwaggerDocImprovment 2019-11-18 22:49:33 -03:00
Mauricio Montuori
e088a0555e Added Login Parameters to Swagger Documentation 2019-11-18 22:49:10 -03:00
Mauricio Montuori
8b48250eba Added Login Parameters to Swagger Documentation 2019-11-18 22:28:12 -03:00
Daniele Teti
aa93aecbaf
Merge pull request #295 from poyop/master
Send error 400 when a parameter is wrong
2019-11-18 19:38:32 +01:00
Daniele Teti
d1a5e35647
Merge pull request #294 from dsonda/master
#293 Fix error "[dcc32 Error] MVCFramework.Swagger.Commons.pas(376): E2029 Statement expected but 'VAR' found"
2019-11-18 19:37:12 +01:00
Mauricio Montuori
1f2556ecdc use HTTP_STATUS.BadRequest instead of 400 value 2019-11-18 15:16:27 -03:00
Mauricio Montuori
d9a42e9629 Send error 400 (Bad Request) when a parameter value is wrong 2019-11-18 14:46:01 -03:00
Mauricio Montuori
569f42360f Parameter's Error conversion Exception handling improved 2019-11-18 14:41:25 -03:00
Daniel Sonda
f339b45ae2 #293 Fix error "[dcc32 Error] MVCFramework.Swagger.Commons.pas(376): E2029 Statement expected but 'VAR' found" 2019-11-18 13:46:30 -03:00
Daniele Teti
157c7208f1 Improved Nullable Types sample 2019-11-17 12:36:27 +01:00
Daniele Teti
831af3b889 Updated DMustache 2019-11-17 12:09:05 +01:00
Daniele Teti
c04bbec2c8
Merge pull request #290 from joaoduarte19/master
Spring4D: Execution error when using Nullable <T> fields
2019-11-17 12:03:39 +01:00
João Antônio Duarte
ebfa1b806d Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-11-14 15:06:07 -03:00
João Antônio Duarte
d010511722 Removed reference to unit Winapi.Windows that was not needed and prevented compilation on platforms other than Windows. 2019-11-14 15:05:48 -03:00
Daniele Teti
529b5c7850 Added comments on jsonrpc/describe output 2019-11-06 20:42:17 +01:00
Daniele Teti
ff38df326d Added class helper for TJsonObject - new method LoadFromString 2019-11-06 15:08:29 +01:00
Daniele Teti
6297195a5f Fixed FirebirdSQL generator to work with transient fields with no name 2019-11-05 16:57:22 +01:00
Daniele Teti
23a108896c JSON properties can be de/serialized verbatim by the default json serializer 2019-11-05 14:40:39 +01:00
Daniele Teti
bedc034e6d Added SwaggerUI webserver 2019-11-04 13:01:18 +01:00
Daniele Teti
427925490c Improved EntitiesGenerator 2019-11-04 11:14:25 +01:00
Daniele Teti
7ce87edb51 dmvcframework 3.2.0-boron 2019-11-03 16:18:24 +01:00
João Antônio Duarte
76e93957cc Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-10-31 14:03:33 -03:00
Daniele Teti
887a065b86
Merge pull request #287 from joaoduarte19/improvements
Improved methods for understanding a class as a list.
2019-10-31 16:01:02 +01:00
João Antônio Duarte
13514923d3 Added custom serializers for Spring4D nullable types 2019-10-31 08:44:57 -03:00
João Antônio Duarte
81bcb82f8f Improved methods for understanding a class as a list.
Swagger PathID renamed to OperationID. This modification had been made in commit 51b0efdba4, but had been reversed with the latest swagger changes.
2019-10-31 08:31:41 -03:00
Daniele Teti
a9b15d725d
Merge pull request #286 from joaoduarte19/swagger_fix
Swagger improvements
2019-10-30 23:56:22 +01:00
João Antônio Duarte
74ff994fdf Minor improvements in JSONSchema generation 2019-10-30 15:07:14 -03:00
João Antônio Duarte
127025ae55 Added attribute to define authentication type of controller or method. Improvements and fixes in JSON Schema generation from entity
Added support for defining array JSON Schemas for parameters and responses
2019-10-30 12:02:30 -03:00
Daniele Teti
51b0efdba4 Swagger PathID renamed to OperationID
Moved MVCRequiresAuthenticationAttribute into MVCFramework.pas
2019-10-30 00:25:01 +01:00
Daniele Teti
3ccd6b6122 DMVCFramework package includes SwaggerDoc code. 2019-10-24 15:35:39 +02:00
Daniele Teti
ead05b8d5d dmvcframework 3.2.0-RC0-boron 2019-10-15 12:51:35 +02:00
Daniele Teti
1a0ae44b6b Improved README.md 2019-10-15 09:43:37 +02:00
Daniele Teti
cbbf2956f4 Added support for deserializing generic lists without MVCListOf attribute. 2019-10-15 09:33:53 +02:00
Daniele Teti
2830a7e27f
Merge pull request #283 from joaoduarte19/serializer_enhancements
Serializer Enhancements
2019-10-15 09:13:11 +02:00
João Antônio Duarte
db9cb7406b Added support for deserialize generic lists without MVCListOf attribute
Unit Tests Added
2019-10-14 18:11:08 -03:00
Daniele Teti
cf3839ef25 Changed exception message text in JSON-RPC client to better identify remote exceptions 2019-10-11 00:32:41 +02:00
Daniele Teti
6bdf5547bc Added ToMVCList to wrap any object and try to use as list 2019-10-10 20:16:48 +02:00
Daniele Teti
b0ccc9a974
Merge pull request #276 from joaoduarte19/serialize_interfaces
Serialization for interfaces
2019-10-10 19:21:47 +02:00
Daniele Teti
174703f9bb
Merge pull request #282 from joaoduarte19/swagger_documentation
Description for JWT Auth in Swagger Middleware
2019-10-10 13:54:08 +02:00
João Antônio Duarte
005be2807d Added JWTDescription parameter to Swagger middleware to provide a custom description for JWT authentication. 2019-10-10 08:32:00 -03:00