TXDataServer.SwaggerOptions - ExcludeEntities not available

In the XData documentation (P134 of the version I'm reading) it refers to the options available in the TXDataServer.SwaggerOptions property. This lists

  • ExcludeEntities
  • ExcludeOperations
  • AuthMode.

However, in the TXDataServer.SwaggerOptions the options I see (or can access in code) are

  • AuthMode
  • DefaultTagGroup
  • Enabled

I'd really like to be able to set ExcludeEntities to True. Can someone clarify this? thanks.

Also is the [SwaggerExclude] attribute available for entities?

That is not correct. The documentation says "You can also configure the specification by passing parameters in the query part of the URL, and they can be one of the following:"

Yes.

Sorry, misread that.

They would be very useful properties so you can control that aspect of the Swagger from the server.