Implement skeleton for patch document
This commit is contained in:
50
openapi.yml
50
openapi.yml
@ -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:
|
||||
|
Reference in New Issue
Block a user