fix: prevent read file from throwing away OpenAPI config

This commit is contained in:
Jimmyscene
2021-11-16 19:28:25 -05:00
parent 2f115223cc
commit f4d8ccda10
2 changed files with 2 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ func determineFieldOrder() []string {
"Transformers",
"Inventory",
"Components",
"OpenAPI",
}
// Add deprecated fields here.

View File

@@ -47,6 +47,7 @@ func TestFieldOrder(t *testing.T) {
"Transformers",
"Inventory",
"Components",
"OpenAPI",
}
actual := determineFieldOrder()
if len(expected) != len(actual) {