-
Notifications
You must be signed in to change notification settings - Fork 231
Add parsing of openapi oneof/union semantic into smd #152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -78578,6 +78578,12 @@ | |
| }, | ||
| "io.k8s.api.apps.v1beta1.DeploymentStrategy": { | ||
| "description": "DeploymentStrategy describes how to replace existing pods with new ones.", | ||
| "x-kubernetes-unions": [{ | ||
| "discriminator": "type", | ||
| "fields-discriminated": { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does this mean we don't support non-discriminator unions? Would rather call it
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as the type is different, we would in fact need
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I'll probably do that ... if |
||
| "rollingUpdate": "RollingUpdate" | ||
| } | ||
| }], | ||
| "properties": { | ||
| "rollingUpdate": { | ||
| "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.", | ||
|
|
@@ -87522,6 +87528,37 @@ | |
| }, | ||
| "io.k8s.api.core.v1.Volume": { | ||
| "description": "Volume represents a named volume in a pod that may be accessed by any container in the pod.", | ||
| "x-kubernetes-unions": [{ | ||
| "fields-discriminated": { | ||
| "awsElasticBlockStore": "AWSElasticBlockStore", | ||
| "azureDisk": "AzureDisk", | ||
| "azureFile": "AzureFile", | ||
| "cephfs": "CephFS", | ||
| "cinder": "Cinder", | ||
| "configMap": "ConfigMap", | ||
| "downwardAPI": "DownwardAPI", | ||
| "emptyDir": "EmptyDir", | ||
| "fc": "FC", | ||
| "flexVolume": "FlexVolume", | ||
| "flocker": "Flocker", | ||
| "gcePersistentDisk": "GCEPersistentDisk", | ||
| "gitRepo": "GitRepo", | ||
| "glusterfs": "Glusterfs", | ||
| "hostPath": "HostPath", | ||
| "iscsi": "ISCSI", | ||
| "nfs": "NFS", | ||
| "persistentVolumeClaim": "PersistentVolumeClaim", | ||
| "photonPersistentDisk": "PhotonPersistentDisk", | ||
| "portworxVolume": "PortworxVolume", | ||
| "projected": "Projected", | ||
| "quobyte": "Quobyte", | ||
| "rbd": "RBD", | ||
| "scaleIO": "ScaleIO", | ||
| "secret": "Secret", | ||
| "storageos": "StorageOS", | ||
| "vsphereVolume": "VsphereVolume" | ||
| } | ||
| }], | ||
| "required": [ | ||
| "name" | ||
| ], | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.