Skip to content

Commit e8cae58

Browse files
committed
udate docs and tests e2e
1 parent 0fecf63 commit e8cae58

File tree

3 files changed

+28
-28
lines changed

3 files changed

+28
-28
lines changed

internal/api/docs/openapi.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,6 +1276,17 @@ components:
12761276
name:
12771277
type: string
12781278
type: object
1279+
BrickConfigVariable:
1280+
properties:
1281+
description:
1282+
type: string
1283+
name:
1284+
type: string
1285+
required:
1286+
type: boolean
1287+
value:
1288+
type: string
1289+
type: object
12791290
BrickCreateUpdateRequest:
12801291
properties:
12811292
model:
@@ -1327,7 +1338,7 @@ components:
13271338
type: string
13281339
config_variables:
13291340
items:
1330-
$ref: '#/components/schemas/BrickInstanceVariable'
1341+
$ref: '#/components/schemas/BrickConfigVariable'
13311342
type: array
13321343
id:
13331344
type: string
@@ -1344,17 +1355,6 @@ components:
13441355
for backward compatibility.'
13451356
type: object
13461357
type: object
1347-
BrickInstanceVariable:
1348-
properties:
1349-
description:
1350-
type: string
1351-
name:
1352-
type: string
1353-
required:
1354-
type: boolean
1355-
value:
1356-
type: string
1357-
type: object
13581358
BrickListItem:
13591359
properties:
13601360
author:

internal/e2e/client/client.gen.go

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/e2e/daemon/instance_bricks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const (
3737
)
3838

3939
var (
40-
expectedConfigVariables = []client.BrickInstanceVariable{
40+
expectedConfigVariables = []client.BrickConfigVariable{
4141
{
4242
Description: f.Ptr("path to the custom model directory"),
4343
Name: f.Ptr("CUSTOM_MODEL_PATH"),

0 commit comments

Comments
 (0)