Hello,
Is it possible to view the documentation for public DataTable (fields, description, etc.) as can view the documentation for the structures, enums, methods and params, etc. defined in the data services?
Hello,
Is it possible to view the documentation for public DataTable (fields, description, etc.) as can view the documentation for the structures, enums, methods and params, etc. defined in the data services?
I need to view this documentation as a html page ex: localhost:8099/doc like for RemObject Services or save all DataTables documentation for a schema as a file.
we have no such feature, but you can easily implement this by yourself:
daservice := TDataService.Create(nil);
try
for i := 0 to daservice.ServiceSchema.Datasets.Count-1 do begin
dataset := daservice.ServiceSchema.Datasets[i];
// generate documentation for dataset
end;
finally
daservice.Free;
end;
aResponseStream
.Note: you don’t need to use 1st and 2nd steps from above snippet.
I wil try!
Thanks