Skip to content

Commit

Permalink
💄 Adding API description (e.g. for k explain) for IMC and generic Cha…
Browse files Browse the repository at this point in the history
…nnel (#5307)

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew authored Apr 27, 2021
1 parent 18fb3db commit d21b7d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spec:
status: {}
schema:
openAPIV3Schema:
description: 'InMemoryChannel is a resource representing an in memory channel'
type: object
properties:
spec:
Expand Down
1 change: 1 addition & 0 deletions config/core/resources/channel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ spec:
jsonPath: ".status.conditions[?(@.type==\"Ready\")].reason"
schema:
openAPIV3Schema:
description: 'Channel represents a generic Channel. It is normally used when we want a Channel, but don''t need a specific Channel implementation.'
type: object
properties:
spec:
Expand Down

0 comments on commit d21b7d6

Please sign in to comment.