File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed 
tools/cli/internal/openapi/filter Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ func TestDefaultFilters(t *testing.T) {
112112	metadata  :=  & Metadata {}
113113	filters  :=  DefaultFilters (doc , metadata )
114114
115- 	assert .Len (t , filters , 7 )
115+ 	assert .Len (t , filters , 8 )
116116}
117117
118118func  TestFiltersWithoutVersioning (t  * testing.T ) {
Original file line number Diff line number Diff line change @@ -27,9 +27,8 @@ type SchemasFilter struct {
2727	oas  * openapi3.T 
2828}
2929
30- func  (f  * SchemasFilter ) ValidateMetadata () error  {
31- 	//TODO implement me 
32- 	panic ("implement me" )
30+ func  (* SchemasFilter ) ValidateMetadata () error  {
31+ 	return  nil 
3332}
3433
3534func  (f  * SchemasFilter ) Apply () error  {
@@ -56,7 +55,7 @@ func (f *SchemasFilter) Apply() error {
5655	return  nil 
5756}
5857
59- // findRefs returns all the ref included in an openapi spec 
58+ // findRefs returns all the ref included in an openapi spec.  
6059func  findRefs (oas  * openapi3.T ) map [string ]bool  {
6160	if  oas  ==  nil  {
6261		return  nil 
@@ -91,7 +90,6 @@ func findRefs(oas *openapi3.T) map[string]bool {
9190				}
9291			}
9392		}
94- 
9593	}
9694
9795	return  refs 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments