 core/lib/Drupal/Component/Annotation/Plugin.php   |  9 +++++++++
 core/modules/rest/src/Annotation/RestResource.php | 18 ++++++++++++++++--
 2 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/core/lib/Drupal/Component/Annotation/Plugin.php b/core/lib/Drupal/Component/Annotation/Plugin.php
index 790440d..3c78ede 100644
--- a/core/lib/Drupal/Component/Annotation/Plugin.php
+++ b/core/lib/Drupal/Component/Annotation/Plugin.php
@@ -27,6 +27,15 @@ class Plugin implements AnnotationInterface {
   protected $definition;
 
   /**
+   * The deriver class for this resource plugin, if any.
+   *
+   * @see \Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator::getDeriverClass()
+   *
+   * @var string|null
+   */
+  public $deriver;
+
+  /**
    * Constructs a Plugin object.
    *
    * Builds up the plugin definition and invokes the get() method for any
diff --git a/core/modules/rest/src/Annotation/RestResource.php b/core/modules/rest/src/Annotation/RestResource.php
index 0af11a8..d21f24c 100644
--- a/core/modules/rest/src/Annotation/RestResource.php
+++ b/core/modules/rest/src/Annotation/RestResource.php
@@ -23,14 +23,14 @@
 class RestResource extends Plugin {
 
   /**
-   * The resource plugin ID.
+   * The REST resource plugin ID.
    *
    * @var string
    */
   public $id;
 
   /**
-   * The human-readable name of the resource plugin.
+   * The human-readable name of the REST resource plugin.
    *
    * @ingroup plugin_translatable
    *
@@ -41,8 +41,22 @@ class RestResource extends Plugin {
   /**
    * The serialization class to deserialize serialized data into.
    *
+   * @see \Symfony\Component\Serializer\SerializerInterface's "type" parameter.
+   *
    * @var string (optional)
    */
   public $serialization_class;
 
+  /**
+   * The URI paths that this REST resource plugin provides.
+   *
+   * Key-value pairs, with link relation type plugin IDs as keys, and URL
+   * templates as values.
+   *
+   * @see core/core.link_relation_types.yml
+   *
+   * @var string[]
+   */
+  public $uri_paths = [];
+
 }
