Commit Graph

1107 Commits

Author SHA1 Message Date
Geoffrey Smith
76206a36e0 Added Interface and Implementation Constants 2019-08-02 16:59:54 +10:00
Geoffrey Smith
0e9374825a Improve DelphiUnit Generator 2019-08-02 11:44:19 +10:00
Geoffrey Smith
ac02237159 Add petstore swagger file demo file 2019-08-02 11:35:45 +10:00
João Antônio Duarte
e3bc31c159 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework into middlewareswagger_dev 2019-08-01 18:08:47 -03:00
João Antônio Duarte
85d5518ea1 Improved Swaggerdocapi example
Added JSonSchema creation from object in MVCSwagResponsesAttribute
2019-08-01 18:07:23 -03:00
Daniele Teti
d661065c07
Merge pull request #255 from viniciussanchez/patch-1
Removed OnParseAuthentication class procedure
2019-08-01 22:42:04 +02:00
Vinicius Sanchez
dc5ddf9792
Removed OnParseAuthentication class procedure 2019-08-01 17:37:16 -03:00
João Antônio Duarte
439224da4f JWT authentication documentation improvements:
- JWT UrlSegment set to basic authentication format
2019-08-01 17:31:59 -03:00
João Antônio Duarte
69788525c2 improvements on swaggerdocapi example
Added security to methods with MVCRequiresAuthentication attribute
2019-07-31 08:40:11 -03:00
João Antônio Duarte
7d801d94a8 Security Definitions added to documentation when TMVCJWTAuthenticationMiddleware is added to Engine.
The SwaggerDocApi example is not yet functional, I will still make improvements to the example
2019-07-30 18:16:10 -03:00
Geoffrey Smith
2204bfdeaa Update URI's to use Swagger format in Client 2019-07-30 21:06:22 +10:00
Geoffrey Smith
1a8bc7076e Demo of Client API currently generated by Generator 2019-07-30 17:32:09 +10:00
Geoffrey Smith
312f151aa1 Rename functions to have better names 2019-07-30 17:30:28 +10:00
Geoffrey Smith
d95d31d4d4 Improve Delphi Unit Generator code formatting output 2019-07-30 16:44:12 +10:00
Geoffrey Smith
e4f57686e2 Add Start of Clientside REST API Generator 2019-07-30 16:29:31 +10:00
João Antônio Duarte
13a88503c7 Initial commit of creation JsonSchema from Tclass 2019-07-29 17:50:12 -03:00
Geoffrey Smith
e65bd200bc Improve Code formatting 2019-07-30 00:07:00 +10:00
Geoffrey Smith
fcd04089dd Initial Commit of TMVCSwaggerController - Server Swagger Document creator 2019-07-29 23:50:09 +10:00
Geoffrey Smith
021cf6e6ed Remove MVCFramework.TypesAliases from Demo project 2019-07-29 23:47:49 +10:00
Geoffrey Smith
f406468754 Add Attributes used for documenting MVC Controllers and Data Structures 2019-07-29 23:47:12 +10:00
Geoffrey Smith
6029777b10 Add back units previously removed from uses clauses 2019-07-29 23:26:33 +10:00
João Antônio Duarte
72424b4910 Added Swag Parameter description 2019-07-29 10:09:55 -03:00
Geoffrey Smith
452796f402 Initial Commit of Swagger Projects 2019-07-29 22:33:28 +10:00
João Antônio Duarte
17a060d896 Identification Adjustments 2019-07-29 09:27:09 -03:00
Geoffrey Smith
45acb0437c Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-07-29 22:10:09 +10:00
João Antônio Duarte
f56768d455 Fixes in adding JsonSchema to documentation 2019-07-29 08:58:08 -03:00
João Antônio Duarte
c88a0694ae Warnings Removal
Access violation fixes
2019-07-29 08:37:31 -03:00
João Antônio Duarte
8f86df526d Added API documentation with Swagger 2019-07-27 15:23:48 -03:00
Daniele Teti
0992ada70a https://github.com/danieleteti/delphimvcframework/issues/225 2019-07-27 00:57:37 +02:00
Daniele Teti
b183eddd81 Small improvements in GetContentFields 2019-07-26 21:30:36 +02:00
Daniele Teti
cec4dbeb36
Merge pull request #251 from viniciussanchez/master
IETF - RFC 6750 #244
2019-07-26 21:20:31 +02:00
viniciussanchez
fc4966ef25 Added LowerCase in ContentField name 2019-07-26 14:37:18 -03:00
viniciussanchez
ca5278c4ac Adjusted lazy-loading TDictionary 2019-07-26 14:28:45 -03:00
viniciussanchez
7004afd101 ContentFields property created in class TMVCWebRequest 2019-07-26 13:59:07 -03:00
viniciussanchez
47a2a0592f Render procedure overload to accept StatusCode and JSON as a parameter. 2019-07-26 10:04:19 -03:00
viniciussanchez
338db990fd Remove System.JSON reference 2019-07-26 09:45:40 -03:00
viniciussanchez
ba9b896af8 AErrorMessage default is empty when AErrorCode is 204 (No content) 2019-07-26 09:42:57 -03:00
viniciussanchez
db5b505cf7 IETF - RFC 6750 #244 2019-07-26 08:51:11 -03:00
Daniele Teti
82ba7efa8a
Merge pull request #242 from joaoduarte19/jwt_improvements
JWT Token Encoding Enhancements
2019-07-26 09:34:11 +02:00
Daniele Teti
9470c85514 Some fixes after the merge of https://github.com/danieleteti/delphimvcframework/issues/241 2019-07-24 20:49:08 +02:00
Daniele Teti
9b59fd6e44
Merge pull request #243 from viniciussanchez/master
#241 - RFC 6750
2019-07-24 19:43:42 +02:00
Vinicius Sanchez
a2176c1600
IETF - RCF 7519
#245
2019-07-24 14:33:58 -03:00
Vinicius Sanchez
7acffd4fab
Implemented validation to not give error when not inform NotBefore and IssuedAt 2019-07-24 11:12:05 -03:00
Vinicius Sanchez
f15d02171e
IETF national convention - RFC 6750
#241
*If possible remove parameters to leave in IETF default*
2019-07-24 09:35:28 -03:00
Vinicius Sanchez
ca9cbba3cb
Update MVCFramework.Middleware.JWT.pas 2019-07-23 22:50:57 -03:00
Vinicius Sanchez
fd0c460f76
Bearer manual authentication control added 2019-07-23 22:29:10 -03:00
Vinicius Sanchez
180dc2e988
#241 - RFC 6750
The POST verb is not required for Bearer requests. #241 - RFC 6750
2019-07-22 16:51:28 -03:00
João Antônio Duarte
856fa66118 when adding to the JWT Token a Payload containing special characters and accent was not decoded correctly by the client application. It has been fixed by encoding the Token as a Base64 with UTF-8 charset.
System.JSON was changed by JsonDataObjects in unit MVCFramework.JWT
2019-07-19 14:20:46 -03:00
Daniele Teti
56476d449e https://github.com/danieleteti/delphimvcframework/issues/229 2019-07-19 17:23:19 +02:00
Daniele Teti
9af7d3fb54
Merge pull request #236 from joaoduarte19/general_changes
Added parameter to inform string encoding.
2019-07-11 18:27:01 +02:00