Antoine Pelisse
37aacf30b5
openapi validation: Ignore unknown types
...
This follows the exact same logic as swagger.
2017-08-21 09:08:31 -07:00
Antoine Pelisse
a950afecdc
openapi-validation: Handle List special case
2017-08-21 09:08:31 -07:00
Antoine Pelisse
4e87d2d572
openapi: Handle properly empty/null fileds
2017-08-21 09:08:31 -07:00
Antoine Pelisse
aa1c79f32b
openapi: Use "group" to look for resources
2017-08-21 09:08:31 -07:00
Antoine Pelisse
b7b5457050
Validate against OpenAPI schema (if available)
2017-08-21 08:58:42 -07:00
Antoine Pelisse
ba11c7370f
openapi: Add validation logic
...
This allows validation of a yaml/json object against an openapi schema.
A lot more testing would be needed to validate the logic, and also this
is not plumbed in, so it can't be used by kubectl yet.
2017-08-11 17:02:31 -07:00