openapi parsing performance improvement with protobuffer (#4568)

* update necessary dependencies

* update openapi test structure

* remove old swagger files and generate new ones

* use protobuffer to parse openapi for performance improvement
This commit is contained in:
Natasha Sarkar
2022-04-18 11:10:43 -07:00
committed by GitHub
parent 9452a031ba
commit cf89eae804
51 changed files with 40422 additions and 145215 deletions

View File

@@ -1551,7 +1551,7 @@ func TestValidateAgainstSchema(t *testing.T) {
},
},
shouldValidate: false,
expectedErrorMsg: "foo in body must be of type integer",
expectedErrorMsg: "foo[2] in body must be of type integer",
},
{
name: "all values should satisfy type string",