-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: extract tabby-openapi. (#2342)
- Loading branch information
Showing
15 changed files
with
167 additions
and
442 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
import { | ||
paths as _paths, | ||
webhooks as _webhooks, | ||
components as _components, | ||
$defs as _$defs, | ||
external as _external, | ||
operations as _operations, | ||
} from "../lib"; | ||
|
||
export interface paths extends _paths { | ||
"/v1/health": _paths["/v1/health"] & { | ||
// backward compatible for Tabby server 0.2.x and earlier | ||
post: operations["health"]; | ||
}; | ||
// backward compatible for Tabby server 0.10.x and earlier | ||
"/v1beta/chat/completions": { | ||
post: operations["chat_completions"]; | ||
}; | ||
} | ||
|
||
export type webhooks = _webhooks; | ||
export type components = _components; | ||
export type $defs = _$defs; | ||
export type external = _external; | ||
|
||
export interface operations extends _operations { | ||
event: _operations["event"] & { | ||
// Add a query parameter to specify the select kind | ||
parameters: { | ||
query: { | ||
select_kind?: string | null; | ||
}; | ||
}; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.