From ff78c3fcd744404f8349ad58f9fd5b637c25ed37 Mon Sep 17 00:00:00 2001 From: Eric Fredin Date: Wed, 26 Jun 2024 15:41:18 -0600 Subject: [PATCH] fix: use spec servers --- .../openapi/openapi-overrides.yml | 15 ------------- .../fine-tuning/openapi/openapi-overrides.yml | 15 ------------- .../image-gen/openapi/openapi-overrides.yml | 21 ------------------- .../text-gen/openapi/openapi-overrides.yml | 6 ------ 4 files changed, 57 deletions(-) diff --git a/fern/apis/asset-library/openapi/openapi-overrides.yml b/fern/apis/asset-library/openapi/openapi-overrides.yml index 96a28ca..32b34f4 100644 --- a/fern/apis/asset-library/openapi/openapi-overrides.yml +++ b/fern/apis/asset-library/openapi/openapi-overrides.yml @@ -6,32 +6,17 @@ paths: /v1/assets: get: x-fern-sdk-method-name: list - servers: - - url: https://api.octoai.cloud - x-name: Default post: x-fern-sdk-method-name: create - servers: - - url: https://api.octoai.cloud - x-name: Default /v1/assets/{asset_id}: delete: x-fern-sdk-method-name: delete - servers: - - url: https://api.octoai.cloud - x-name: Default /v1/assets/{asset_id}/complete-upload: post: x-fern-sdk-method-name: completeUpload - servers: - - url: https://api.octoai.cloud - x-name: Default /v1/assets/{asset_owner_and_name_or_id}: get: x-fern-sdk-method-name: get - servers: - - url: https://api.octoai.cloud - x-name: Default components: securitySchemes: BearerAuth: diff --git a/fern/apis/fine-tuning/openapi/openapi-overrides.yml b/fern/apis/fine-tuning/openapi/openapi-overrides.yml index db2b4c2..88b4130 100644 --- a/fern/apis/fine-tuning/openapi/openapi-overrides.yml +++ b/fern/apis/fine-tuning/openapi/openapi-overrides.yml @@ -6,32 +6,17 @@ paths: /v1/tune: post: x-fern-sdk-method-name: create - servers: - - url: https://api.octoai.cloud - x-name: Default /v1/tune/{tune_id}: get: x-fern-sdk-method-name: get - servers: - - url: https://api.octoai.cloud - x-name: Default delete: x-fern-sdk-method-name: delete - servers: - - url: https://api.octoai.cloud - x-name: Default /v1/tune/{tune_id}/cancel: post: x-fern-sdk-method-name: cancel - servers: - - url: https://api.octoai.cloud - x-name: Default /v1/tunes: get: x-fern-sdk-method-name: list - servers: - - url: https://api.octoai.cloud - x-name: Default components: schemas: LoraTune-Input: diff --git a/fern/apis/image-gen/openapi/openapi-overrides.yml b/fern/apis/image-gen/openapi/openapi-overrides.yml index d3c8db2..60d9f18 100644 --- a/fern/apis/image-gen/openapi/openapi-overrides.yml +++ b/fern/apis/image-gen/openapi/openapi-overrides.yml @@ -6,51 +6,30 @@ paths: post: summary: "Generate ControlNet SDXL" x-fern-sdk-method-name: generateControlnetSdxl - servers: - - url: https://image.octoai.run - x-name: ImageGen /generate/controlnet-sd15: post: summary: "Generate ControlNet SD1.5" x-fern-sdk-method-name: generateControlnetSd15 - servers: - - url: https://image.octoai.run - x-name: ImageGen /generate/sdxl: post: summary: "Generate SDXL" x-fern-sdk-method-name: generateSdxl - servers: - - url: https://image.octoai.run - x-name: ImageGen /generate/sd: post: summary: "Generate SD1.5" x-fern-sdk-method-name: generateSd - servers: - - url: https://image.octoai.run - x-name: ImageGen /generate/sd3: post: summary: "Generate SD3" x-fern-sdk-method-name: generateSd3 - servers: - - url: https://image.octoai.run - x-name: ImageGen /generate/svd: post: summary: "Generate SVD Animations" x-fern-sdk-method-name: generateSvd - servers: - - url: https://image.octoai.run - x-name: ImageGen /generate/ip-adapter-sdxl: post: summary: "IP Adapter" x-fern-sdk-method-name: ip_adapter - servers: - - url: https://image.octoai.run - x-name: ImageGen # Hide healthcheck /healthcheck: get: diff --git a/fern/apis/text-gen/openapi/openapi-overrides.yml b/fern/apis/text-gen/openapi/openapi-overrides.yml index 9942070..5751a07 100644 --- a/fern/apis/text-gen/openapi/openapi-overrides.yml +++ b/fern/apis/text-gen/openapi/openapi-overrides.yml @@ -9,9 +9,6 @@ paths: $ref: "#/components/schemas/ChatCompletionResponse" response-stream: $ref: "#/components/schemas/ChatCompletionChunk" - servers: - - url: https://text.octoai.run - x-name: TextGen /v1/completions: post: x-fern-sdk-method-name: createCompletion @@ -22,9 +19,6 @@ paths: $ref: "#/components/schemas/CompletionResponse" response-stream: $ref: "#/components/schemas/CompletionResponse" - servers: - - url: https://text.octoai.run - x-name: TextGen components: securitySchemes: BearerAuth: