Skip to content

Commit

Permalink
feat: add title, name && desc to open openapi struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Vickysomtee committed Apr 29, 2024
1 parent 237a9b0 commit 67f31fe
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,9 +615,13 @@ func templateCondition(condition []byte, ctx map[string]engine.ChainTemplate) ([
}

type DependencyConditionCap struct {
Upperbound string `json:"upperbound,omitempty"`
Lowerbound string `json:"lowerbound,omitempty"`
Name string `json:"name"`
Upperbound string `json:"upperbound,omitempty"`
Lowerbound string `json:"lowerbound,omitempty"`
Name string `json:"name"`
Title string `json:"title"`
Description string `json:"desc"`
Patterm string `json:"pattern"`

// NameRegex will be a valid go regex that will be used to
// search the name of a given dependency.
// Examples include kubernetes* or jakarta-.*-2.2.
Expand Down

0 comments on commit 67f31fe

Please sign in to comment.