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
Antoine Pelisse
eb735bfeb0
openapi: Move Fakes to testing package
2017-08-11 15:28:04 -07:00
Antoine Pelisse
064f806424
openapi: refactor into more generic structure
...
Refactor the openapi schema to be a more generic structure that can be
"visited" to get more specific types.
2017-07-25 11:45:29 -07:00
Chao Xu
239613b521
manually fix kubectl openapi unit test
2017-06-22 11:31:02 -07:00
Phillip Wittrock
83ff8f2d6c
Print a newline after ginkgo tests so the test infra doesn't think that they fail
...
Fixes #45279
2017-05-04 16:20:53 -07:00
Phillip Wittrock
212c2a3a72
kubectl OpenAPI support
2017-04-25 10:45:49 -07:00