Skip to content

Commit

Permalink
Update the OpenAPI spec with gcalendar package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuvindu committed Dec 19, 2023
1 parent 72e5c42 commit 8bf168a
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions docs/spec/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Calendar"
description: A `calendar:Calendar` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Calendar` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand All @@ -81,7 +81,7 @@ paths:
type: string
responses:
"200":
description: If successful `()`, otherwise an `calendar:Error`
description: If successful `()`, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand All @@ -105,7 +105,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Calendar"
description: A `calendar:Calendar` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Calendar` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -146,7 +146,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Calendar"
description: A `calendar:Calendar` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Calendar` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -176,7 +176,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Calendar"
description: A `calendar:Calendar` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Calendar` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -226,7 +226,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Acl"
description: A `calendar:Acl` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Acl` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -268,7 +268,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/AclRule"
description: A `calendar:AclRule` if successful, otherwise an `calendar:Error`
description: A `gcalendar:AclRule` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand All @@ -295,7 +295,7 @@ paths:
type: string
responses:
"200":
description: If successful `()`, otherwise an `calendar:Error`
description: If successful `()`, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -325,7 +325,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/AclRule"
description: A `calendar:AclRule` if successful, otherwise an `calendar:Error`
description: A `gcalendar:AclRule` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -377,7 +377,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/AclRule"
description: A `calendar:AclRule` if successful, otherwise an `calendar:Error`
description: A `gcalendar:AclRule` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -418,7 +418,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/AclRule"
description: A `calendar:AclRule` if successful, otherwise an `calendar:Error`
description: A `gcalendar:AclRule` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -446,7 +446,7 @@ paths:
type: string
responses:
"200":
description: If successful `()`, otherwise an `calendar:Error`
description: If successful `()`, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -596,7 +596,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Events"
description: A `calendar:Events` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Events` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -672,7 +672,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Event"
description: A `calendar:Event` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Event` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -726,7 +726,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Event"
description: A `calendar:Event` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Event` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -777,7 +777,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Event"
description: A `calendar:Event` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Event` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -817,7 +817,7 @@ paths:
type: string
responses:
"200":
description: if successful `()`, otherwise an `calendar:Error`
description: if successful `()`, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -862,7 +862,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Event"
description: A `calendar:Event` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Event` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -944,7 +944,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Event"
description: A `calendar:Event` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Event` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1011,7 +1011,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Event"
description: A `calendar:Event` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Event` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1088,7 +1088,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Events"
description: A `calendar:Events` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Events` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1162,7 +1162,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Event"
description: A `calendar:Event` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Event` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand All @@ -1184,7 +1184,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/Colors"
description: A `calendar:Colors` if successful, otherwise an `calendar:Error`
description: A `gcalendar:Colors` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1228,7 +1228,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/FreeBusyResponse"
description: A `calendar:FreeBusyResponse` if successful, otherwise an `calendar:Error`
description: A `gcalendar:FreeBusyResponse` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1292,7 +1292,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/CalendarList"
description: A `calendar:CalendarList` if successful, otherwise an `calendar:Error`
description: A `gcalendar:CalendarList` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1333,7 +1333,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/CalendarListEntry"
description: A `calendar:CalendarListEntry` if successful, otherwise an `calendar:Error`
description: A `gcalendar:CalendarListEntry` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand All @@ -1354,7 +1354,7 @@ paths:
type: string
responses:
"200":
description: If successful `()`, otherwise an `calendar:Error`
description: If successful `()`, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand All @@ -1378,7 +1378,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/CalendarListEntry"
description: A `calendar:CalendarListEntry` if successful, otherwise an `calendar:Error`
description: A `gcalendar:CalendarListEntry` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1425,7 +1425,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/CalendarListEntry"
description: A `calendar:CalendarListEntry` if successful, otherwise an `calendar:Error`
description: A `gcalendar:CalendarListEntry` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1460,7 +1460,7 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/CalendarListEntry"
description: A `calendar:CalendarListEntry` if successful, otherwise an `calendar:Error`
description: A `gcalendar:CalendarListEntry` if successful, otherwise an `gcalendar:Error`
security:
- Oauth2:
- https://www.googleapis.com/auth/calendar
Expand Down Expand Up @@ -1724,7 +1724,7 @@ components:
type: object
Colors:
properties:
calendar:
gcalendar:
additionalProperties:
$ref: "#/components/schemas/ColorDefinition"
description: A calendar color definition.
Expand Down Expand Up @@ -2472,7 +2472,7 @@ components:
implicit:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
scopes:
https://www.googleapis.com/auth/calendar: See, edit, share, and permanently delete all the calendars you can access using Google Calendar
https://www.googleapis.com/auth/gcalendar: See, edit, share, and permanently delete all the calendars you can access using Google Calendar
https://www.googleapis.com/auth/calendar.events: View and edit events on all your calendars
https://www.googleapis.com/auth/calendar.events.readonly: View events on all your calendars
https://www.googleapis.com/auth/calendar.readonly: See and download any calendar you can access using your Google Calendar
Expand All @@ -2483,7 +2483,7 @@ components:
authorizationCode:
authorizationUrl: https://accounts.google.com/o/oauth2/auth
scopes:
https://www.googleapis.com/auth/calendar: See, edit, share, and permanently delete all the calendars you can access using Google Calendar
https://www.googleapis.com/auth/gcalendar: See, edit, share, and permanently delete all the calendars you can access using Google Calendar
https://www.googleapis.com/auth/calendar.events: View and edit events on all your calendars
https://www.googleapis.com/auth/calendar.events.readonly: View events on all your calendars
https://www.googleapis.com/auth/calendar.readonly: See and download any calendar you can access using your Google Calendar
Expand Down

0 comments on commit 8bf168a

Please sign in to comment.