Skip to content

Commit

Permalink
Merge pull request #4 from Leo6Leo/add-openschema
Browse files Browse the repository at this point in the history
Adding the openApiV3Schema for blog post 3
  • Loading branch information
Cali0707 committed Mar 6, 2024
2 parents a72c754 + 9b191ef commit 5a1d3dd
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions config/300-samplesource.yaml
Expand Up @@ -37,10 +37,35 @@ spec:
schema:
openAPIV3Schema:
type: object
# this is a work around so we don't need to flesh out the
# schema for each version at this time
#
# see issue: https://github.com/knative/serving/issues/912
properties:
spec:
type: object
properties:
interval:
type: string
messageTemplate:
type: string
serviceAccountName:
type: string
sink:
type: object
properties:
ref:
type: object
properties:
apiVersion:
type: string
kind:
type: string
name:
type: string
status:
type: object
properties:
status:
type: string
sinkUri:
type: string
x-kubernetes-preserve-unknown-fields: true
additionalPrinterColumns:
- name: Ready
Expand Down

0 comments on commit 5a1d3dd

Please sign in to comment.