I'm new to XData and to use the built-in swagger.
Using Delphi XE11.0.
I have made a small XDataserver following Holgers YT, the server runs and returns data as expected.
I have two issues.
I have enabled swagger and that works fine, except from XML comments added on the methods which are not shown in swagger - do I need to enable something else?
I've added " TXDataModelBuilder.LoadXmlDoc(XDataServer.Model);" to the datamodule oncreate where the XDataserver lives.
The result JSON data presented in swagger and in my browsers is not presented "nicely" it's just a bunch of data, are there a setting for getting the JSON result formatted nicely in swagger?
If I copy the data to notepad+ I can get the data formated using a JSON plugin so the result is valid JSON data.
regards
Henrik