Event type swagger update for location type (#252)

Updates Location Type documentation in swagger for event type _post and
_patch
pull/9078/head
Syed Ali Shahbaz 2023-03-21 23:02:48 +05:30 committed by GitHub
parent 8aa004c34a
commit 386ad87e64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 62 additions and 2 deletions

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

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