Type alias for spec.Schema

This commit is contained in:
monopole
2021-03-16 16:18:10 -07:00
parent 1301384670
commit 1f837fdfec

View File

@@ -25,7 +25,7 @@ type OpenAPIDefinition struct {
Dependencies []string Dependencies []string
} }
type myProperties map[string]spec.Schema type myProperties = map[string]spec.Schema
type nameToApiMap map[string]OpenAPIDefinition type nameToApiMap map[string]OpenAPIDefinition
// LoadConfigFromCRDs parse CRD schemas from paths into a TransformerConfig // LoadConfigFromCRDs parse CRD schemas from paths into a TransformerConfig