Updated the examples with better values
This commit is contained in:
parent
54e86795d5
commit
2bab1494dc
1 changed files with 35 additions and 39 deletions
74
openapi.yml
74
openapi.yml
|
@ -1581,7 +1581,7 @@ components:
|
||||||
start: '2021-01-01 17:00:00'
|
start: '2021-01-01 17:00:00'
|
||||||
end: '2021-01-01 18:00:00'
|
end: '2021-01-01 18:00:00'
|
||||||
hash: apTWVbSvBJXR
|
hash: apTWVbSvBJXR
|
||||||
location: Test Street 1A, 12345 Some Place
|
location: Test Street 1A, 12345 Some State, Some Place
|
||||||
notes: This is a test appointment.
|
notes: This is a test appointment.
|
||||||
customerId: 5
|
customerId: 5
|
||||||
providerId: 2
|
providerId: 2
|
||||||
|
@ -1596,8 +1596,6 @@ components:
|
||||||
type: string
|
type: string
|
||||||
location:
|
location:
|
||||||
type: string
|
type: string
|
||||||
status:
|
|
||||||
type: string
|
|
||||||
notes:
|
notes:
|
||||||
type: string
|
type: string
|
||||||
customerId:
|
customerId:
|
||||||
|
@ -1609,7 +1607,7 @@ components:
|
||||||
example:
|
example:
|
||||||
start: '2021-01-01 17:00:00'
|
start: '2021-01-01 17:00:00'
|
||||||
end: '2021-01-01 18:00:00'
|
end: '2021-01-01 18:00:00'
|
||||||
location: Test Street 1A, 12345 Some Place
|
location: Test Street 1A, 12345 Some State, Some Place
|
||||||
notes: This is a test appointment.
|
notes: This is a test appointment.
|
||||||
customerId: 5
|
customerId: 5
|
||||||
providerId: 2
|
providerId: 2
|
||||||
|
@ -1644,8 +1642,8 @@ components:
|
||||||
book: '2021-01-01 12:00:00'
|
book: '2021-01-01 12:00:00'
|
||||||
start: '2021-01-01 17:00:00'
|
start: '2021-01-01 17:00:00'
|
||||||
end: '2021-01-01 18:00:00'
|
end: '2021-01-01 18:00:00'
|
||||||
hash: 'z9nhNwtI4QOV'
|
hash: apTWVbSvBJXR
|
||||||
location: Test Street 1A, 12345 Some Place
|
location: Test Street 1A, 12345 Some State, Some Place
|
||||||
notes: This is a test unavailability.
|
notes: This is a test unavailability.
|
||||||
providerId: 2
|
providerId: 2
|
||||||
googleCalendarId: null
|
googleCalendarId: null
|
||||||
|
@ -1658,8 +1656,6 @@ components:
|
||||||
type: string
|
type: string
|
||||||
location:
|
location:
|
||||||
type: string
|
type: string
|
||||||
status:
|
|
||||||
type: string
|
|
||||||
notes:
|
notes:
|
||||||
type: string
|
type: string
|
||||||
providerId:
|
providerId:
|
||||||
|
@ -1667,7 +1663,7 @@ components:
|
||||||
example:
|
example:
|
||||||
start: '2021-01-01 17:00:00'
|
start: '2021-01-01 17:00:00'
|
||||||
end: '2021-01-01 18:00:00'
|
end: '2021-01-01 18:00:00'
|
||||||
location: Test Street 1A, 12345 Some Place
|
location: Test Street 1A, 12345 Some State, Some Place
|
||||||
notes: This is a test appointment.
|
notes: This is a test appointment.
|
||||||
providerId: 2
|
providerId: 2
|
||||||
UnavailabilityCollection:
|
UnavailabilityCollection:
|
||||||
|
@ -1701,9 +1697,9 @@ components:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
id: 1
|
id: 1
|
||||||
firstName: John
|
firstName: Steve
|
||||||
lastName: Doe
|
lastName: Doe
|
||||||
email: john@example.org
|
email: steve@example.org
|
||||||
phone: Test Street 1A
|
phone: Test Street 1A
|
||||||
city: Some Place
|
city: Some Place
|
||||||
zip: '12345'
|
zip: '12345'
|
||||||
|
@ -1734,9 +1730,9 @@ components:
|
||||||
notes:
|
notes:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
firstName: John
|
firstName: Steve
|
||||||
lastName: Doe
|
lastName: Doe
|
||||||
email: john@example.org
|
email: steve@example.org
|
||||||
phone: Test Street 1A
|
phone: Test Street 1A
|
||||||
city: Some Place
|
city: Some Place
|
||||||
zip: '12345'
|
zip: '12345'
|
||||||
|
@ -1777,7 +1773,7 @@ components:
|
||||||
duration: 30
|
duration: 30
|
||||||
price: 10
|
price: 10
|
||||||
currency: USD
|
currency: USD
|
||||||
location: Test Street 1A, 12345 Some Place
|
location: Test Street 1A, 12345 Some State, Some Place
|
||||||
description: This is a test service.
|
description: This is a test service.
|
||||||
availabilitiesType: flexible
|
availabilitiesType: flexible
|
||||||
attendantsNumber: 1
|
attendantsNumber: 1
|
||||||
|
@ -1808,7 +1804,7 @@ components:
|
||||||
duration: 30
|
duration: 30
|
||||||
price: 10
|
price: 10
|
||||||
currency: USD
|
currency: USD
|
||||||
location: Test Street 1A, 12345 Some Place
|
location: Test Street 1A, 12345 Some State, Some Place
|
||||||
description: This is a test service.
|
description: This is a test service.
|
||||||
availabilitiesType: flexible
|
availabilitiesType: flexible
|
||||||
attendantsNumber: 1
|
attendantsNumber: 1
|
||||||
|
@ -1883,9 +1879,9 @@ components:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
id: 1
|
id: 1
|
||||||
firstName: John
|
firstName: Jason
|
||||||
lastName: Doe
|
lastName: Doe
|
||||||
email: john@example.org
|
email: jason@example.org
|
||||||
mobile: '+10000000000'
|
mobile: '+10000000000'
|
||||||
phone: '+10000000000'
|
phone: '+10000000000'
|
||||||
address: Test Street 1A
|
address: Test Street 1A
|
||||||
|
@ -1894,8 +1890,8 @@ components:
|
||||||
notes: This is a test admin.
|
notes: This is a test admin.
|
||||||
timezone: UTC
|
timezone: UTC
|
||||||
settings:
|
settings:
|
||||||
username: johndoe
|
username: jasondoe
|
||||||
password: johndoe
|
password: Password@123
|
||||||
notifications: true
|
notifications: true
|
||||||
calendarView: default
|
calendarView: default
|
||||||
AdminPayload:
|
AdminPayload:
|
||||||
|
@ -1936,9 +1932,9 @@ components:
|
||||||
calendarView:
|
calendarView:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
firstName: John
|
firstName: Jason
|
||||||
lastName: Doe
|
lastName: Doe
|
||||||
email: john@example.org
|
email: jason@example.org
|
||||||
mobile: '+10000000000'
|
mobile: '+10000000000'
|
||||||
phone: '+10000000000'
|
phone: '+10000000000'
|
||||||
address: Test Street 1A
|
address: Test Street 1A
|
||||||
|
@ -1948,8 +1944,8 @@ components:
|
||||||
timezone: UTC
|
timezone: UTC
|
||||||
language: english
|
language: english
|
||||||
settings:
|
settings:
|
||||||
username: johndoe
|
username: jasondoe
|
||||||
password: johndoe
|
password: Password@123
|
||||||
notifications: true
|
notifications: true
|
||||||
calendarView: default
|
calendarView: default
|
||||||
AdminCollection:
|
AdminCollection:
|
||||||
|
@ -2012,9 +2008,9 @@ components:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
id: 1
|
id: 1
|
||||||
firstName: John
|
firstName: Chris
|
||||||
lastName: Doe
|
lastName: Doe
|
||||||
email: john@example.org
|
email: chris@example.org
|
||||||
mobile: '+10000000000'
|
mobile: '+10000000000'
|
||||||
phone: '+10000000000'
|
phone: '+10000000000'
|
||||||
address: Test Street 1A
|
address: Test Street 1A
|
||||||
|
@ -2025,8 +2021,8 @@ components:
|
||||||
language: english
|
language: english
|
||||||
services: []
|
services: []
|
||||||
settings:
|
settings:
|
||||||
username: johndoe
|
username: chrisdoe
|
||||||
password: johndoe
|
password: Password@123
|
||||||
notifications: true
|
notifications: true
|
||||||
calendarView: default
|
calendarView: default
|
||||||
googleSync: false
|
googleSync: false
|
||||||
|
@ -2111,9 +2107,9 @@ components:
|
||||||
workingPlan:
|
workingPlan:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
firstName: John
|
firstName: Chris
|
||||||
lastName: Doe
|
lastName: Doe
|
||||||
email: john@example.org
|
email: chris@example.org
|
||||||
mobile: '+10000000000'
|
mobile: '+10000000000'
|
||||||
phone: '+10000000000'
|
phone: '+10000000000'
|
||||||
address: Test Street 1A
|
address: Test Street 1A
|
||||||
|
@ -2124,8 +2120,8 @@ components:
|
||||||
language: english
|
language: english
|
||||||
services: []
|
services: []
|
||||||
settings:
|
settings:
|
||||||
username: johndoe
|
username: chrisdoe
|
||||||
password: johndoe
|
password: Password@123
|
||||||
notifications: true
|
notifications: true
|
||||||
calendarView: default
|
calendarView: default
|
||||||
googleSync: false
|
googleSync: false
|
||||||
|
@ -2205,9 +2201,9 @@ components:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
id: 1
|
id: 1
|
||||||
firstName: John
|
firstName: Jessy
|
||||||
lastName: Doe
|
lastName: Doe
|
||||||
email: john@example.org
|
email: jessy@example.org
|
||||||
mobile: '+10000000000'
|
mobile: '+10000000000'
|
||||||
phone: '+10000000000'
|
phone: '+10000000000'
|
||||||
address: Test Street 1A
|
address: Test Street 1A
|
||||||
|
@ -2218,8 +2214,8 @@ components:
|
||||||
language: english
|
language: english
|
||||||
providers: []
|
providers: []
|
||||||
settings:
|
settings:
|
||||||
username: johndoe
|
username: jessydoe
|
||||||
password: johndoe
|
password: Password@123
|
||||||
notifications: true
|
notifications: true
|
||||||
calendarView: default
|
calendarView: default
|
||||||
SecretaryPayload:
|
SecretaryPayload:
|
||||||
|
@ -2264,9 +2260,9 @@ components:
|
||||||
calendarView:
|
calendarView:
|
||||||
type: string
|
type: string
|
||||||
example:
|
example:
|
||||||
firstName: John
|
firstName: Jessy
|
||||||
lastName: Doe
|
lastName: Doe
|
||||||
email: john@example.org
|
email: jessy@example.org
|
||||||
mobile: '+10000000000'
|
mobile: '+10000000000'
|
||||||
phone: '+10000000000'
|
phone: '+10000000000'
|
||||||
address: Test Street 1A
|
address: Test Street 1A
|
||||||
|
@ -2277,8 +2273,8 @@ components:
|
||||||
language: english
|
language: english
|
||||||
providers: []
|
providers: []
|
||||||
settings:
|
settings:
|
||||||
username: johndoe
|
username: jessydoe
|
||||||
password: johndoe
|
password: Password@123
|
||||||
notifications: true
|
notifications: true
|
||||||
calendarView: default
|
calendarView: default
|
||||||
SecretaryCollection:
|
SecretaryCollection:
|
||||||
|
|
Loading…
Reference in a new issue