TDocRequired Enumeration
Defines whether a property or parameter is flagged as required in the generated API documentation.
Remarks
Default lets XData decide based on the definition of the property or parameter. Required always flags it as required, and NotRequired never does. It only affects the documentation, not the validation of the requests.
Syntax
Unit: XData.Model.Classes
Members
| Name | Value | Description |
|---|---|---|
| Default | 0 | |
| Required | 1 | |
| NotRequired | 2 |