we have no such feature, but you can easily implement this by yourself:
- using HTTPServer.OnCustomResponseEvent you can add a new path like http://localhost:8099/dadoc . see example at Using OnCustomResponseEvent in a ROSDK Server
- inside HTTPServer.OnCustomResponseEvent you can return required documentation. You can create documentation like
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;
- write your documentation into
aResponseStream
.
Note: you don’t need to use 1st and 2nd steps from above snippet.