kedgeproject / json-schema-generator

Apache License 2.0
3 stars 3 forks source link

Validate mappings targets #24

Open concaf opened 6 years ago

concaf commented 6 years ago

23 was caused because we never knew if the ObjectMeta that we referenced existed in the Kubernetes Open API definitions.We need to add a check before/after the final mappings are generated to see if the target actually exists in the Kubernetes or OpenShift Open API definitions.

CC: @surajssd

surajssd commented 6 years ago

if it does not exist we fail so that we know we are not using outdated refs in types.go