Skip to content

Commit 24909ca

Browse files
committed
Fixed additional properties for NewShare.protocol
1 parent f14da08 commit 24909ca

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

spec.yaml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -407,27 +407,28 @@ definitions:
407407
- `webdav`, to access the data
408408
- `webapp`, to access remote web applications
409409
- `datatx`, to transfer the data to the remote endpoint
410+
410411
Other custom protocols might be added in the future.
411-
required:
412-
- name
413-
name:
414-
type: string
415-
description: |
416-
The name of the protocol. If `multi` is given, one or more protocol
417-
endpoints are expected to be defined according to the optional
418-
properties specified below.
419-
Otherwise, at least `webdav` is expected to be supported,
420-
and its options MAY be given in the opaque `options` payload
421-
for backwards compatibility with v1.0 implementations.
422-
options:
423-
type: object
424-
description: |
425-
This property is now deprecated. Implementations are encouraged to
426-
transition to the new optional properties defined below, such that
427-
this field may be removed in a future major version of the spec.
428412
additionalProperties:
429413
type: object
414+
required:
415+
- name
430416
properties:
417+
name:
418+
type: string
419+
description: |
420+
The name of the protocol. If `multi` is given, one or more protocol
421+
endpoints are expected to be defined according to the optional
422+
properties specified below.
423+
Otherwise, at least `webdav` is expected to be supported,
424+
and its options MAY be given in the opaque `options` payload
425+
for backwards compatibility with v1.0 implementations.
426+
options:
427+
type: object
428+
description: |
429+
This property is now deprecated. Implementations are encouraged to
430+
transition to the new optional properties defined below, such that
431+
this field may be removed in a future major version of the spec.
431432
webdav:
432433
type: object
433434
properties:

0 commit comments

Comments
 (0)