From b111b07d72682cc1035dd2e590fbcef52cf65ce2 Mon Sep 17 00:00:00 2001 From: Conicaw Date: Wed, 24 Apr 2024 17:06:37 -0500 Subject: [PATCH] fix(notifications): include the notification details schemas Include the notification details schemas manually since they aren't referenced directly anywhere else. Fixes: #317 --- openapi/components/schemas/_index.yaml | 10 ++++++++++ openapi/openapi.yaml | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 openapi/components/schemas/_index.yaml diff --git a/openapi/components/schemas/_index.yaml b/openapi/components/schemas/_index.yaml new file mode 100644 index 00000000..2e97e957 --- /dev/null +++ b/openapi/components/schemas/_index.yaml @@ -0,0 +1,10 @@ +NotificationDetailInvite: + $ref: ./NotificationDetailInvite.yaml +NotificationDetailInviteResponse: + $ref: ./NotificationDetailInviteResponse.yaml +NotificationDetailRequestInvite: + $ref: ./NotificationDetailRequestInvite.yaml +NotificationDetailRequestInviteResponse: + $ref: ./NotificationDetailRequestInviteResponse.yaml +NotificationDetailVoteToKick: + $ref: ./NotificationDetailVoteToKick.yaml \ No newline at end of file diff --git a/openapi/openapi.yaml b/openapi/openapi.yaml index 72dedf1e..421d7e09 100644 --- a/openapi/openapi.yaml +++ b/openapi/openapi.yaml @@ -16,7 +16,8 @@ servers: paths: $ref: ./components/paths.yaml components: - schemas: {} + schemas: + $ref: ./components/schemas/_index.yaml securitySchemes: $ref: ./components/securitySchemes.yaml responses: {}