Library for getting Resource and field Schema from OpenAPI

This commit is contained in:
Phillip Wittrock
2020-01-06 10:33:19 -08:00
parent ed83b2d8fa
commit abeab51cae
7 changed files with 21438 additions and 1 deletions

View File

@@ -216,6 +216,11 @@ func (m MapNodeSlice) Values() []*RNode {
return values
}
type TypeMeta struct {
Kind string
APIVersion string
}
// ResourceMeta contains the metadata for a both Resource Type and Resource.
type ResourceMeta struct {
// APIVersion is the apiVersion field of a Resource