Small fix for the Swagger documentation to be compatible with versions prior to Delphi 10.3 Rio

This commit is contained in:
João Antônio Duarte 2020-05-07 18:32:59 -03:00
parent a1c6d82198
commit f8ad249850

View File

@ -340,7 +340,7 @@ begin
SortApiPaths(LSwagDoc);
LSwagDoc.GenerateSwaggerJson;
InternalRender(LSwagDoc.SwaggerJson.Format, AContext);
InternalRender(LSwagDoc.SwaggerJson.ToJSON, AContext);
AHandled := True;
finally