[I] PagingProperty
A paging marker’s property and its access path from an operation’s parameter or response model.
Properties
Section titled “Properties”| Property | Modifier | Type | Description |
|---|---|---|---|
path | readonly | ModelProperty[] | Ordered properties from the root model to the annotated property, including the property itself. If the paging property is nested, this will contain the path to the paging property in the model and array length will be greater than one. You can use this to generate the path to the property in the model with following code: Example const path = pagingInfo.output.pageItems.path.map((prop) => prop.name).join("."); |
property | readonly | ModelProperty | The annotated property itself, also the final element of PagingProperty.path. |