Passing list of boxed primitives to Google Cloud Endpoint

前端 未结 2 603
臣服心动
臣服心动 2021-01-15 19:29

I am struggling with Lists as method parameters at Google Cloud Endpoints.

The documentations says that

The supported parameter types are the foll

2条回答
  •  醉梦人生
    2021-01-15 19:47

    Please add @Nullable annotation to your method, that will turn your collection-type parameter from a path into a query parameter.

    https://developers.google.com/appengine/docs/java/endpoints/annotations#nullable

提交回复
热议问题