add openapi/path field to use custom openapi schema document

This commit is contained in:
Natasha Sarkar
2021-02-17 18:08:27 -08:00
parent 99e82890e1
commit 7dd0ade0f9
6 changed files with 92996 additions and 19 deletions

View File

@@ -285,12 +285,13 @@ spec:
`)
}
const runPath = "/app/prod"
func TestOpenAPIFieldFromComponent(t *testing.T) {
input := []FileGen{
writeTestBase,
writeTestComponentWithOlderOpenAPIVersion,
writeOverlayProd}
runPath := "/app/prod"
th := kusttest_test.MakeHarness(t)
for _, f := range input {