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:
Raktima
2026-06-26 18:45:32 +05:30
committed by GitHub
parent 2315136323
commit cabd4eec27
+26 -1
View File
@@ -246,7 +246,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/contact'
$ref: '#/components/schemas/contact_res'
responses:
"200":
description: Contact updated successfully!
@@ -5351,6 +5351,31 @@ components:
$ref: '#/components/schemas/date'
xml:
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:
type: object
properties: