From 1a9586f48506bd544315f6603218d442f602f976 Mon Sep 17 00:00:00 2001 From: yasser-aboelgheit-intercom Date: Wed, 21 Oct 2026 16:43:00 +0100 Subject: [PATCH 1/2] Point Preview SDK request body overrides at schemas that exist Co-Authored-By: Claude Opus 5.5 (1M context) --- fern/preview-openapi-overrides.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fern/preview-openapi-overrides.yml b/fern/preview-openapi-overrides.yml index 0f3b5843..ef37411a 100644 --- a/fern/preview-openapi-overrides.yml +++ b/fern/preview-openapi-overrides.yml @@ -19,7 +19,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateArticleRequestBody' + $ref: '#/components/schemas/create_article_request' '/articles/{id}': put: null '/articles/{article_id}/versions': @@ -51,21 +51,21 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/CreateOrUpdateCompanyRequestBody' + $ref: '#/components/schemas/create_or_update_company_request' '/phone_call_redirects': post: requestBody: content: application/json: schema: - $ref: '#/components/schemas/CreatePhoneSwitchRequestBody' + $ref: '#/components/schemas/create_phone_switch_request' '/ticket_types': post: requestBody: content: application/json: schema: - $ref: '#/components/schemas/CreateTicketTypeRequestBody' + $ref: '#/components/schemas/create_ticket_type_request' '/contacts/{id}/companies': post: requestBody: From ec6eb2eadab711b0c55cc1989c6317427d04517e Mon Sep 17 00:00:00 2001 From: yasser-aboelgheit-intercom Date: Wed, 21 Oct 2026 17:41:30 +0100 Subject: [PATCH 2/2] Remove Preview request body overrides that repeat the spec Co-Authored-By: Claude Opus 5.5 (1M context) --- fern/preview-openapi-overrides.yml | 42 ------------------------------ 1 file changed, 42 deletions(-) diff --git a/fern/preview-openapi-overrides.yml b/fern/preview-openapi-overrides.yml index ef37411a..dab38b78 100644 --- a/fern/preview-openapi-overrides.yml +++ b/fern/preview-openapi-overrides.yml @@ -1,25 +1,4 @@ paths: - '/data_attributes': - post: - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/CreateDataAttributeRequest' - '/data_attributes/{id}': - put: - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/UpdateDataAttributeRequest' - '/articles': - post: - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/create_article_request' '/articles/{id}': put: null '/articles/{article_id}/versions': @@ -45,27 +24,6 @@ paths: get: null '/download/reporting_data/{job_identifier}': get: null - '/companies': - post: - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/create_or_update_company_request' - '/phone_call_redirects': - post: - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/create_phone_switch_request' - '/ticket_types': - post: - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/create_ticket_type_request' '/contacts/{id}/companies': post: requestBody: