Register IconTheme in OpenAPI schema after rmcp 1.5.0 upgrade (#8621)
Signed-off-by: jh-block <jhugo@block.xyz>
This commit is contained in:
@@ -5549,9 +5549,35 @@
|
||||
},
|
||||
"src": {
|
||||
"type": "string"
|
||||
},
|
||||
"theme": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/IconTheme"
|
||||
},
|
||||
{
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"IconTheme": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"light"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"dark"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"ImageContent": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -549,8 +549,13 @@ export type Icon = {
|
||||
mimeType?: string;
|
||||
sizes?: Array<string>;
|
||||
src: string;
|
||||
theme?: IconTheme | {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
};
|
||||
|
||||
export type IconTheme = 'light' | 'dark';
|
||||
|
||||
export type ImageContent = {
|
||||
_meta?: {
|
||||
[key: string]: unknown;
|
||||
|
||||
Reference in New Issue
Block a user