mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-09-30 13:34:58 +02:00
Modify contact schema reference and add contact_res
Updated the reference for contact schema and added contact_res schema with detailed properties.
This commit is contained in:
@@ -246,7 +246,7 @@ paths:
|
|||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/contact'
|
$ref: '#/components/schemas/contact_res'
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Contact updated successfully!
|
description: Contact updated successfully!
|
||||||
@@ -5351,6 +5351,31 @@ components:
|
|||||||
$ref: '#/components/schemas/date'
|
$ref: '#/components/schemas/date'
|
||||||
xml:
|
xml:
|
||||||
name: contactdetails
|
name: contactdetails
|
||||||
|
contact_res:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
format: string
|
||||||
|
example: joe bee
|
||||||
|
email:
|
||||||
|
type: string
|
||||||
|
format: string
|
||||||
|
example: joebee@example.com
|
||||||
|
phone:
|
||||||
|
type: string
|
||||||
|
format: string
|
||||||
|
example: "4131231231"
|
||||||
|
company:
|
||||||
|
type: string
|
||||||
|
format: string
|
||||||
|
example: opensign
|
||||||
|
job_title:
|
||||||
|
type: string
|
||||||
|
format: string
|
||||||
|
example: dev
|
||||||
|
xml:
|
||||||
|
name: contactdetails
|
||||||
folder:
|
folder:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|||||||
Reference in New Issue
Block a user