Entity property

The Entity property, @openapi.openedge.entity.property, uses the following parameters:

Parameter Description
Name Specifies the name of the property to be added at the entity level.
Value Specifies the value of the property as a string. The value can also be a comma delimited list of strings.
Type (Optional) Indicates how the property is generated in the Data Service Catalog file. The type can be a string, integer, boolean, or an array.
Note: The default type is a string. If the type is an array, the generated code looks like a JSON array of strings where each item corresponds to each item in the comma delimited value string.
Sample Entity property annotation:
@openapi.openedge.entity.property (name="recordName", value="Name", type="string").