Skip to content

Commit c92f945

Browse files
chore(typescript): sync thing model json schema from wot-thing-description.git
1 parent b09d5f6 commit c92f945

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

typescript/thing-model/schema/tm-json-schema-validation.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,8 +1756,7 @@
17561756
{
17571757
"enum": [
17581758
"code",
1759-
"client",
1760-
"device"
1759+
"client"
17611760
]
17621761
},
17631762
{
@@ -2054,4 +2053,4 @@
20542053
"@context",
20552054
"@type"
20562055
]
2057-
}
2056+
}

typescript/thing-model/thing-model.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ export interface OAuth2SecurityScheme {
538538
token?: AnyUri;
539539
refresh?: AnyUri;
540540
scopes?: string[] | string;
541-
flow?: string | ((("code" | "client" | "device") | PlaceholderPattern) & string);
541+
flow?: string | ((("code" | "client") | PlaceholderPattern) & string);
542542
"tm:ref"?: TmRef;
543543
[k: string]: unknown;
544544
}

0 commit comments

Comments
 (0)