Skip to content
This repository was archived by the owner on Jun 4, 2025. It is now read-only.

Commit 6d7ff4c

Browse files
committed
Fix documentation
Signed-off-by: Vitor Mattos <vitor@php.rio>
1 parent 049c61f commit 6d7ff4c

File tree

1 file changed

+54
-48
lines changed

1 file changed

+54
-48
lines changed

site/.vuepress/public/specs/api.yaml

Lines changed: 54 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,23 +1618,25 @@ paths:
16181618
items:
16191619
$ref: '#/components/schemas/pdfPage'
16201620
visibleElements:
1621+
type: array
16211622
description: Visible elements on document
1622-
allOf:
1623-
- $ref: '#/components/schemas/signatureElement'
1624-
- $ref: '#/components/schemas/elementCoordinate'
1625-
- type: object
1626-
properties:
1627-
signRequestId:
1628-
type: string
1629-
nullable: true
1630-
description: Representative ID of relation between file and user
1631-
example: johndoe
1632-
elementId:
1633-
type: integer
1634-
minimum: 1
1635-
example: 1
1636-
required:
1637-
- elementId
1623+
items:
1624+
allOf:
1625+
- $ref: '#/components/schemas/signatureElement'
1626+
- $ref: '#/components/schemas/elementCoordinate'
1627+
- type: object
1628+
properties:
1629+
signRequestId:
1630+
type: string
1631+
nullable: true
1632+
description: Representative ID of relation between file and user
1633+
example: johndoe
1634+
elementId:
1635+
type: integer
1636+
minimum: 1
1637+
example: 1
1638+
required:
1639+
- elementId
16381640
signers:
16391641
type: array
16401642
items:
@@ -1819,23 +1821,25 @@ paths:
18191821
items:
18201822
$ref: '#/components/schemas/pdfPage'
18211823
visibleElements:
1824+
type: array
18221825
description: Visible elements on document
1823-
allOf:
1824-
- $ref: '#/components/schemas/signatureElement'
1825-
- $ref: '#/components/schemas/elementCoordinate'
1826-
- type: object
1827-
properties:
1828-
signRequestId:
1829-
type: string
1830-
nullable: true
1831-
description: Representative ID of relation between file and user
1832-
example: johndoe
1833-
elementId:
1834-
type: integer
1835-
minimum: 1
1836-
example: 1
1837-
required:
1838-
- elementId
1826+
items:
1827+
allOf:
1828+
- $ref: '#/components/schemas/signatureElement'
1829+
- $ref: '#/components/schemas/elementCoordinate'
1830+
- type: object
1831+
properties:
1832+
signRequestId:
1833+
type: string
1834+
nullable: true
1835+
description: Representative ID of relation between file and user
1836+
example: johndoe
1837+
elementId:
1838+
type: integer
1839+
minimum: 1
1840+
example: 1
1841+
required:
1842+
- elementId
18391843
signers:
18401844
type: array
18411845
items:
@@ -2018,23 +2022,25 @@ paths:
20182022
items:
20192023
$ref: '#/components/schemas/pdfPage'
20202024
visibleElements:
2025+
type: array
20212026
description: Visible elements on document
2022-
allOf:
2023-
- $ref: '#/components/schemas/signatureElement'
2024-
- $ref: '#/components/schemas/elementCoordinate'
2025-
- type: object
2026-
properties:
2027-
uid:
2028-
type: string
2029-
description: Nextcloud user id to assign this visible element.
2030-
example: johndoe
2031-
nullable: true
2032-
elementId:
2033-
type: integer
2034-
minimum: 1
2035-
example: 1
2036-
required:
2037-
- elementId
2027+
items:
2028+
allOf:
2029+
- $ref: '#/components/schemas/signatureElement'
2030+
- $ref: '#/components/schemas/elementCoordinate'
2031+
- type: object
2032+
properties:
2033+
uid:
2034+
type: string
2035+
description: Nextcloud user id to assign this visible element.
2036+
example: johndoe
2037+
nullable: true
2038+
elementId:
2039+
type: integer
2040+
minimum: 1
2041+
example: 1
2042+
required:
2043+
- elementId
20382044
signers:
20392045
type: array
20402046
items:

0 commit comments

Comments
 (0)