Skip to content

Commit 6ccc5a4

Browse files
committed
fix: explicitly state the uniqueness of providerIds
1 parent d6528ad commit 6ccc5a4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

IETF-RFC.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -649,10 +649,9 @@ To create a Share, the Sending Server SHOULD make a HTTP POST request
649649
Example: "This is the Open API Specification file (in YAML
650650
format) of the Open Cloud Mesh API."
651651
* REQUIRED providerId (string)
652-
Identifier to identify the Shared Resource at the provider
653-
side. This is unique per provider such that if the same
654-
Resource is shared twice, this providerId will not be
655-
repeated.
652+
Opaque value to identify the Shared Resource at the provider side.
653+
This MUST be unique per provider and per Resource, such that multiple
654+
shares of a given Resource are guaranteed to get different values.
656655
Example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
657656
* REQUIRED owner (string) -
658657
OCM Address of the user who owns the

spec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,9 @@ components:
506506
providerId:
507507
type: string
508508
description: >
509-
Identifier to identify the shared resource at the provider side.
510-
This is unique per provider such that if the same resource is shared
511-
twice, this providerId will not be repeated.
509+
Opaque value to identify the Shared Resource at the provider side.
510+
This MUST be unique per provider and per Resource, such that multiple
511+
shares of a given Resource are guaranteed to get different values.
512512
example: 7c084226-d9a1-11e6-bf26-cec0c932ce01
513513
owner:
514514
description: |

0 commit comments

Comments
 (0)