Azure / autorest.java

Extension for AutoRest (https://github.com/Azure/autorest) that generates Java code
MIT License
33 stars 82 forks source link

tsp, support string list and integer list as paged response #2578

Closed weidongxu-microsoft closed 6 months ago

weidongxu-microsoft commented 6 months ago

case

/**
 * The list of strings with server paging support.
 */
@Azure.Core.pagedResult
model StringsList {
  /** The collection of pageable items. */
  @Azure.Core.items
  value: string[];

  /** The link to the next page of items */
  @Azure.Core.nextLink
  nextLink?: string;
}

/**
 * The list of int32s with server paging support.
 */
@Azure.Core.pagedResult
model Int32sList {
  /** The collection of pageable items. */
  @Azure.Core.items
  value: int32[];

  /** The link to the next page of items */
  @Azure.Core.nextLink
  nextLink?: string;
}
weidongxu-microsoft commented 6 months ago

There may be e.g. paged utc-data-time though...