Improves Booking docs in swagger (#219)

Adds definition to booking swagger definition, and fixes user _post
definition example
This commit is contained in:
Syed Ali Shahbaz authored and GitHub committed 2023-02-07 08:41:08 -07:00
1 parent 3517ef6adc
commit 279c3da21f
6 files changed
+183 -33

No files matched your search

+10 -10
View File
@@ -46,7 +46,7 @@ import { schemaUserCreateBodyParams } from "~/lib/validations/user";
* description: Start of the week. Acceptable values are one of [SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY]
* type: string
* timeZone:
* description: The new user's time zone
* description: The new user's time zone. Eg: 'EUROPE/PARIS'
* type: string
* theme:
* description: Default theme for the new user. Acceptable values are one of [DARK, LIGHT]
@@ -61,15 +61,15 @@ import { schemaUserCreateBodyParams } from "~/lib/validations/user";
* user:
* summary: An example of USER
* value:
* email: [email protected]
* username: johndoe
* weekStart: MONDAY
* brandColor: #555555
* darkBrandColor: #111111
* timeZone: EUROPE/PARIS
* theme: LIGHT
* timeFormat: TWELVE
* locale: FR
* email: '[email protected]'
* username: 'johndoe'
* weekStart: 'MONDAY'
* brandColor: '#555555'
* darkBrandColor: '#111111'
* timeZone: 'EUROPE/PARIS'
* theme: 'LIGHT'
* timeFormat: 'TWELVE'
* locale: 'FR'
* tags:
* - users
* responses: