Skip to content

Commit

Permalink
feat(api): add annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
paralta committed Sep 28, 2023
1 parent 8721e23 commit 338368f
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 112 deletions.
12 changes: 12 additions & 0 deletions api/models/models.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,21 @@ components:
readOnly: true
description: An object that is returned in cases of success that returns nothing.

Annotations:
type: object
description: Generic map of string keys and string values to attach arbitrary non-identifying metadata to objects.
properties:
key:
type: string
value:
type: string

Metadata:
type: object
properties:
annotations:
$ref: '#/components/schemas/Annotations'

CloudProvider:
type: string
enum:
Expand Down
Loading

0 comments on commit 338368f

Please sign in to comment.