Skip to content

Commit c049854

Browse files
committed
feat: add case-insensitive description
Signed-off-by: Alessio Pragliola <seth.pro@gmail.com>
1 parent 3958a5b commit c049854

3 files changed

Lines changed: 14 additions & 2 deletions

File tree

api/openapi/catalog.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,13 +507,19 @@ components:
507507
Optional allow-list of models that are eligible for this source. Entries can be
508508
exact model names or patterns that use `*` as a wildcard. When provided, only
509509
models matching at least one pattern are considered.
510+
511+
Pattern matching is case-insensitive, so `Granite/*` will match `granite/model`,
512+
`Granite/model`, and `GRANITE/model`.
510513
type: array
511514
items:
512515
type: string
513516
excludedModels:
514517
description: |-
515518
Optional block-list of models that should be removed from the catalog even if
516519
they match `includedModels`. Patterns support the `*` wildcard.
520+
521+
Pattern matching is case-insensitive, so `*-beta` will match `Model-Beta`,
522+
`model-beta`, and `MODEL-BETA`.
517523
type: array
518524
items:
519525
type: string

api/openapi/src/catalog.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,13 +390,19 @@ components:
390390
Optional allow-list of models that are eligible for this source. Entries can be
391391
exact model names or patterns that use `*` as a wildcard. When provided, only
392392
models matching at least one pattern are considered.
393+
394+
Pattern matching is case-insensitive, so `Granite/*` will match `granite/model`,
395+
`Granite/model`, and `GRANITE/model`.
393396
type: array
394397
items:
395398
type: string
396399
excludedModels:
397400
description: |-
398401
Optional block-list of models that should be removed from the catalog even if
399402
they match `includedModels`. Patterns support the `*` wildcard.
403+
404+
Pattern matching is case-insensitive, so `*-beta` will match `Model-Beta`,
405+
`model-beta`, and `MODEL-BETA`.
400406
type: array
401407
items:
402408
type: string

catalog/pkg/openapi/model_catalog_source.go

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

0 commit comments

Comments
 (0)