// ToStructuralOpenAPIV2 converts our internal OpenAPI v3 structural schema to // to a v2 compatible schema. func ToStructuralOpenAPIV2(in *structuralschema.Structural) *structuralschema.Structural { … } func filterOut(ss []string, x string) ([]string, bool) { … }