diff --git a/app/resto/core/RestoCollection.php b/app/resto/core/RestoCollection.php index ea0b66d2..5432880b 100755 --- a/app/resto/core/RestoCollection.php +++ b/app/resto/core/RestoCollection.php @@ -25,13 +25,18 @@ * * @OA\Schema( * schema="InputCollection", - * required={"id"}, + * required={"id", "description"}, * @OA\Property( * property="id", * type="string", * description="Collection identifier. It must be an unique alphanumeric string containing only [a-zA-Z0-9\-_]." * ), * @OA\Property( + * property="title", + * type="string", + * description="A short descriptive one-line title for the Collection." + * ), + * @OA\Property( * property="description", * type="string", * description="Detailed multi-line description to fully explain the Collection. CommonMark 0.29 syntax MAY be used for rich text representation." @@ -119,6 +124,11 @@ * @OA\Items(ref="#/components/schemas/Provider") * ), * @OA\Property( + * property="properties", + * type="object", + * @OA\JsonContent() + * ), + * @OA\Property( * property="summaries", * type="object", * @OA\JsonContent() @@ -344,6 +354,12 @@ * @OA\Items(ref="#/components/schemas/Provider") * ), * @OA\Property( + * property="properties", + * type="object", + * description="Free properties object", + * @OA\JsonContent() + * ), + * @OA\Property( * property="summaries", * type="object", * @OA\JsonContent( diff --git a/docs/api/resto-api.html b/docs/api/resto-api.html index c497b583..9e73a32d 100644 --- a/docs/api/resto-api.html +++ b/docs/api/resto-api.html @@ -1496,7 +1496,7 @@