Event type swagger update for location type (#252)

Updates Location Type documentation in swagger for event type _post and
_patch
This commit is contained in:
Syed Ali Shahbaz
2023-03-21 10:32:48 -07:00
committed by GitHub
parent 8aa004c34a
commit 386ad87e64
2 changed files with 62 additions and 2 deletions
+31 -1
View File
@@ -147,7 +147,37 @@ import checkTeamEventEditPermission from "../_utils/checkTeamEventEditPermission
* type: array
* description: A list of all available locations for the event type
* items:
* type: object
* type: array
* items:
* oneOf:
* - type: object
* properties:
* type:
* type: string
* enum: ['integrations:daily']
* - type: object
* properties:
* type:
* type: string
* enum: ['attendeeInPerson']
* - type: object
* properties:
* type:
* type: string
* enum: ['inPerson']
* address:
* type: string
* displayLocationPublicly:
* type: boolean
* - type: object
* properties:
* type:
* type: string
* enum: ['link']
* link:
* type: string
* displayLocationPublicly:
* type: boolean
* example:
* event-type:
* summary: An example of event type PATCH request
+31 -1
View File
@@ -137,7 +137,37 @@ import ensureOnlyMembersAsHosts from "./_utils/ensureOnlyMembersAsHosts";
* type: array
* description: A list of all available locations for the event type
* items:
* type: object
* type: array
* items:
* oneOf:
* - type: object
* properties:
* type:
* type: string
* enum: ['integrations:daily']
* - type: object
* properties:
* type:
* type: string
* enum: ['attendeeInPerson']
* - type: object
* properties:
* type:
* type: string
* enum: ['inPerson']
* address:
* type: string
* displayLocationPublicly:
* type: boolean
* - type: object
* properties:
* type:
* type: string
* enum: ['link']
* link:
* type: string
* displayLocationPublicly:
* type: boolean
* example:
* event-type:
* summary: An example of event type POST request