Table of Contents

SwaggerExcludeAttribute Class

Excludes an item from the generated OpenAPI (Swagger) document.

Remarks

It can be applied to a service contract interface or to one of its methods, to exclude the service operations, to an Aurelius entity class, to exclude its entity set endpoints, or to a class member, to exclude the property from the schema of the class. The excluded endpoints still work, they are just not documented.

Syntax

Unit: XData.Service.Common

SwaggerExcludeAttribute = class(TCustomAttribute);