Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use spec servers #78

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions fern/apis/asset-library/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
15 changes: 0 additions & 15 deletions fern/apis/fine-tuning/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
21 changes: 0 additions & 21 deletions fern/apis/image-gen/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 0 additions & 6 deletions fern/apis/text-gen/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
Loading