Implement skeleton for patch document

This commit is contained in:
2025-01-31 10:19:55 +01:00
parent 3f3752c67b
commit 8b64dbac97
6 changed files with 108 additions and 3 deletions

View File

@ -39,6 +39,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/HelloResponse"
/signing-request/{id}:
get:
tags:
@ -71,6 +72,41 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/signing-request-document/{id}:
patch:
tags:
- signing-request-document
summary: Change some data in a signing request document
operationId: patchSigningRequestDocument
parameters:
- name: id
in: path
required: true
description: The ID of the signing request document
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/PatchSigningRequestDocumentRequest"
responses:
204:
description: "Signing request document was patched"
401:
description: "Unauthorized"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
404:
description: "Signing request document was not found"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorResponse"
/signing-request-document/{id}/data:
get:
tags:
@ -180,6 +216,20 @@ components:
confirmed:
type: boolean
PatchSigningRequestDocumentRequest:
type: object
required:
- op
- path
- value
properties:
op:
type: string
path:
type: string
value:
type: string
ErrorResponse:
type: object
required: