From 9e5273da2c581f0ca34c57777b2e6cbf4722b61f Mon Sep 17 00:00:00 2001 From: Steve Chan Date: Wed, 30 Apr 2025 14:39:40 +1000 Subject: [PATCH 1/2] Halve warnings quantity [SA-19565] --- openapi/openapi.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 53bc7eb9..610255f3 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -153,7 +153,6 @@ paths: /discussion/{contextType}/{contextId}/comments/{id}/comments: $ref: 'paths/discussion@{contextType}@{contextId}@comments@{id}@comments.yaml' - /api/session: $ref: 'paths/api@session.yaml' @@ -202,9 +201,6 @@ paths: /news/lists/folder/{id}: $ref: 'paths/news@lists@folder@{id}.yaml' - /calendar/event/attendance/{id}: - $ref: 'paths/calendar@event@attendance@{id}.yaml' - /calendar/event/create: $ref: 'paths/calendar@event@create.yaml' @@ -217,6 +213,9 @@ paths: /calendar/event/{id}/delete: $ref: 'paths/calendar@event@{id}@delete.yaml' + /calendar/event/attendance/{id}: + $ref: 'paths/calendar@event@attendance@{id}.yaml' + /calendar/event/attendance/{id}/create: $ref: 'paths/calendar@event@attendance@{id}@create.yaml' From 254597b58820ee4847b0d3d6cbfb766d3aded303 Mon Sep 17 00:00:00 2001 From: Steve Chan Date: Wed, 30 Apr 2025 15:08:40 +1000 Subject: [PATCH 2/2] Remove random Events section [SA-19565] --- openapi/paths/calendar@event@attendance@{id}.yaml | 2 +- openapi/paths/calendar@event@attendance@{id}@accept.yaml | 2 +- openapi/paths/calendar@event@attendance@{id}@create.yaml | 2 +- openapi/paths/calendar@event@attendance@{id}@decline.yaml | 2 +- openapi/paths/calendar@event@attendance@{id}@delete.yaml | 2 +- openapi/paths/calendar@event@create.yaml | 2 +- openapi/paths/calendar@event@{id}@delete.yaml | 2 +- openapi/paths/calendar@event@{id}@modify.yaml | 2 +- openapi/paths/calendar@event@{id}@move.yaml | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/openapi/paths/calendar@event@attendance@{id}.yaml b/openapi/paths/calendar@event@attendance@{id}.yaml index 1b9d9ef2..59264603 100644 --- a/openapi/paths/calendar@event@attendance@{id}.yaml +++ b/openapi/paths/calendar@event@attendance@{id}.yaml @@ -1,6 +1,6 @@ get: operationId: getCalendarEventAttendance - tags: [calendar, event] + tags: [calendar] summary: Get an event's attendees description: | This will return a list of people that have been invited or RSVP to an an event. It will include the status of their invitation and if they have accepted the invitation. diff --git a/openapi/paths/calendar@event@attendance@{id}@accept.yaml b/openapi/paths/calendar@event@attendance@{id}@accept.yaml index 94e72aba..145af3ab 100644 --- a/openapi/paths/calendar@event@attendance@{id}@accept.yaml +++ b/openapi/paths/calendar@event@attendance@{id}@accept.yaml @@ -1,6 +1,6 @@ post: operationId: postCalendarEventAttendanceAccept - tags: [calendar, event] + tags: [calendar] summary: Accept event invitation description: | This allows a user to accept an invitation. Note that not all events will allow the user to accept an invitation. They must either have been invited, or have the ability to invite themselves. diff --git a/openapi/paths/calendar@event@attendance@{id}@create.yaml b/openapi/paths/calendar@event@attendance@{id}@create.yaml index cf1e9e0b..706f8e25 100644 --- a/openapi/paths/calendar@event@attendance@{id}@create.yaml +++ b/openapi/paths/calendar@event@attendance@{id}@create.yaml @@ -1,6 +1,6 @@ post: operationId: postCalendarEventAttendanceCreate - tags: [calendar, event] + tags: [calendar] summary: Invite attendees to an event description: | Create invitations to the given event, for the given set of users. diff --git a/openapi/paths/calendar@event@attendance@{id}@decline.yaml b/openapi/paths/calendar@event@attendance@{id}@decline.yaml index 6494b399..8eea69b3 100644 --- a/openapi/paths/calendar@event@attendance@{id}@decline.yaml +++ b/openapi/paths/calendar@event@attendance@{id}@decline.yaml @@ -1,6 +1,6 @@ post: operationId: postCalendarEventAttendanceDecline - tags: [calendar, event] + tags: [calendar] summary: Decline event invitation description: | As the authenticated user, declines the invitation to attend the given diff --git a/openapi/paths/calendar@event@attendance@{id}@delete.yaml b/openapi/paths/calendar@event@attendance@{id}@delete.yaml index cb8e2bd1..2619e08f 100644 --- a/openapi/paths/calendar@event@attendance@{id}@delete.yaml +++ b/openapi/paths/calendar@event@attendance@{id}@delete.yaml @@ -1,6 +1,6 @@ post: operationId: postCalendarEventAttendanceDelete - tags: [calendar, event] + tags: [calendar] summary: Uninvite attendees from an event description: | Deletes invitations to the given event, for the given user. diff --git a/openapi/paths/calendar@event@create.yaml b/openapi/paths/calendar@event@create.yaml index 2951ee1a..4296f4ab 100644 --- a/openapi/paths/calendar@event@create.yaml +++ b/openapi/paths/calendar@event@create.yaml @@ -1,6 +1,6 @@ post: operationId: calendarEvent.postCreate - tags: [calendar, event] + tags: [calendar] summary: Create a calendar event description: | Creates a calendar event diff --git a/openapi/paths/calendar@event@{id}@delete.yaml b/openapi/paths/calendar@event@{id}@delete.yaml index 522a5633..05b5d3c9 100644 --- a/openapi/paths/calendar@event@{id}@delete.yaml +++ b/openapi/paths/calendar@event@{id}@delete.yaml @@ -2,7 +2,7 @@ parameters: - $ref: ../components/parameters/id.yaml post: operationId: calendarEvent.postDelete - tags: [calendar, event] + tags: [calendar] summary: Delete a calendar event description: | Deletes a calendar event diff --git a/openapi/paths/calendar@event@{id}@modify.yaml b/openapi/paths/calendar@event@{id}@modify.yaml index 13001e23..2fed7c78 100644 --- a/openapi/paths/calendar@event@{id}@modify.yaml +++ b/openapi/paths/calendar@event@{id}@modify.yaml @@ -2,7 +2,7 @@ parameters: - $ref: ../components/parameters/id.yaml post: operationId: calendarEvent.postModify - tags: [calendar, event] + tags: [calendar] summary: Modify a calendar event description: | Modifies a calendar event diff --git a/openapi/paths/calendar@event@{id}@move.yaml b/openapi/paths/calendar@event@{id}@move.yaml index 00bf0430..e935c966 100644 --- a/openapi/paths/calendar@event@{id}@move.yaml +++ b/openapi/paths/calendar@event@{id}@move.yaml @@ -2,7 +2,7 @@ parameters: - $ref: ../components/parameters/id.yaml post: operationId: calendarEvent.postMove - tags: [calendar, event] + tags: [calendar] summary: Move a calendar event description: | Moves a calendar event