mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 15:55:54 +01:00
Small fix for the Swagger documentation to be compatible with versions prior to Delphi 10.3 Rio
This commit is contained in:
parent
a1c6d82198
commit
f8ad249850
@ -340,7 +340,7 @@ begin
|
|||||||
SortApiPaths(LSwagDoc);
|
SortApiPaths(LSwagDoc);
|
||||||
|
|
||||||
LSwagDoc.GenerateSwaggerJson;
|
LSwagDoc.GenerateSwaggerJson;
|
||||||
InternalRender(LSwagDoc.SwaggerJson.Format, AContext);
|
InternalRender(LSwagDoc.SwaggerJson.ToJSON, AContext);
|
||||||
AHandled := True;
|
AHandled := True;
|
||||||
|
|
||||||
finally
|
finally
|
||||||
|
Loading…
Reference in New Issue
Block a user