Commit Graph

1177 Commits

Author SHA1 Message Date
João Antônio Duarte
a8303809b8 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework into middlewareswagger_dev 2019-08-05 14:36:06 -03:00
João Antônio Duarte
2856063fd8 corrections in duplicate mappings 2019-08-05 11:59:35 -03:00
Geoffrey Smith
a33733c1f2 Add Attributes for Non Path Parameters 2019-08-06 00:26:36 +10:00
Geoffrey Smith
0d4b82eac3 Add JsonFieldFromRttiTypeInfo to simplify various methods 2019-08-06 00:25:30 +10:00
Geoffrey Smith
b6c75d2a5a Use Constructor parameter to pass in status info 2019-08-06 00:18:39 +10:00
Geoffrey Smith
c54c157dc7 Update Swagger Controller 2019-08-05 21:37:42 +10:00
Daniele Teti
7a8aabb55a Merge branch 'master' of https://github.com/danieleteti/delphimvcframework
# Conflicts:
#	sources/MVCFramework.Middleware.Compression.pas
2019-08-05 12:57:33 +02:00
Daniele Teti
44deb6ce83 Removed some hints for old version of Delphi 2019-08-05 12:55:57 +02:00
Geoffrey Smith
47029fb1a7 Update of Generated code sample 2019-08-03 15:15:24 +10:00
Geoffrey Smith
b793d5b65e Change MVCPathParam parameters to have Pattern instead of description 2019-08-03 14:26:57 +10:00
Geoffrey Smith
da4a3a5553 Only Add Attributes in interface declaration not in implementation 2019-08-03 13:18:09 +10:00
Geoffrey Smith
d9b0677788 Add Attribute with extra info about path parameter 2019-08-03 10:16:34 +10:00
João Antônio Duarte
992cefe92e Added MVCSwagJsonSchemaFieldAttribute to detail field schema when extracting JsonSchema from class 2019-08-02 15:54:52 -03:00
Daniele Teti
3da3d6c340
Merge pull request #258 from viniciussanchez/patch-4
Removed warning
2019-08-02 17:11:03 +02:00
Vinicius Sanchez
3ea4b37410
Removed warning
[dcc32 Warning] MVCFramework.Middleware.Compression.pas(121): W1057 Implicit string cast from 'AnsiString' to 'string'
2019-08-02 10:03:17 -03:00
Geoffrey Smith
69748a4e20 Fill out skeleton methods in MVC Controller 2019-08-02 22:30:49 +10:00
Geoffrey Smith
0dd5f80d9f Ensure unit can't be included multiple times in file 2019-08-02 22:23:49 +10:00
Daniele Teti
cc64a564a8 FIXED compatibility problems with XE7 2019-08-02 12:32:31 +02:00
Geoffrey Smith
0261f6db3b Tidy up DelphiMVCFramework Generator 2019-08-02 19:57:54 +10:00
Geoffrey Smith
0e6569927a Added handling of interfaces and to forward declare classes/interfaces 2019-08-02 19:48:38 +10:00
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