Skip to content

Commit 6360f79

Browse files
Merge pull request #1734 from kubeflow/main
[pull] main from kubeflow:main
2 parents 7634202 + bd07139 commit 6360f79

70 files changed

Lines changed: 2185 additions & 676 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

api/openapi/catalog.yaml

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ components:
736736
it must be unique among all the artifacts of the same artifact type within
737737
a database instance and cannot be changed once set.
738738
type: string
739+
minLength: 1
739740
id:
740741
format: int64
741742
description: The unique server generated id of the resource.
@@ -1711,6 +1712,7 @@ components:
17111712
MetadataBoolValue:
17121713
description: A bool property value.
17131714
type: object
1715+
additionalProperties: false
17141716
required:
17151717
- metadataType
17161718
- bool_value
@@ -1719,11 +1721,13 @@ components:
17191721
type: boolean
17201722
metadataType:
17211723
type: string
1722-
example: MetadataBoolValue
1724+
enum:
1725+
- MetadataBoolValue
17231726
default: MetadataBoolValue
17241727
MetadataDoubleValue:
17251728
description: A double property value.
17261729
type: object
1730+
additionalProperties: false
17271731
required:
17281732
- metadataType
17291733
- double_value
@@ -1733,25 +1737,30 @@ components:
17331737
type: number
17341738
metadataType:
17351739
type: string
1736-
example: MetadataDoubleValue
1740+
enum:
1741+
- MetadataDoubleValue
17371742
default: MetadataDoubleValue
17381743
MetadataIntValue:
1739-
description: An integer (int64) property value.
1744+
description: An integer (int32) property value.
17401745
type: object
1746+
additionalProperties: false
17411747
required:
17421748
- metadataType
17431749
- int_value
17441750
properties:
17451751
int_value:
1746-
format: int64
1752+
format: int32
17471753
type: string
1754+
pattern: "^-?([1-9][0-9]{0,8}|0)$"
17481755
metadataType:
17491756
type: string
1750-
example: MetadataIntValue
1757+
enum:
1758+
- MetadataIntValue
17511759
default: MetadataIntValue
17521760
MetadataProtoValue:
17531761
description: A proto property value.
17541762
type: object
1763+
additionalProperties: false
17551764
required:
17561765
- metadataType
17571766
- type
@@ -1763,13 +1772,16 @@ components:
17631772
proto_value:
17641773
description: Base64 encoded bytes for proto value
17651774
type: string
1775+
format: byte
17661776
metadataType:
17671777
type: string
1768-
example: MetadataProtoValue
1778+
enum:
1779+
- MetadataProtoValue
17691780
default: MetadataProtoValue
17701781
MetadataStringValue:
17711782
description: A string property value.
17721783
type: object
1784+
additionalProperties: false
17731785
required:
17741786
- metadataType
17751787
- string_value
@@ -1778,21 +1790,25 @@ components:
17781790
type: string
17791791
metadataType:
17801792
type: string
1781-
example: MetadataStringValue
1793+
enum:
1794+
- MetadataStringValue
17821795
default: MetadataStringValue
17831796
MetadataStructValue:
17841797
description: A struct property value.
17851798
type: object
1799+
additionalProperties: false
17861800
required:
17871801
- metadataType
17881802
- struct_value
17891803
properties:
17901804
struct_value:
17911805
description: Base64 encoded bytes for struct value
17921806
type: string
1807+
format: byte
17931808
metadataType:
17941809
type: string
1795-
example: MetadataStructValue
1810+
enum:
1811+
- MetadataStructValue
17961812
default: MetadataStructValue
17971813
MetadataValue:
17981814
oneOf:
@@ -2081,6 +2097,7 @@ components:
20812097
- `(license = "Apache 2.0" OR license = "MIT") AND verifiedSource = true`
20822098
schema:
20832099
type: string
2100+
pattern: "^[\\x20-\\x7E]*$"
20842101
in: query
20852102
required: false
20862103
mcpToolFilterQuery:
@@ -2105,6 +2122,7 @@ components:
21052122
- `(accessType = "read_only" OR accessType = "execute") AND name LIKE "%model%"`
21062123
schema:
21072124
type: string
2125+
pattern: "^[\\x20-\\x7E]*$"
21082126
in: query
21092127
required: false
21102128
filterQuery:
@@ -2142,6 +2160,7 @@ components:
21422160
- Escaped property: `` `mlflow.source.type` = "notebook" ``
21432161
schema:
21442162
type: string
2163+
pattern: "^[\\x20-\\x7E]*$"
21452164
in: query
21462165
required: false
21472166
artifactFilterQuery:
@@ -2179,6 +2198,7 @@ components:
21792198
- Escaped property: `` `custom-key` = "value" ``
21802199
schema:
21812200
type: string
2201+
pattern: "^[\\x20-\\x7E]*$"
21822202
in: query
21832203
required: false
21842204
orderBy:
@@ -2337,6 +2357,8 @@ components:
23372357
description: The ID of resource.
23382358
schema:
23392359
type: string
2360+
format: int64
2361+
pattern: "^[1-9][0-9]{0,8}$"
23402362
in: path
23412363
required: true
23422364
name:
@@ -2347,6 +2369,7 @@ components:
23472369
description: Name of entity to search.
23482370
schema:
23492371
type: string
2372+
pattern: "^[\\x20-\\x7E]+$"
23502373
in: query
23512374
required: false
23522375
externalId:
@@ -2357,6 +2380,7 @@ components:
23572380
description: External ID of entity to search.
23582381
schema:
23592382
type: string
2383+
pattern: "^[\\x20-\\x7E]+$"
23602384
in: query
23612385
required: false
23622386
parentResourceId:
@@ -2367,21 +2391,26 @@ components:
23672391
description: ID of the parent resource to use for search.
23682392
schema:
23692393
type: string
2394+
format: int64
2395+
pattern: "^[1-9][0-9]{0,8}$"
23702396
in: query
23712397
required: false
23722398
pageSize:
23732399
examples:
23742400
pageSize:
2375-
value: "100"
2401+
value: 100
23762402
name: pageSize
23772403
description: Number of entities in each page.
23782404
schema:
23792405
type: string
2406+
format: int32
2407+
pattern: "^[1-9][0-9]{0,8}$"
23802408
in: query
23812409
required: false
23822410
nextPageToken:
23832411
name: nextPageToken
2384-
description: Token to use to retrieve next page of results.
2412+
description: >-
2413+
Opaque pagination token returned by a previous list call. Do not construct manually; use the value from a prior response's nextPageToken field.
23852414
schema:
23862415
type: string
23872416
in: query
@@ -2408,6 +2437,7 @@ components:
24082437
description: "Comma-separated list of step IDs to filter metrics by."
24092438
schema:
24102439
type: string
2440+
pattern: "^[0-9]{1,9}(,[0-9]{1,9})*$"
24112441
in: query
24122442
required: false
24132443
securitySchemes:

0 commit comments

Comments
 (0)